19f8b5c7b1649c989c21fbb88781c36ed95e4d358Steven Moreland/*
29f8b5c7b1649c989c21fbb88781c36ed95e4d358Steven Moreland * Copyright (C) 2016 The Android Open Source Project
39f8b5c7b1649c989c21fbb88781c36ed95e4d358Steven Moreland *
49f8b5c7b1649c989c21fbb88781c36ed95e4d358Steven Moreland * Licensed under the Apache License, Version 2.0 (the "License");
59f8b5c7b1649c989c21fbb88781c36ed95e4d358Steven Moreland * you may not use this file except in compliance with the License.
69f8b5c7b1649c989c21fbb88781c36ed95e4d358Steven Moreland * You may obtain a copy of the License at
79f8b5c7b1649c989c21fbb88781c36ed95e4d358Steven Moreland *
89f8b5c7b1649c989c21fbb88781c36ed95e4d358Steven Moreland *      http://www.apache.org/licenses/LICENSE-2.0
99f8b5c7b1649c989c21fbb88781c36ed95e4d358Steven Moreland *
109f8b5c7b1649c989c21fbb88781c36ed95e4d358Steven Moreland * Unless required by applicable law or agreed to in writing, software
119f8b5c7b1649c989c21fbb88781c36ed95e4d358Steven Moreland * distributed under the License is distributed on an "AS IS" BASIS,
129f8b5c7b1649c989c21fbb88781c36ed95e4d358Steven Moreland * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
139f8b5c7b1649c989c21fbb88781c36ed95e4d358Steven Moreland * See the License for the specific language governing permissions and
149f8b5c7b1649c989c21fbb88781c36ed95e4d358Steven Moreland * limitations under the License.
159f8b5c7b1649c989c21fbb88781c36ed95e4d358Steven Moreland */
16cd0d29d4afd1910b584fb374265548adaf3f46efConnor O'Brien#define LOG_TAG "android.hardware.boot@1.0-service"
17cd0d29d4afd1910b584fb374265548adaf3f46efConnor O'Brien
18cd0d29d4afd1910b584fb374265548adaf3f46efConnor O'Brien#include <android/hardware/boot/1.0/IBootControl.h>
195ac42e7a88f71a999166d523d1e5b7a05c524909Steven Moreland#include <hidl/LegacySupport.h>
20cd0d29d4afd1910b584fb374265548adaf3f46efConnor O'Brien
21cd0d29d4afd1910b584fb374265548adaf3f46efConnor O'Brienusing ::android::hardware::boot::V1_0::IBootControl;
225ac42e7a88f71a999166d523d1e5b7a05c524909Steven Morelandusing android::hardware::defaultPassthroughServiceImplementation;
23cd0d29d4afd1910b584fb374265548adaf3f46efConnor O'Brien
24cd0d29d4afd1910b584fb374265548adaf3f46efConnor O'Brienint main (int /* argc */, char * /* argv */ []) {
25a79b3b6d9550bbca45340e221b4e342fbfe6c973Chris Phoenix    return defaultPassthroughServiceImplementation<IBootControl>();
26cd0d29d4afd1910b584fb374265548adaf3f46efConnor O'Brien}
27