diff options
author | Steven Laver <lavers@google.com> | 2019-10-24 16:40:00 -0700 |
---|---|---|
committer | Daniel Norman <danielnorman@google.com> | 2019-10-25 13:27:06 -0700 |
commit | 76b1977dca6b72018663a9cd476f7c3d0604db31 (patch) | |
tree | 788b2782ca42def0e34f44897369979e3089a322 /boot/1.1/default/service.cpp | |
parent | 4db99f68ffc39b3e821b76fe66642e066149b645 (diff) | |
parent | 6acc7b439ee8813198ddaecb86757c2da5d6c872 (diff) |
Merge RP1A.191024.001
Change-Id: I22b7b600104c6d7fd4d448dd2efdeb20f95ca28b
Diffstat (limited to 'boot/1.1/default/service.cpp')
-rw-r--r-- | boot/1.1/default/service.cpp | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/boot/1.1/default/service.cpp b/boot/1.1/default/service.cpp new file mode 100644 index 0000000000..93eaedab8d --- /dev/null +++ b/boot/1.1/default/service.cpp @@ -0,0 +1,26 @@ +/* + * Copyright (C) 2019 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +#define LOG_TAG "android.hardware.boot@1.1-service" + +#include <android/hardware/boot/1.0/IBootControl.h> +#include <hidl/LegacySupport.h> + +using android::hardware::defaultPassthroughServiceImplementation; +using ::android::hardware::boot::V1_0::IBootControl; + +int main(int /* argc */, char* /* argv */[]) { + return defaultPassthroughServiceImplementation<IBootControl>(); +} |