Files
hardware_interfaces/tests/inheritance/1.0/default/Parent.cpp
Yifan Hong 0c4c7a30c2 Update to use the correct library for logging.
Generates: b/33193497
Test: mma
Change-Id: Ib8bfc4d2f1d68947099e4756f661ed06689ffd62
2016-11-29 13:10:15 -08:00

36 lines
809 B
C++

#define LOG_TAG "hidl_test"
#include <android/log.h>
#include "Parent.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> Parent::doGrandparent() {
ALOGI("SERVER(Bar) Parent::doGrandparent");
return Void();
}
// Methods from ::android::hardware::tests::inheritance::V1_0::IParent follow.
Return<void> Parent::doParent() {
ALOGI("SERVER(Bar) Parent::doParent");
return Void();
}
IParent* HIDL_FETCH_IParent(const char* /* name */) {
return new Parent();
}
} // namespace implementation
} // namespace V1_0
} // namespace inheritance
} // namespace tests
} // namespace hardware
} // namespace android