/* * Copyright (c) 2019 Amlogic, Inc. All rights reserved. * * This source code is subject to the terms and conditions defined in the * file 'LICENSE' which is part of this source code package. * * Description: */ #include #include #include #include #include #include #include "PqService.h" int main(int argc, char **argv) { PqService *mpPqService = PqService::GetInstance(); sp proc(ProcessState::self()); sp serviceManager = defaultServiceManager(); serviceManager->addService(String16("pqservice"), mpPqService); proc->startThreadPool(); mpPqService->PqServiceHandleMessage(); }