1 #ifndef ANDROID_HARDWARE_BENCHMARK_V1_0_BENCHMARK_H 2 #define ANDROID_HARDWARE_BENCHMARK_V1_0_BENCHMARK_H 3 4 #include <android/hardware/tests/libhwbinder/1.0/IBenchmark.h> 5 #include <hidl/Status.h> 6 7 namespace android { 8 namespace hardware { 9 namespace tests { 10 namespace libhwbinder { 11 namespace V1_0 { 12 namespace implementation { 13 14 using ::android::hardware::tests::libhwbinder::V1_0::IBenchmark; 15 using ::android::hardware::Return; 16 using ::android::hardware::hidl_vec; 17 18 struct Benchmark : public IBenchmark { 19 virtual Return<void> sendVec(const hidl_vec<uint8_t>& data, sendVec_cb _hidl_cb) override; 20 }; 21 22 extern "C" IBenchmark* HIDL_FETCH_IBenchmark(const char* name); 23 24 } // namespace implementation 25 } // namespace V1_0 26 } // namespace libhwbinder 27 } // namespace tests 28 } // namespace hardware 29 } // namespace android 30 31 #endif // ANDROID_HARDWARE_BENCHMARK_V1_0_BENCHMARK_H 32