summaryrefslogtreecommitdiff
path: root/tests/libhwbinder/1.0/default/Benchmark.h
blob: 74b374556e1c0bbb130fd6843e0aeff418d86bf7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#ifndef ANDROID_HARDWARE_BENCHMARK_V1_0_BENCHMARK_H
#define ANDROID_HARDWARE_BENCHMARK_V1_0_BENCHMARK_H

#include <android/hardware/tests/libhwbinder/1.0/IBenchmark.h>
#include <hidl/Status.h>

namespace android {
namespace hardware {
namespace tests {
namespace libhwbinder {
namespace V1_0 {
namespace implementation {

using ::android::hardware::tests::libhwbinder::V1_0::IBenchmark;
using ::android::hardware::Return;
using ::android::hardware::hidl_vec;

struct Benchmark : public IBenchmark {
  virtual Return<void> sendVec(const hidl_vec<uint8_t>& data, sendVec_cb _hidl_cb)  override;
};

extern "C" IBenchmark* HIDL_FETCH_IBenchmark(const char* name);

}  // namespace implementation
}  // namespace V1_0
}  // namespace libhwbinder
}  // namespace tests
}  // namespace hardware
}  // namespace android

#endif  // ANDROID_HARDWARE_BENCHMARK_V1_0_BENCHMARK_H