/test/xts/tools/lite/hctest/src/ |
D | hctest_service.c | 30 static const char *GetName(Service *service); 31 static BOOL Initialize(Service *service, Identity identity); 32 static BOOL MessageHandle(Service *service, Request *request); 33 static TaskConfig GetTaskConfig(Service *service); 45 static const char *GetName(Service *service) in GetName() argument 47 (void)service; in GetName() 51 static BOOL Initialize(Service *service, Identity identity) in Initialize() argument 53 TestService *testService = (TestService *)service; in Initialize() 68 static BOOL MessageHandle(Service *service, Request *request) in MessageHandle() argument 70 TestService *testService = (TestService *)service; in MessageHandle() [all …]
|
/test/xts/device_attest_lite/framework/small/src/service/ |
D | attest_framework_server.c | 31 static const char *GetName(Service *service) in GetName() argument 33 (void)service; in GetName() 37 static BOOL Initialize(Service *service, Identity identity) in Initialize() argument 39 AttestFrameworkService *attestService = (AttestFrameworkService *)service; in Initialize() 44 static BOOL MessageHandle(Service *service, Request *msg) in MessageHandle() argument 46 (void)service; in MessageHandle() 51 static TaskConfig GetTaskConfig(Service *service) in GetTaskConfig() argument 53 (void)service; in GetTaskConfig()
|
/test/xts/hats/hdf/wlan/hdi_service/ |
D | wlan_callback_impl.c | 63 struct WlanCallbackService *service = in WlanCallbackServiceGet() local 65 if (service == NULL) { in WlanCallbackServiceGet() 70 service->interface.ResetDriverResult = WlanCallbackResetDriver; in WlanCallbackServiceGet() 71 service->interface.ScanResult = WlanCallbackScanResult; in WlanCallbackServiceGet() 72 service->interface.WifiNetlinkMessage = WlanCallbackNetlinkMessage; in WlanCallbackServiceGet() 73 return &service->interface; in WlanCallbackServiceGet() 78 struct WlanCallbackService *service = (struct WlanCallbackService *)instance; in WlanCallbackServiceRelease() local 79 if (service == NULL) { in WlanCallbackServiceRelease() 83 OsalMemFree(service); in WlanCallbackServiceRelease()
|
/test/testfwk/arkxtest/jsunit/src/ |
D | event.js | 23 subscribeEvent(service) { argument 24 this.eventMonitors.push(service); 47 subscribeEvent(service) { argument 48 this.eventMonitors.push(service); 71 subscribeEvent(service) { argument 72 this.eventMonitors.push(service);
|
D | core.js | 49 addService(name, service) { argument 56 serviceObj[service.id] = service; 130 const service = serviceObj[serviceID]; 131 service.init(context); 133 if (typeof service.apis !== 'function') { 136 const apis = service.apis();
|
/test/xts/hats/hdf/camera/hdi/cameraAttr/src/ |
D | hdi_host_test.cpp | 56 Test_->rc = Test_->service->GetCameraIds(Test_->cameraIds); 73 Test_->rc = Test_->service->GetCameraIds(Test_->cameraIds); 76 Test_->rc = Test_->service->GetCameraAbility(Test_->cameraIds[i], Test_->ability); 94 Test_->rc = Test_->service->GetCameraAbility(cameraId, Test_->ability); 111 Test_->rc = Test_->service->GetCameraAbility(cameraId, Test_->ability); 127 Test_->service->GetCameraIds(Test_->cameraIds); 129 …Test_->rc = Test_->service->OpenCamera(Test_->cameraIds.front(), Test_->deviceCallback, Test_->cam… 151 … Test_->rc = Test_->service->OpenCamera(cameraId, Test_->deviceCallback, Test_->cameraDevice); 168 … Test_->rc = Test_->service->OpenCamera(cameraId, Test_->deviceCallback, Test_->cameraDevice); 185 … Test_->rc = Test_->service->OpenCamera(cameraId, Test_->deviceCallback, Test_->cameraDevice); [all …]
|
/test/xts/acts/distributed_schedule_lite/system_ability_manager_posix/src/ |
D | LiteIPCServiceTest.cpp | 40 static const char *GetName(Service *service) in GetName() argument 42 (void)service; in GetName() 45 static const char *GetName2(Service *service) in GetName2() argument 47 (void)service; in GetName2() 50 static BOOL Initialize(Service *service, Identity identity) in Initialize() argument 52 DemoService *demoService = (DemoService *)service; in Initialize() 59 static BOOL MessageHandle(Service *service, Request *msg) in MessageHandle() argument 62 pthread_self(), service->GetName(service), msg->msgId, msg->msgValue, msg->data); in MessageHandle() 66 static TaskConfig GetTaskConfig(Service *service) in GetTaskConfig() argument 68 (void)service; in GetTaskConfig() [all …]
|
D | IUnknownTest.cpp | 35 static const char *GetName(Service *service) in GetName() argument 37 (void)service; in GetName() 46 static BOOL Initialize(Service *service, Identity identity) in Initialize() argument 48 ExampleService *example = (ExampleService *)service; in Initialize() 53 static BOOL MessageHandle(Service *service, Request *msg) in MessageHandle() argument 55 (void)service; in MessageHandle() 60 static TaskConfig GetTaskConfig(Service *service) in GetTaskConfig() argument 62 (void)service; in GetTaskConfig() 150 Service *service = SAMGR_GetInstance()->UnregisterService(SERVICE_NAME); in TearDown() local 151 if (service == nullptr) { in TearDown()
|
D | TaskpoolNoTaskTest.cpp | 58 static const char *GetName(Service *service) in GetName() argument 60 (void)service; in GetName() 64 static BOOL Initialize(Service *service, Identity identity) in Initialize() argument 66 DemoService *demoService = (DemoService *)service; in Initialize() 71 static BOOL MessageHandle(Service *service, Request *msg) in MessageHandle() argument 73 (void)service; in MessageHandle() 78 static TaskConfig GetTaskConfig(Service *service) in GetTaskConfig() argument 80 (void)service; in GetTaskConfig()
|
D | LiteIPCFeatureTest.cpp | 34 static const char *GetName(Service *service) in GetName() argument 36 (void)service; in GetName() 40 static BOOL Initialize(Service *service, Identity identity) in Initialize() argument 42 DemoService *demoService = (DemoService *)service; in Initialize() 48 static BOOL MessageHandle(Service *service, Request *msg) in MessageHandle() argument 50 (void)service; in MessageHandle() 55 static TaskConfig GetTaskConfig(Service *service) in GetTaskConfig() argument 57 (void)service; in GetTaskConfig() 251 Service *service = SAMGR_GetInstance()->UnregisterService(SERVICE_NAME); variable 252 ASSERT_EQ(service != nullptr, TRUE);
|
D | ServiceTest.cpp | 41 static const char *GetName(Service *service) in GetName() argument 43 (void)service; in GetName() 47 static BOOL Initialize(Service *service, Identity identity) in Initialize() argument 50 ExampleService *example = (ExampleService *)service; in Initialize() 55 static BOOL MessageHandle(Service *service, Request *msg) in MessageHandle() argument 57 (void)service; in MessageHandle() 61 static TaskConfig GetTaskConfig(Service *service) in GetTaskConfig() argument 63 (void)service; in GetTaskConfig()
|
D | TaskpoolSingleTaskTest.cpp | 38 static const char *GetName(Service *service); 39 static BOOL Initialize(Service *service, Identity identity); 40 static BOOL MessageHandle(Service *service, Request *msg); 41 static TaskConfig GetTaskConfig(Service *service); 160 static const char *GetName(Service *service) in GetName() argument 162 if (service == (Service *)&g_service[INDEX0]) { in GetName() 164 } else if (service == (Service *)&g_service[INDEX1]) { in GetName() 166 } else if (service == (Service *)&g_service[INDEX2]) { in GetName() 174 static BOOL Initialize(Service *service, Identity identity) in Initialize() argument 176 DemoService *demoService = (DemoService *)service; in Initialize() [all …]
|
D | DefaultFeatureApiTest.cpp | 34 static const char *GetName(Service *service) in GetName() argument 36 (void)service; in GetName() 40 static BOOL Initialize(Service *service, Identity identity) in Initialize() argument 42 ExampleService *example = (ExampleService *)service; in Initialize() 47 static BOOL MessageHandle(Service *service, Request *msg) in MessageHandle() argument 49 (void)service; in MessageHandle() 54 static TaskConfig GetTaskConfig(Service *service) in GetTaskConfig() argument 56 (void)service; in GetTaskConfig()
|
D | FeatureTest.cpp | 36 static const char *GetName(Service *service) in GetName() argument 38 (void)service; in GetName() 42 static BOOL Initialize(Service *service, Identity identity) in Initialize() argument 44 ExampleService *example = (ExampleService *)service; in Initialize() 49 static BOOL MessageHandle(Service *service, Request *msg) in MessageHandle() argument 52 (void)service; in MessageHandle() 56 static TaskConfig GetTaskConfig(Service *service) in GetTaskConfig() argument 58 (void)service; in GetTaskConfig()
|
D | TaskpoolSpecifiedTaskTest.cpp | 25 static const char *GetName(Service *service); 26 static BOOL Initialize(Service *service, Identity identity); 27 static BOOL MessageHandle(Service *service, Request *msg); 28 static TaskConfig GetTaskConfig(Service *service); 113 static const char *GetName(Service *service) in GetName() argument 115 if (service == (Service *)&g_createService[0]) { in GetName() 122 static BOOL Initialize(Service *service, Identity identity) in Initialize() argument 124 DemoService *demoService = (DemoService *)service; in Initialize() 130 static BOOL MessageHandle(Service *service, Request *msg) in MessageHandle() argument 132 DemoService *demoService = (DemoService *)service; in MessageHandle() [all …]
|
/test/xts/acts/distributed_schedule_lite/system_ability_manager_hal/src/ |
D | taskpool_notask_func_test.c | 61 static const char *GetName(Service *service) in GetName() argument 63 (void)service; in GetName() 67 static BOOL Initialize(Service *service, Identity identity) in Initialize() argument 69 DemoService *service1 = (DemoService *)service; in Initialize() 74 static BOOL MessageHandle(Service *service, Request *msg) in MessageHandle() argument 76 (void)service; in MessageHandle() 81 static TaskConfig GetTaskConfig(Service *service) in GetTaskConfig() argument 83 (void)service; in GetTaskConfig()
|
D | service_func_test.c | 44 static const char *GetName(Service *service) in GetName() argument 46 (void)service; in GetName() 50 static BOOL Initialize(Service *service, Identity identity) in Initialize() argument 52 ExampleService *example = (ExampleService *)service; in Initialize() 57 static BOOL MessageHandle(Service *service, Request *msg) in MessageHandle() argument 60 (void)service; in MessageHandle() 64 static TaskConfig GetTaskConfig(Service *service) in GetTaskConfig() argument 66 (void)service; in GetTaskConfig()
|
D | iunknown_func_test.c | 34 static const char *GetName(Service *service) in GetName() argument 36 (void)service; in GetName() 45 static BOOL Initialize(Service *service, Identity identity) in Initialize() argument 47 ExampleService *example = (ExampleService *)service; in Initialize() 52 static BOOL MessageHandle(Service *service, Request *msg) in MessageHandle() argument 54 (void)service; in MessageHandle() 59 static TaskConfig GetTaskConfig(Service *service) in GetTaskConfig() argument 61 (void)service; in GetTaskConfig()
|
D | defaultfeatureapi_func_test.c | 35 static const char *GetName(Service *service) in GetName() argument 37 (void)service; in GetName() 41 static BOOL Initialize(Service *service, Identity identity) in Initialize() argument 43 ExampleService *example = (ExampleService *)service; in Initialize() 48 static BOOL MessageHandle(Service *service, Request *msg) in MessageHandle() argument 50 (void)service; in MessageHandle() 55 static TaskConfig GetTaskConfig(Service *service) in GetTaskConfig() argument 57 (void)service; in GetTaskConfig()
|
D | taskpool_specifiedtask_func_test.c | 29 static const char *GetName(Service *service); 30 static BOOL Initialize(Service *service, Identity identity); 31 static BOOL MessageHandle(Service *service, Request *msg); 32 static TaskConfig GetTaskConfig(Service *service); 116 static const char *GetName(Service *service) in GetName() argument 118 if (service == (Service *)&g_service[0]) { in GetName() 125 static BOOL Initialize(Service *service, Identity identity) in Initialize() argument 127 DemoService *demoService = (DemoService *)service; in Initialize() 133 static BOOL MessageHandle(Service *service, Request *msg) in MessageHandle() argument 136 DemoService *demoService = (DemoService *)service; in MessageHandle() [all …]
|
D | taskpool_singletask_func_test.c | 32 static const char *GetName(Service *service); 33 static BOOL Initialize(Service *service, Identity identity); 34 static BOOL MessageHandle(Service *service, Request *msg); 35 static TaskConfig GetTaskConfig(Service *service); 160 static const char *GetName(Service *service) in GetName() argument 162 if (service == (Service *)&g_service[INDEX0]) { in GetName() 164 } else if (service == (Service *)&g_service[INDEX1]) { in GetName() 166 } else if (service == (Service *)&g_service[INDEX2]) { in GetName() 174 static BOOL Initialize(Service *service, Identity identity) in Initialize() argument 176 DemoService *demoService = (DemoService *)service; in Initialize() [all …]
|
D | feature_func_test.c | 38 static const char *GetName(Service *service) in GetName() argument 40 (void)service; in GetName() 44 static BOOL Initialize(Service *service, Identity identity) in Initialize() argument 46 ExampleService *example = (ExampleService *)service; in Initialize() 51 static BOOL MessageHandle(Service *service, Request *msg) in MessageHandle() argument 54 (void)service; in MessageHandle() 58 static TaskConfig GetTaskConfig(Service *service) in GetTaskConfig() argument 60 (void)service; in GetTaskConfig()
|
D | taskpool_sharedtask_func_test.c | 29 static const char *GetName(Service *service); 30 static BOOL Initialize(Service *service, Identity identity); 31 static BOOL MessageHandle(Service *service, Request *msg); 32 static TaskConfig GetTaskConfig(Service *service); 123 static const char *GetName(Service *service) in GetName() argument 125 if (service == (Service *)&g_service[0]) { in GetName() 132 static BOOL Initialize(Service *service, Identity identity) in Initialize() argument 134 DemoService *demoService = (DemoService *)service; in Initialize() 140 static BOOL MessageHandle(Service *service, Request *msg) in MessageHandle() argument 143 DemoService *demoService = (DemoService *)service; in MessageHandle() [all …]
|
/test/xts/hats/hdf/camera/hdi/cameraExt/src/ |
D | flashlight_test.cpp | 45 Test_->rc = Test_->service->SetFlashlight(Test_->cameraIds.front(), Test_->status); 61 Test_->rc = Test_->service->SetFlashlight(Test_->cameraIds.front(), Test_->status); 66 Test_->rc = Test_->service->SetFlashlight(Test_->cameraIds.front(), Test_->status); 86 Test_->rc = Test_->service->SetFlashlight(Test_->cameraIds.front(), Test_->status); 112 Test_->rc = Test_->service->SetFlashlight(Test_->cameraIds.front(), Test_->status); 146 Test_->rc = Test_->service->SetFlashlight(Test_->cameraIds.front(), Test_->status); 173 Test_->rc = Test_->service->SetFlashlight(Test_->cameraIds.front(), Test_->status);
|
/test/xts/hats/hdf/camera/hdi/cameraFunction/src/ |
D | open_camera_test.cpp | 43 Test_->service->GetCameraIds(Test_->cameraIds); 50 Test_->rc = Test_->service->OpenCamera(cameraId, Test_->deviceCallback, Test_->cameraDevice); 72 Test_->service->GetCameraIds(Test_->cameraIds); 76 … Test_->rc = Test_->service->OpenCamera(cameraId, Test_->deviceCallback, Test_->cameraDevice);
|