Yifan Hong | 80471b0 | 2017-03-29 15:46:12 -0700 | [diff] [blame^] | 1 | #ifndef ANDROID_HARDWARE_TESTS_HASH_V1_0_HASH_H |
| 2 | #define ANDROID_HARDWARE_TESTS_HASH_V1_0_HASH_H |
| 3 | |
| 4 | #include <android/hardware/tests/hash/1.0/IHash.h> |
| 5 | #include <hidl/MQDescriptor.h> |
| 6 | #include <hidl/Status.h> |
| 7 | |
| 8 | namespace android { |
| 9 | namespace hardware { |
| 10 | namespace tests { |
| 11 | namespace hash { |
| 12 | namespace V1_0 { |
| 13 | namespace implementation { |
| 14 | |
| 15 | using ::android::hardware::tests::hash::V1_0::IHash; |
| 16 | using ::android::hidl::base::V1_0::DebugInfo; |
| 17 | using ::android::hidl::base::V1_0::IBase; |
| 18 | using ::android::hardware::hidl_array; |
| 19 | using ::android::hardware::hidl_memory; |
| 20 | using ::android::hardware::hidl_string; |
| 21 | using ::android::hardware::hidl_vec; |
| 22 | using ::android::hardware::Return; |
| 23 | using ::android::hardware::Void; |
| 24 | using ::android::sp; |
| 25 | |
| 26 | struct Hash : public IHash { |
| 27 | // Methods from ::android::hardware::tests::hash::V1_0::IHash follow. |
| 28 | Return<void> dummy() override; |
| 29 | Return<void> functions() override; |
| 30 | |
| 31 | // Methods from ::android::hidl::base::V1_0::IBase follow. |
| 32 | }; |
| 33 | |
| 34 | extern "C" IHash* HIDL_FETCH_IHash(const char* name); |
| 35 | |
| 36 | } // namespace implementation |
| 37 | } // namespace V1_0 |
| 38 | } // namespace hash |
| 39 | } // namespace tests |
| 40 | } // namespace hardware |
| 41 | } // namespace android |
| 42 | |
| 43 | #endif // ANDROID_HARDWARE_TESTS_HASH_V1_0_HASH_H |