Home
last modified time | relevance | path

Searched refs:serviceName (Results 1 – 19 of 19) sorted by relevance

/test/testfwk/arkxtest/jsunit/src/
Dcore.js67 registerEvent(serviceName, event) { argument
69 if (!this.events[serviceName]) {
70 this.events[serviceName] = eventObj;
72 eventObj = this.events[serviceName];
77 unRegisterEvent(serviceName, eventID) { argument
78 const eventObj = this.events[serviceName];
84 subscribeEvent(serviceName, serviceObj) { argument
85 const eventObj = this.events[serviceName];
93 async fireEvents(serviceName, eventName) { argument
94 const eventObj = this.events[serviceName];
/test/xts/acts/distributed_schedule_lite/system_ability_manager_posix/src/
DTaskpoolNoTaskTest.cpp165 static DemoApi *GetIUnknown(const char *serviceName, const char *featureName) in GetIUnknown() argument
168 IUnknown *iUnknown = SAMGR_GetInstance()->GetFeatureApi(serviceName, featureName); in GetIUnknown()
180 static DefaultFeatureApi *GetDefaultIUnknown(const char *serviceName) in GetDefaultIUnknown() argument
183 IUnknown *iUnknown = SAMGR_GetInstance()->GetDefaultFeatureApi(serviceName); in GetDefaultIUnknown()
DLiteIPCClientTest.cpp27 static IClientProxy *GetRemoteIUnknown(const char *serviceName, const char *featureName) in GetRemoteIUnknown() argument
32 iUnknown = SAMGR_GetInstance()->GetDefaultFeatureApi(serviceName); in GetRemoteIUnknown()
34 iUnknown = SAMGR_GetInstance()->GetFeatureApi(serviceName, featureName); in GetRemoteIUnknown()
38 …tf("[hcpptest][TID:0x%lx][GetDefaultFeatureApi S:%s]: error is NULL", pthread_self(), serviceName); in GetRemoteIUnknown()
DTaskpoolSpecifiedTaskTest.cpp214 static DemoApi *GetIUnknown(const char *serviceName, const char *featureName) in GetIUnknown() argument
217 IUnknown *iUnknown = SAMGR_GetInstance()->GetFeatureApi(serviceName, featureName); in GetIUnknown()
229 static DefaultFeatureApi *GetDefaultIUnknown(const char *serviceName) in GetDefaultIUnknown() argument
232 IUnknown *iUnknown = SAMGR_GetInstance()->GetDefaultFeatureApi(serviceName); in GetDefaultIUnknown()
DTaskpoolSharedTaskTest.cpp246 static DemoApi *GetIUnknown(const char *serviceName, const char *featureName) in GetIUnknown() argument
249 IUnknown *iUnknown = SAMGR_GetInstance()->GetFeatureApi(serviceName, featureName); in GetIUnknown()
261 static DefaultFeatureApi *GetDefaultIUnknown(const char *serviceName) in GetDefaultIUnknown() argument
264 IUnknown *iUnknown = SAMGR_GetInstance()->GetDefaultFeatureApi(serviceName); in GetDefaultIUnknown()
DTaskpoolSingleTaskTest.cpp292 static DemoApi *GetIUnknown(const char *serviceName, const char *featureName) in GetIUnknown() argument
295 IUnknown *iUnknown = SAMGR_GetInstance()->GetFeatureApi(serviceName, featureName); in GetIUnknown()
307 static DefaultFeatureApi *GetDefaultIUnknown(const char *serviceName) in GetDefaultIUnknown() argument
310 IUnknown *iUnknown = SAMGR_GetInstance()->GetDefaultFeatureApi(serviceName); in GetDefaultIUnknown()
DSendShareRequestTest.cpp306 static DemoApi *GetIUnknown(const char *serviceName, const char *featureName) in GetIUnknown() argument
309 IUnknown *iUnknown = SAMGR_GetInstance()->GetFeatureApi(serviceName, featureName); in GetIUnknown()
DSendResponseTest.cpp302 static DemoApi *GetIUnknown(const char *serviceName, const char *featureName) in GetIUnknown() argument
305 IUnknown *iUnknown = SAMGR_GetInstance()->GetFeatureApi(serviceName, featureName); in GetIUnknown()
DSendRequestTest.cpp284 static DemoApi *GetIUnknown(const char *serviceName, const char *featureName) in GetIUnknown() argument
287 IUnknown *iUnknown = SAMGR_GetInstance()->GetFeatureApi(serviceName, featureName); in GetIUnknown()
/test/xts/acts/distributed_schedule_lite/system_ability_manager_hal/src/
Dtaskpool_notask_func_test.c165 static DemoApi *GetIUnknown(const char *serviceName, const char *featureName) in GetIUnknown() argument
168 IUnknown *iUnknown = SAMGR_GetInstance()->GetFeatureApi(serviceName, featureName); in GetIUnknown()
180 static DefaultFeatureApi *GetDefaultIUnknown(const char *serviceName) in GetDefaultIUnknown() argument
183 IUnknown *iUnknown = SAMGR_GetInstance()->GetDefaultFeatureApi(serviceName); in GetDefaultIUnknown()
Dtaskpool_specifiedtask_func_test.c220 static DemoApi *GetIUnknown(const char *serviceName, const char *featureName) in GetIUnknown() argument
223 IUnknown *iUnknown = SAMGR_GetInstance()->GetFeatureApi(serviceName, featureName); in GetIUnknown()
235 static DefaultFeatureApi *GetDefaultIUnknown(const char *serviceName) in GetDefaultIUnknown() argument
238 IUnknown *iUnknown = SAMGR_GetInstance()->GetDefaultFeatureApi(serviceName); in GetDefaultIUnknown()
Dtaskpool_sharedtask_func_test.c250 static DemoApi *GetIUnknown(const char *serviceName, const char *featureName) in GetIUnknown() argument
253 IUnknown *iUnknown = SAMGR_GetInstance()->GetFeatureApi(serviceName, featureName); in GetIUnknown()
265 static DefaultFeatureApi *GetDefaultIUnknown(const char *serviceName) in GetDefaultIUnknown() argument
268 IUnknown *iUnknown = SAMGR_GetInstance()->GetDefaultFeatureApi(serviceName); in GetDefaultIUnknown()
Dtaskpool_singletask_func_test.c288 static DemoApi *GetIUnknown(const char *serviceName, const char *featureName) in GetIUnknown() argument
291 IUnknown *iUnknown = SAMGR_GetInstance()->GetFeatureApi(serviceName, featureName); in GetIUnknown()
305 static DefaultFeatureApi *GetDefaultIUnknown(const char *serviceName) in GetDefaultIUnknown() argument
308 IUnknown *iUnknown = SAMGR_GetInstance()->GetDefaultFeatureApi(serviceName); in GetDefaultIUnknown()
Dsendsharerequest_func_test.c325 static DemoApi *GetIUnknown(const char *serviceName, const char *featureName) in GetIUnknown() argument
328 IUnknown *iUnknown = SAMGR_GetInstance()->GetFeatureApi(serviceName, featureName); in GetIUnknown()
Dsendresponse_func_test.c300 static DemoApi *GetIUnknown(const char *serviceName, const char *featureName) in GetIUnknown() argument
303 IUnknown *iUnknown = SAMGR_GetInstance()->GetFeatureApi(serviceName, featureName); in GetIUnknown()
Dsendrequest_func_test.c364 static DemoApi *GetIUnknown(const char *serviceName, const char *featureName) in GetIUnknown() argument
367 IUnknown *iUnknown = SAMGR_GetInstance()->GetFeatureApi(serviceName, featureName); in GetIUnknown()
/test/xts/hats/hdf/manager/managerServiceTest/
Dservice_manager_hdi_test.cpp328 if (status.serviceName == std::string(TEST_SERVICE_NAME)) { in TestServiceListenerStop()
404 if (status.serviceName == std::string(TEST_SERVICE_NAME) && in TestSampleService()
497 if (status.serviceName == std::string(TEST_SERVICE_NAME) && in __anonf831161b0302()
690 … HDF_LOGI("service status callback, service is %{public}s", status.serviceName.data()); in __anonf831161b0402()
692 if (status.serviceName == std::string(TEST_SERVICE_NAME)) { in __anonf831161b0402()
/test/xts/acts/ai/neural_network_runtime/common/
Dmock_idevice.cpp28 sptr<INnrtDevice> INnrtDevice::Get(const std::string &serviceName, bool isStub) in Get() argument
/test/xts/hats/hdf/manager/managerHdiTest/
Dservice_manager_hdi_c_test.cpp388 …if (strcmp(servstat->serviceName, TEST_SERVICE_NAME) == 0 && (servstat->status == ssd->waitStatus)… in TestOnServiceStatusReceived()
395 …HDF_LOGI("service status listener callback: %{public}s, %{public}d", servstat->serviceName, servst… in TestOnServiceStatusReceived()