1 #define LOG_TAG "hidl_test" 2 #include <android-base/logging.h> 3 4 #include "Grandparent.h" 5 6 namespace android { 7 namespace hardware { 8 namespace tests { 9 namespace inheritance { 10 namespace V1_0 { 11 namespace implementation { 12 13 // Methods from ::android::hardware::tests::inheritance::V1_0::IGrandparent follow. 14 Return<void> Grandparent::doGrandparent() { 15 ALOGI("SERVER(Bar) Grandparent::doGrandparent"); 16 return Void(); 17 } 18 19 20 IGrandparent* HIDL_FETCH_IGrandparent(const char* /* name */) { 21 return new Grandparent(); 22 } 23 24 } // namespace implementation 25 } // namespace V1_0 26 } // namespace inheritance 27 } // namespace tests 28 } // namespace hardware 29 } // namespace android 30