platform_hardware_interfaces/gatekeeper/1.0/default/service.cpp
Alexey Polyudov 586a32fa67 gatekeeper HIDL HAL definition
Change-Id: I8224ba28abec42cfaea26b147acbcd1a27e09a9b
Signed-off-by: Alexey Polyudov <apolyudov@google.com>
2016-11-22 14:50:13 -08:00

13 lines
391 B
C++

#define LOG_TAG "android.hardware.gatekeeper@1.0-service"
#include <android/hardware/gatekeeper/1.0/IGatekeeper.h>
#include <hidl/LegacySupport.h>
// Generated HIDL files
using android::hardware::gatekeeper::V1_0::IGatekeeper;
using android::hardware::defaultPassthroughServiceImplementation;
int main() {
return defaultPassthroughServiceImplementation<IGatekeeper>("gatekeeper");
}