1 #ifndef ANDROID_HARDWARE_TESTS_INHERITANCE_V1_0_CHILD_H
2 #define ANDROID_HARDWARE_TESTS_INHERITANCE_V1_0_CHILD_H
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 
44 #endif  // ANDROID_HARDWARE_TESTS_INHERITANCE_V1_0_CHILD_H
45