service.cpp revision 2e3821a2d05cf84cb0f4505d60e1aa403c736282
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 */ 16586a32fa67a078eddf552c8f50c3ec0d0ecc012aAlexey Polyudov#define LOG_TAG "android.hardware.gatekeeper@1.0-service" 17586a32fa67a078eddf552c8f50c3ec0d0ecc012aAlexey Polyudov 18586a32fa67a078eddf552c8f50c3ec0d0ecc012aAlexey Polyudov#include <android/hardware/gatekeeper/1.0/IGatekeeper.h> 19586a32fa67a078eddf552c8f50c3ec0d0ecc012aAlexey Polyudov 20586a32fa67a078eddf552c8f50c3ec0d0ecc012aAlexey Polyudov#include <hidl/LegacySupport.h> 21586a32fa67a078eddf552c8f50c3ec0d0ecc012aAlexey Polyudov 22586a32fa67a078eddf552c8f50c3ec0d0ecc012aAlexey Polyudov// Generated HIDL files 23586a32fa67a078eddf552c8f50c3ec0d0ecc012aAlexey Polyudovusing android::hardware::gatekeeper::V1_0::IGatekeeper; 24586a32fa67a078eddf552c8f50c3ec0d0ecc012aAlexey Polyudovusing android::hardware::defaultPassthroughServiceImplementation; 25586a32fa67a078eddf552c8f50c3ec0d0ecc012aAlexey Polyudov 26586a32fa67a078eddf552c8f50c3ec0d0ecc012aAlexey Polyudovint main() { 272e3821a2d05cf84cb0f4505d60e1aa403c736282Chris Phoenix return defaultPassthroughServiceImplementation<IGatekeeper>(); 28586a32fa67a078eddf552c8f50c3ec0d0ecc012aAlexey Polyudov} 29