blob: a6fd9113ca1472b352c622c2abfdbf8ffda886a9 [file] [log] [blame]
Yifan Hongcc6ad7d2016-10-18 18:44:17 -07001#define LOG_TAG "hidl_test"
Yifan Hong0c4c7a32016-11-28 15:59:24 -08002#include <android/log.h>
Yifan Hongcc6ad7d2016-10-18 18:44:17 -07003
4#include "Parent.h"
5
6namespace android {
7namespace hardware {
8namespace tests {
9namespace inheritance {
10namespace V1_0 {
11namespace implementation {
12
13// Methods from ::android::hardware::tests::inheritance::V1_0::IGrandparent follow.
14Return<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.
20Return<void> Parent::doParent() {
21 ALOGI("SERVER(Bar) Parent::doParent");
22 return Void();
23}
24
25
26IParent* 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