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.
21 lines
607 B
21 lines
607 B
7 months ago
|
/*
|
||
|
* Copyright (c) Hisilicon Technologies Co., Ltd. 2019-2020. All rights reserved.
|
||
|
* Description: main function of libteec@3.0 service
|
||
|
* Author: NameMagic
|
||
|
* Create: 2019-12-6
|
||
|
*/
|
||
|
|
||
|
#define LOG_TAG "vendor.huanglong.hardware.libteec@3.0-service"
|
||
|
|
||
|
#include <vendor/huanglong/hardware/libteec/3.0/ILibteecGlobal.h>
|
||
|
#include <hidl/LegacySupport.h>
|
||
|
|
||
|
using vendor::huanglong::hardware::libteec::V3_0::ILibteecGlobal;
|
||
|
using android::hardware::defaultPassthroughServiceImplementation;
|
||
|
|
||
|
int main()
|
||
|
{
|
||
|
const int THREAD_NUM = 8;
|
||
|
return defaultPassthroughServiceImplementation<ILibteecGlobal>(THREAD_NUM);
|
||
|
}
|