blob: b83cbf82fac5dd5fa88b01e7f0f653a0dcdf1cca [file] [log] [blame]
Polina Bondarenko254e2fe2016-10-11 16:39:23 +02001/*
2 * Copyright (C) 2016 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
Steven Moreland22566b82016-10-20 17:42:01 -070017#define LOG_TAG "android.hardware.thermal@1.0-service"
Polina Bondarenko254e2fe2016-10-11 16:39:23 +020018
19#include <android/hardware/thermal/1.0/IThermal.h>
Steven Moreland22566b82016-10-20 17:42:01 -070020#include <hidl/LegacySupport.h>
Polina Bondarenko254e2fe2016-10-11 16:39:23 +020021
Polina Bondarenko254e2fe2016-10-11 16:39:23 +020022using android::hardware::thermal::V1_0::IThermal;
Steven Moreland22566b82016-10-20 17:42:01 -070023using android::hardware::defaultPassthroughServiceImplementation;
Polina Bondarenko254e2fe2016-10-11 16:39:23 +020024
25int main() {
Chris Phoenix5d1dc852017-01-20 14:49:46 -080026 return defaultPassthroughServiceImplementation<IThermal>();
Polina Bondarenko254e2fe2016-10-11 16:39:23 +020027}