You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
1.3 KiB
44 lines
1.3 KiB
#ifndef ANDROID_HARDWARE_TESTS_INHERITANCE_V1_0_CHILD_H |
|
#define ANDROID_HARDWARE_TESTS_INHERITANCE_V1_0_CHILD_H |
|
|
|
#include <android/hardware/tests/inheritance/1.0/IChild.h> |
|
#include <hidl/Status.h> |
|
|
|
#include <hidl/MQDescriptor.h> |
|
namespace android { |
|
namespace hardware { |
|
namespace tests { |
|
namespace inheritance { |
|
namespace V1_0 { |
|
namespace implementation { |
|
|
|
using ::android::hardware::tests::inheritance::V1_0::IParent; |
|
using ::android::hardware::tests::inheritance::V1_0::IChild; |
|
using ::android::hardware::Return; |
|
using ::android::hardware::Void; |
|
using ::android::hardware::hidl_vec; |
|
using ::android::hardware::hidl_string; |
|
using ::android::sp; |
|
|
|
struct Child : public IChild { |
|
// Methods from ::android::hardware::tests::inheritance::V1_0::IGrandparent follow. |
|
Return<void> doGrandparent() override; |
|
|
|
// Methods from ::android::hardware::tests::inheritance::V1_0::IParent follow. |
|
Return<void> doParent() override; |
|
|
|
// Methods from ::android::hardware::tests::inheritance::V1_0::IChild follow. |
|
Return<void> doChild() override; |
|
|
|
}; |
|
|
|
extern "C" IChild* HIDL_FETCH_IChild(const char* name); |
|
|
|
} // namespace implementation |
|
} // namespace V1_0 |
|
} // namespace inheritance |
|
} // namespace tests |
|
} // namespace hardware |
|
} // namespace android |
|
|
|
#endif // ANDROID_HARDWARE_TESTS_INHERITANCE_V1_0_CHILD_H
|
|
|