You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
684 B
24 lines
684 B
/*
|
|
* Copyright (c) Hisilicon Technologies Co., Ltd. 2022-2022. All rights reserved.
|
|
* Description: Keymaster Framework Entry Function
|
|
* Author: Hisilicon
|
|
* Create: 2022-07-27
|
|
*/
|
|
|
|
#define LOG_TAG "android.hardware.keymaster@3.0-service"
|
|
|
|
#include <android/hardware/keymaster/3.0/IKeymasterDevice.h>
|
|
|
|
#include <hidl/HidlTransportSupport.h>
|
|
#include <hidl/LegacySupport.h>
|
|
|
|
using android::hardware::configureRpcThreadpool;
|
|
using android::hardware::joinRpcThreadpool;
|
|
|
|
using android::hardware::keymaster::V3_0::IKeymasterDevice;
|
|
using android::hardware::defaultPassthroughServiceImplementation;
|
|
|
|
int main() {
|
|
return defaultPassthroughServiceImplementation<IKeymasterDevice>();
|
|
}
|