/* * Copyright (c) Hisilicon Technologies Co., Ltd. 2012-2020. All rights reserved. * Description: * Author: * create: */ #define LOG_TAG "vendor.huanglong.hardware.hwtvmw@1.0-service" #include #include #include #include #include #include using vendor::huanglong::hardware::hwtvmw::V1_0::IHwtvmw; using android::hardware::defaultPassthroughServiceImplementation; int main() { android::ProcessState::initWithDriver("/dev/vndbinder"); android::ProcessState::self()->setThreadPoolMaxThreadCount(4); // Thread pool size 4 android::ProcessState::self()->startThreadPool(); return defaultPassthroughServiceImplementation(4); // start 4 composer Hal }