1 #ifndef ANDROID_HARDWARE_TESTS_INHERITANCE_V1_0_GRANDPARENT_H 2 #define ANDROID_HARDWARE_TESTS_INHERITANCE_V1_0_GRANDPARENT_H 3 4 #include <android/hardware/tests/inheritance/1.0/IGrandparent.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::IGrandparent; 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 Grandparent : public IGrandparent { 23 // Methods from ::android::hardware::tests::inheritance::V1_0::IGrandparent follow. 24 Return<void> doGrandparent() override; 25 26 }; 27 28 extern "C" IGrandparent* HIDL_FETCH_IGrandparent(const char* name); 29 30 } // namespace implementation 31 } // namespace V1_0 32 } // namespace inheritance 33 } // namespace tests 34 } // namespace hardware 35 } // namespace android 36 37 #endif // ANDROID_HARDWARE_TESTS_INHERITANCE_V1_0_GRANDPARENT_H 38