Files
hardware_interfaces/boot/1.0/default/service.cpp
Steven Moreland 5ac42e7a88 boot: use defaultPassthroughServiceImplementation
Bug: 32282345
Test: make
Change-Id: Ifb479c665aa4e37881c86152d43f4f1f88983133
2016-10-21 12:40:38 -07:00

12 lines
388 B
C++

#define LOG_TAG "android.hardware.boot@1.0-service"
#include <android/hardware/boot/1.0/IBootControl.h>
#include <hidl/LegacySupport.h>
using ::android::hardware::boot::V1_0::IBootControl;
using android::hardware::defaultPassthroughServiceImplementation;
int main (int /* argc */, char * /* argv */ []) {
return defaultPassthroughServiceImplementation<IBootControl>("bootctrl");
}