summaryrefslogtreecommitdiff
path: root/tests/inheritance/1.0/default/Grandparent.cpp
blob: c53dc872010de192e242192f53b1e277efc608c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#define LOG_TAG "hidl_test"
#include <android-base/logging.h>

#include "Grandparent.h"

namespace android {
namespace hardware {
namespace tests {
namespace inheritance {
namespace V1_0 {
namespace implementation {

// Methods from ::android::hardware::tests::inheritance::V1_0::IGrandparent follow.
Return<void> Grandparent::doGrandparent()  {
    ALOGI("SERVER(Bar) Grandparent::doGrandparent");
    return Void();
}


IGrandparent* HIDL_FETCH_IGrandparent(const char* /* name */) {
    return new Grandparent();
}

} // namespace implementation
}  // namespace V1_0
}  // namespace inheritance
}  // namespace tests
}  // namespace hardware
}  // namespace android