Yifan Hong | cc6ad7d | 2016-10-18 18:44:17 -0700 | [diff] [blame] | 1 | #define LOG_TAG "hidl_test" |
Yifan Hong | 0c4c7a3 | 2016-11-28 15:59:24 -0800 | [diff] [blame] | 2 | #include <android/log.h> |
Yifan Hong | cc6ad7d | 2016-10-18 18:44:17 -0700 | [diff] [blame] | 3 | |
| 4 | #include "Parent.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> Parent::doGrandparent() { |
| 15 | ALOGI("SERVER(Bar) Parent::doGrandparent"); |
| 16 | return Void(); |
| 17 | } |
| 18 | |
| 19 | // Methods from ::android::hardware::tests::inheritance::V1_0::IParent follow. |
| 20 | Return<void> Parent::doParent() { |
| 21 | ALOGI("SERVER(Bar) Parent::doParent"); |
| 22 | return Void(); |
| 23 | } |
| 24 | |
| 25 | |
| 26 | IParent* HIDL_FETCH_IParent(const char* /* name */) { |
| 27 | return new Parent(); |
| 28 | } |
| 29 | |
| 30 | } // namespace implementation |
| 31 | } // namespace V1_0 |
| 32 | } // namespace inheritance |
| 33 | } // namespace tests |
| 34 | } // namespace hardware |
| 35 | } // namespace android |