Steven Moreland | 33e87b8 | 2016-11-22 15:34:39 -0800 | [diff] [blame] | 1 | #ifndef ANDROID_HARDWARE_TESTS_INHERITANCE_V1_0_CHILD_H |
| 2 | #define ANDROID_HARDWARE_TESTS_INHERITANCE_V1_0_CHILD_H |
Yifan Hong | cc6ad7d | 2016-10-18 18:44:17 -0700 | [diff] [blame] | 3 | |
| 4 | #include <android/hardware/tests/inheritance/1.0/IChild.h> |
| 5 | #include <hidl/Status.h> |
| 6 | |
| 7 | #include <hidl/MQDescriptor.h> |
| 8 | namespace android { |
| 9 | namespace hardware { |
| 10 | namespace tests { |
| 11 | namespace inheritance { |
| 12 | namespace V1_0 { |
| 13 | namespace implementation { |
| 14 | |
| 15 | using ::android::hardware::tests::inheritance::V1_0::IParent; |
| 16 | using ::android::hardware::tests::inheritance::V1_0::IChild; |
| 17 | using ::android::hardware::Return; |
| 18 | using ::android::hardware::Void; |
| 19 | using ::android::hardware::hidl_vec; |
| 20 | using ::android::hardware::hidl_string; |
| 21 | using ::android::sp; |
| 22 | |
| 23 | struct Child : public IChild { |
| 24 | // Methods from ::android::hardware::tests::inheritance::V1_0::IGrandparent follow. |
| 25 | Return<void> doGrandparent() override; |
| 26 | |
| 27 | // Methods from ::android::hardware::tests::inheritance::V1_0::IParent follow. |
| 28 | Return<void> doParent() override; |
| 29 | |
| 30 | // Methods from ::android::hardware::tests::inheritance::V1_0::IChild follow. |
| 31 | Return<void> doChild() override; |
| 32 | |
| 33 | }; |
| 34 | |
| 35 | extern "C" IChild* HIDL_FETCH_IChild(const char* name); |
| 36 | |
| 37 | } // namespace implementation |
| 38 | } // namespace V1_0 |
| 39 | } // namespace inheritance |
| 40 | } // namespace tests |
| 41 | } // namespace hardware |
| 42 | } // namespace android |
| 43 | |
Steven Moreland | 33e87b8 | 2016-11-22 15:34:39 -0800 | [diff] [blame] | 44 | #endif // ANDROID_HARDWARE_TESTS_INHERITANCE_V1_0_CHILD_H |