Connor O'Brien | cd0d29d | 2016-10-10 14:41:35 -0700 | [diff] [blame] | 1 | #define LOG_TAG "android.hardware.boot@1.0-service" |
Connor O'Brien | cd0d29d | 2016-10-10 14:41:35 -0700 | [diff] [blame] | 2 | |
| 3 | #include <android/hardware/boot/1.0/IBootControl.h> |
Steven Moreland | 5ac42e7 | 2016-10-21 12:40:38 -0700 | [diff] [blame] | 4 | #include <hidl/LegacySupport.h> |
Connor O'Brien | cd0d29d | 2016-10-10 14:41:35 -0700 | [diff] [blame] | 5 | |
| 6 | using ::android::hardware::boot::V1_0::IBootControl; |
Steven Moreland | 5ac42e7 | 2016-10-21 12:40:38 -0700 | [diff] [blame] | 7 | using android::hardware::defaultPassthroughServiceImplementation; |
Connor O'Brien | cd0d29d | 2016-10-10 14:41:35 -0700 | [diff] [blame] | 8 | |
| 9 | int main (int /* argc */, char * /* argv */ []) { |
Steven Moreland | 5ac42e7 | 2016-10-21 12:40:38 -0700 | [diff] [blame] | 10 | return defaultPassthroughServiceImplementation<IBootControl>("bootctrl"); |
Connor O'Brien | cd0d29d | 2016-10-10 14:41:35 -0700 | [diff] [blame] | 11 | } |