1 #ifndef ANDROID_HARDWARE_TESTS_INHERITANCE_V1_0_PARENT_H 2 #define ANDROID_HARDWARE_TESTS_INHERITANCE_V1_0_PARENT_H 3 4 #include <android/hardware/tests/inheritance/1.0/IParent.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::Return; 17 using ::android::hardware::Void; 18 using ::android::hardware::hidl_vec; 19 using ::android::hardware::hidl_string; 20 using ::android::sp; 21 22 struct Parent : public IParent { 23 // Methods from ::android::hardware::tests::inheritance::V1_0::IGrandparent follow. 24 Return<void> doGrandparent() override; 25 26 // Methods from ::android::hardware::tests::inheritance::V1_0::IParent follow. 27 Return<void> doParent() override; 28 29 }; 30 31 extern "C" IParent* HIDL_FETCH_IParent(const char* name); 32 33 } // namespace implementation 34 } // namespace V1_0 35 } // namespace inheritance 36 } // namespace tests 37 } // namespace hardware 38 } // namespace android 39 40 #endif // ANDROID_HARDWARE_TESTS_INHERITANCE_V1_0_PARENT_H 41