Home
last modified time | relevance | path

Searched refs:demoApi (Results 1 - 19 of 19) sorted by relevance

/test/xts/acts/distributed_schedule_lite/system_ability_manager_posix/src/
H A DSendRequestTest.cpp286 DemoApi *demoApi = nullptr; in GetIUnknown() local
291 int result = iUnknown->QueryInterface(iUnknown, 0x20, (void **)&demoApi); in GetIUnknown()
292 if (result == 0 && demoApi != nullptr) { in GetIUnknown()
293 return demoApi; in GetIUnknown()
299 static void ReleaseIUnknown(DemoApi *demoApi) in ReleaseIUnknown() argument
301 demoApi->Release((IUnknown *)demoApi); in ReleaseIUnknown()
351 DemoApi *demoApi = GetIUnknown(S_SERVICE, S_FEATURE); in HWTEST_F() local
352 if (demoApi == nullptr) { in HWTEST_F()
360 bool result = demoApi in HWTEST_F()
379 DemoApi *demoApi = GetIUnknown(S_SERVICE, S_FEATURE); HWTEST_F() local
419 DemoApi *demoApi = GetIUnknown(S_SERVICE, S_FEATURE); HWTEST_F() local
458 DemoApi *demoApi = GetIUnknown(S_SERVICE, S_FEATURE); HWTEST_F() local
491 DemoApi *demoApi = GetIUnknown(S_SERVICE, S_FEATURE); HWTEST_F() local
531 DemoApi *demoApi = GetIUnknown(S_SERVICE, S_FEATURE); HWTEST_F() local
569 DemoApi *demoApi = GetIUnknown(S_SERVICE, S_FEATURE); HWTEST_F() local
620 DemoApi *demoApi = GetIUnknown(S_SERVICE, S_FEATURE); HWTEST_F() local
667 DemoApi *demoApi = GetIUnknown(S_SERVICE, S_FEATURE); HWTEST_F() local
707 DemoApi *demoApi = GetIUnknown(S_SERVICE, S_FEATURE); HWTEST_F() local
[all...]
H A DSendResponseTest.cpp304 DemoApi *demoApi = nullptr; in GetIUnknown() local
309 int result = iUnknown->QueryInterface(iUnknown, 0x20, (void **)&demoApi); in GetIUnknown()
310 if (result == 0 && demoApi != nullptr) { in GetIUnknown()
311 return demoApi; in GetIUnknown()
317 static void ReleaseIUnknown(DemoApi *demoApi) in ReleaseIUnknown() argument
319 demoApi->Release((IUnknown *)demoApi); in ReleaseIUnknown()
363 DemoApi *demoApi = GetIUnknown("serviceName601", "featureName602"); in HWTEST_F() local
364 if (demoApi == nullptr) { in HWTEST_F()
384 demoApi in HWTEST_F()
398 DemoApi *demoApi = GetIUnknown("serviceName601", "featureName602"); HWTEST_F() local
432 DemoApi *demoApi = GetIUnknown("serviceName601", "featureName603"); HWTEST_F() local
466 DemoApi *demoApi = GetIUnknown("serviceName601", "featureName602"); HWTEST_F() local
[all...]
H A DTaskpoolNoTaskTest.cpp167 DemoApi *demoApi = nullptr; in GetIUnknown() local
172 int result = iUnknown->QueryInterface(iUnknown, 0x20, (void **)&demoApi); in GetIUnknown()
173 if (result == 0 && demoApi != nullptr) { in GetIUnknown()
174 return demoApi; in GetIUnknown()
195 static void ReleaseIUnknown(DemoApi *demoApi) in ReleaseIUnknown() argument
197 demoApi->Release((IUnknown *)demoApi); in ReleaseIUnknown()
230 DemoApi *demoApi = GetIUnknown("Service_NoTask", "featureName501"); in HWTEST_F() local
231 if (demoApi == nullptr) { in HWTEST_F()
235 bool result = demoApi in HWTEST_F()
[all...]
H A DSendShareRequestTest.cpp308 DemoApi *demoApi = nullptr; in GetIUnknown() local
314 int result = iUnknown->QueryInterface(iUnknown, 0x20, (void **)&demoApi); in GetIUnknown()
315 if (result == 0 && demoApi != nullptr) { in GetIUnknown()
316 return demoApi; in GetIUnknown()
323 static void ReleaseIUnknown(DemoApi *demoApi) in ReleaseIUnknown() argument
325 demoApi->Release((IUnknown *)demoApi); in ReleaseIUnknown()
366 DemoApi *demoApi = GetIUnknown("S_sendShareReq", "feature02"); in HWTEST_F() local
367 if (demoApi == nullptr) { in HWTEST_F()
390 token = demoApi in HWTEST_F()
404 DemoApi *demoApi = GetIUnknown("S_sendShareReq", "feature02"); HWTEST_F() local
[all...]
H A DTaskpoolSingleTaskTest.cpp294 DemoApi *demoApi = nullptr; in GetIUnknown() local
299 int result = iUnknown->QueryInterface(iUnknown, 0x20, (void **)&demoApi); in GetIUnknown()
300 if (result == 0 && demoApi != nullptr) { in GetIUnknown()
301 return demoApi; in GetIUnknown()
353 DemoApi *demoApi = GetIUnknown("SingleTS01", "featureName501"); in HWTEST_F() local
354 if (demoApi == nullptr) { in HWTEST_F()
358 bool result = demoApi->FeatureApi001((IUnknown *)demoApi, para); in HWTEST_F()
376 int32 result2 = demoApi->SendRequestProxyF(&(g_feature.identity), &request, nullptr); in HWTEST_F()
413 DemoApi *demoApi in HWTEST_F() local
468 DemoApi *demoApi = GetIUnknown("SingleTS03", "featureName501"); HWTEST_F() local
523 DemoApi *demoApi = GetIUnknown("SingleTS04", "featureName501"); HWTEST_F() local
[all...]
H A DTaskpoolSharedTaskTest.cpp248 DemoApi *demoApi = nullptr; in GetIUnknown() local
253 int result = iUnknown->QueryInterface(iUnknown, 0x20, (void **)&demoApi); in GetIUnknown()
254 if (result == 0 && demoApi != nullptr) { in GetIUnknown()
255 return demoApi; in GetIUnknown()
305 DemoApi *demoApi = GetIUnknown("SharedTask01", "featureName501"); in HWTEST_F() local
306 if (demoApi == nullptr) { in HWTEST_F()
309 bool result = demoApi->FeatureApi001((IUnknown *)demoApi, (char*)"xxxx"); in HWTEST_F()
324 int32 result2 = demoApi->SendRequestProxyF(&(g_createFeature[0].identity), &request, nullptr); in HWTEST_F()
361 DemoApi *demoApi in HWTEST_F() local
461 DemoApi *demoApi = GetIUnknown("SharedTask01", "featureName501"); HWTEST_F() local
[all...]
H A DLiteIPCClientTest.cpp29 IClientProxy *demoApi = NULL; in GetRemoteIUnknown() local
41 (void)iUnknown->QueryInterface(iUnknown, CLIENT_PROXY_VER, (void **)&demoApi); in GetRemoteIUnknown()
43 return demoApi; in GetRemoteIUnknown()
55 static void ReleaseIUnknown(IUnknown *demoApi) in ReleaseIUnknown() argument
57 if (demoApi != NULL) { in ReleaseIUnknown()
58 demoApi->Release((IUnknown *)demoApi); in ReleaseIUnknown()
92 IClientProxy *demoApi = NULL; in HWTEST_F() local
96 int result = iUnknown->QueryInterface(iUnknown, CLIENT_PROXY_VER, (void **)&demoApi); in HWTEST_F()
98 ASSERT_EQ(demoApi ! in HWTEST_F()
[all...]
H A DIUnknownTest.cpp188 DemoApi *demoApi = nullptr; in HWTEST_F() local
189 int resultQuery = iUnknown->QueryInterface(iUnknown, DEFAULT_VERSION, (void **)&demoApi); in HWTEST_F()
191 ASSERT_EQ(TRUE, demoApi != nullptr); in HWTEST_F()
211 DemoApi *demoApi = nullptr; in HWTEST_F() local
212 int resultQuery = iUnknown->QueryInterface(iUnknown, 0x30, (void **)&demoApi); in HWTEST_F()
226 DemoApi *demoApi = nullptr; in HWTEST_F() local
227 int resultQuery = iUnknown->QueryInterface(iUnknown, 0, (void **)&demoApi); in HWTEST_F()
229 ASSERT_EQ(TRUE, demoApi != nullptr); in HWTEST_F()
H A DTaskpoolSpecifiedTaskTest.cpp216 DemoApi *demoApi = nullptr; in GetIUnknown() local
221 int result = iUnknown->QueryInterface(iUnknown, 0x20, (void **)&demoApi); in GetIUnknown()
222 if (result == 0 && demoApi != nullptr) { in GetIUnknown()
223 return demoApi; in GetIUnknown()
274 DemoApi *demoApi = GetIUnknown("SpecifiedT01", "featureName501"); in HWTEST_F() local
275 if (demoApi == nullptr) { in HWTEST_F()
278 bool result = demoApi->FeatureApi001((IUnknown *)demoApi, (char*)"xxxx"); in HWTEST_F()
293 int32 result2 = demoApi->SendRequestProxyF(&(g_createFeature.identity), &request, nullptr); in HWTEST_F()
330 DemoApi *demoApi in HWTEST_F() local
[all...]
H A DLiteIPCFeatureTest.cpp207 DemoFeatureApi *demoApi = nullptr; in HWTEST_F() local
212 int resultCode = iUnknown->QueryInterface(iUnknown, DEFAULT_VERSION, (void **)&demoApi); in HWTEST_F()
216 demoApi->SyncCall((IUnknown *)demoApi); in HWTEST_F()
229 IClientProxy *demoApi = nullptr; in HWTEST_F() local
234 int resultCode = iUnknown->QueryInterface(iUnknown, CLIENT_PROXY_VER, (void **)&demoApi); in HWTEST_F()
H A DLiteIPCServiceTest.cpp190 DefaultFeatureApi *demoApi = nullptr; in HWTEST_F() local
195 int resultCode = iUnknown->QueryInterface(iUnknown, DEFAULT_VERSION, (void **)&demoApi); in HWTEST_F()
199 demoApi->SyncCall((IUnknown *)demoApi); in HWTEST_F()
212 IClientProxy *demoApi = nullptr; in HWTEST_F() local
217 int resultCode = iUnknown->QueryInterface(iUnknown, CLIENT_PROXY_VER, (void **)&demoApi); in HWTEST_F()
/test/xts/acts/distributed_schedule_lite/system_ability_manager_hal/src/
H A Dsendrequest_func_test.c366 DemoApi *demoApi = NULL; in GetIUnknown() local
372 int result = iUnknown->QueryInterface(iUnknown, 0, (void **)&demoApi); in GetIUnknown()
373 if (result == 0 && demoApi != NULL) { in GetIUnknown()
374 return demoApi; in GetIUnknown()
381 static void ReleaseIUnknown(DemoApi *demoApi) in ReleaseIUnknown() argument
383 demoApi->Release((IUnknown *)demoApi); in ReleaseIUnknown()
412 DemoApi *demoApi = GetIUnknown("serviceName501", "featureName502"); variable
413 if (demoApi == NULL) {
420 BOOL result = demoApi
430 ReleaseIUnknown(demoApi); global() variable
440 DemoApi *demoApi = GetIUnknown("serviceName501", "featureName502"); global() variable
467 ReleaseIUnknown(demoApi); global() variable
477 DemoApi *demoApi = GetIUnknown("serviceName501", "featureName502"); global() variable
504 ReleaseIUnknown(demoApi); global() variable
514 DemoApi *demoApi = GetIUnknown("serviceName501", "featureName502"); global() variable
533 ReleaseIUnknown(demoApi); global() variable
543 DemoApi *demoApi = GetIUnknown("serviceName501", "featureName502"); global() variable
561 ReleaseIUnknown(demoApi); global() variable
571 DemoApi *demoApi = GetIUnknown("serviceName501", "featureName502"); global() variable
595 ReleaseIUnknown(demoApi); global() variable
605 DemoApi *demoApi = GetIUnknown("serviceName501", "featureName502"); global() variable
633 ReleaseIUnknown(demoApi); global() variable
643 DemoApi *demoApi = GetIUnknown("serviceName501", "featureName502"); global() variable
666 ReleaseIUnknown(demoApi); global() variable
677 DemoApi *demoApi = GetIUnknown("serviceName501", "featureName502"); global() variable
700 ReleaseIUnknown(demoApi); global() variable
712 DemoApi *demoApi = GetIUnknown("serviceName501", "featureName502"); global() variable
731 ReleaseIUnknown(demoApi); global() variable
[all...]
H A Dsendresponse_func_test.c302 DemoApi *demoApi = NULL; in GetIUnknown() local
308 int result = iUnknown->QueryInterface(iUnknown, 0, (void **)&demoApi); in GetIUnknown()
309 if (result == 0 && demoApi != NULL) { in GetIUnknown()
310 return demoApi; in GetIUnknown()
317 static void ReleaseIUnknown(DemoApi *demoApi) in ReleaseIUnknown() argument
319 demoApi->Release((IUnknown *)demoApi); in ReleaseIUnknown()
354 DemoApi *demoApi = GetIUnknown("serviceName601", "featureName602"); variable
355 if (demoApi == NULL) {
372 demoApi
376 ReleaseIUnknown(demoApi); global() variable
386 DemoApi *demoApi = GetIUnknown("serviceName601", "featureName602"); global() variable
408 ReleaseIUnknown(demoApi); global() variable
418 DemoApi *demoApi = GetIUnknown("serviceName601", "featureName603"); global() variable
440 ReleaseIUnknown(demoApi); global() variable
450 DemoApi *demoApi = GetIUnknown("serviceName601", "featureName602"); global() variable
474 ReleaseIUnknown(demoApi); global() variable
484 DemoApi *demoApi = GetIUnknown("serviceName601", "featureName602"); global() variable
507 ReleaseIUnknown(demoApi); global() variable
[all...]
H A Dtaskpool_notask_func_test.c167 DemoApi *demoApi = NULL; in GetIUnknown() local
172 int result = iUnknown->QueryInterface(iUnknown, 0, (void **)&demoApi); in GetIUnknown()
173 if (result == 0 && demoApi != NULL) { in GetIUnknown()
174 return demoApi; in GetIUnknown()
197 static void ReleaseIUnknown(DemoApi *demoApi) in ReleaseIUnknown() argument
199 demoApi->Release((IUnknown *)demoApi); in ReleaseIUnknown()
222 DemoApi *demoApi = GetIUnknown("Service_NoTask", "featureName501"); variable
223 if (demoApi == NULL) {
226 BOOL result = demoApi
228 ReleaseIUnknown(demoApi); global() variable
[all...]
H A Dtaskpool_singletask_func_test.c290 DemoApi *demoApi = NULL; in GetIUnknown() local
296 int result = iUnknown->QueryInterface(iUnknown, 0, (void **)&demoApi); in GetIUnknown()
297 if (result == 0 && demoApi != NULL) { in GetIUnknown()
298 return demoApi; in GetIUnknown()
343 DemoApi *demoApi = GetIUnknown("SingleTS01", "featureName501"); variable
344 if (demoApi == NULL) {
347 BOOL result = demoApi->FeatureApi001((IUnknown *)demoApi, "xxxx");
362 int32 result2 = demoApi->SendRequestProxyF(&(g_createFeature.identity), &request, NULL);
399 DemoApi *demoApi variable
454 DemoApi *demoApi = GetIUnknown("SingleTS03", "featureName501"); global() variable
509 DemoApi *demoApi = GetIUnknown("SingleTS04", "featureName501"); global() variable
[all...]
H A Dtaskpool_sharedtask_func_test.c252 DemoApi *demoApi = NULL; in GetIUnknown() local
257 int result = iUnknown->QueryInterface(iUnknown, 0, (void **)&demoApi); in GetIUnknown()
258 if (result == 0 && demoApi != NULL) { in GetIUnknown()
259 return demoApi; in GetIUnknown()
300 DemoApi *demoApi = GetIUnknown("SharedTask01", "featureName501"); variable
301 if (demoApi == NULL) {
304 BOOL result = demoApi->FeatureApi001((IUnknown *)demoApi, "xxxx");
316 int32 result2 = demoApi->SendRequestProxyF(&(g_createFeature[0].identity), &request, NULL);
351 DemoApi *demoApi variable
440 DemoApi *demoApi = GetIUnknown("SharedTask01", "featureName501"); global() variable
[all...]
H A Diunknown_func_test.c181 DemoApi *demoApi = NULL; variable
182 int resultQuery = iUnknown->QueryInterface(iUnknown, DEFAULT_VERSION, (void **)&demoApi);
184 TEST_ASSERT_EQUAL_INT(TRUE, demoApi != NULL);
200 DemoApi *demoApi = NULL; variable
201 int resultQuery = iUnknown->QueryInterface(iUnknown, 0x30, (void **)&demoApi);
216 DemoApi *demoApi = NULL; variable
217 int resultQuery = iUnknown->QueryInterface(iUnknown, 0, (void **)&demoApi);
219 TEST_ASSERT_EQUAL_INT(TRUE, demoApi != NULL);
H A Dsendsharerequest_func_test.c327 DemoApi *demoApi = NULL; in GetIUnknown() local
333 int result = iUnknown->QueryInterface(iUnknown, 0, (void **)&demoApi); in GetIUnknown()
334 if (result == 0 && demoApi != NULL) { in GetIUnknown()
335 return demoApi; in GetIUnknown()
342 static void ReleaseIUnknown(DemoApi *demoApi) in ReleaseIUnknown() argument
344 demoApi->Release((IUnknown *)demoApi); in ReleaseIUnknown()
376 DemoApi *demoApi = GetIUnknown("S_sendShareReq", "feature02"); variable
377 if (demoApi == NULL) {
397 token = demoApi
403 ReleaseIUnknown(demoApi); global() variable
413 DemoApi *demoApi = GetIUnknown("S_sendShareReq", "feature02"); global() variable
445 ReleaseIUnknown(demoApi); global() variable
[all...]
H A Dtaskpool_specifiedtask_func_test.c222 DemoApi *demoApi = NULL; in GetIUnknown() local
227 int result = iUnknown->QueryInterface(iUnknown, 0, (void **)&demoApi); in GetIUnknown()
228 if (result == 0 && demoApi != NULL) { in GetIUnknown()
229 return demoApi; in GetIUnknown()
270 DemoApi *demoApi = GetIUnknown("SpecifiedT01", "featureName501"); variable
271 if (demoApi == NULL) {
274 BOOL result = demoApi->FeatureApi001((IUnknown *)demoApi, "xxxx");
286 int32 result2 = demoApi->SendRequestProxyF(&(g_createFeature.identity), &request, NULL);
321 DemoApi *demoApi variable
[all...]

Completed in 15 milliseconds