Home
last modified time | relevance | path

Searched refs:g_createFeature (Results 1 – 7 of 7) sorted by relevance

/test/xts/acts/distributed_schedule_lite/system_ability_manager_hal/src/
Dtaskpool_singletask_func_test.c245 static DemoFeature g_createFeature = { variable
278 (Feature *)&g_createFeature); in FeatureInit()
280 … "featureName501", GET_IUNKNOWN(g_createFeature)); in FeatureInit()
350 g_createFeature.featureCalledCount = 0;
362 int32 result2 = demoApi->SendRequestProxyF(&(g_createFeature.identity), &request, NULL);
365 TEST_ASSERT_EQUAL_INT(g_createFeature.featureCalledCount == 1, TRUE);
406 g_createFeature.featureCalledCount = 0;
418 int32 result2 = demoApi->SendRequestProxyF(&(g_createFeature.identity), &request, NULL);
421 TEST_ASSERT_EQUAL_INT(g_createFeature.featureCalledCount == 1, TRUE);
461 g_createFeature.featureCalledCount = 0;
[all …]
Dtaskpool_sharedtask_func_test.c164 static DemoFeature g_createFeature[] = { variable
220 if (feature == (Feature *)&g_createFeature[0]) { in FEATURE_OnMessage()
243 (Feature *)&g_createFeature[i]); in FeatureInit()
245 GET_IUNKNOWN(g_createFeature[i])); in FeatureInit()
307 g_createFeature[0].featureCalledCount = 0;
316 int32 result2 = demoApi->SendRequestProxyF(&(g_createFeature[0].identity), &request, NULL);
319 TEST_ASSERT_EQUAL_INT(g_createFeature[0].featureCalledCount == 1, TRUE);
358 g_createFeature[1].featureCalledCount = 0;
367 int32 result2 = demoApi->SendRequestProxyF(&(g_createFeature[1].identity), &request, NULL);
370 TEST_ASSERT_EQUAL_INT(g_createFeature[1].featureCalledCount == 1, TRUE);
[all …]
Dtaskpool_specifiedtask_func_test.c183 static DemoFeature g_createFeature = { variable
213 (Feature *)&g_createFeature); in FeatureInit()
215 "featureName501", GET_IUNKNOWN(g_createFeature)); in FeatureInit()
277 g_createFeature.featureCalledCount = 0;
286 int32 result2 = demoApi->SendRequestProxyF(&(g_createFeature.identity), &request, NULL);
289 TEST_ASSERT_EQUAL_INT(g_createFeature.featureCalledCount == 1, TRUE);
328 g_createFeature.featureCalledCount = 0;
337 int32 result2 = demoApi->SendRequestProxyF(&(g_createFeature.identity), &request, NULL);
340 TEST_ASSERT_EQUAL_INT(g_createFeature.featureCalledCount == 1, TRUE);
Dtaskpool_notask_func_test.c130 static DemoFeature g_createFeature = { variable
156 …BOOL result2 = SAMGR_GetInstance()->RegisterFeature("Service_NoTask", (Feature *)&g_createFeature); in FeatureInit()
158 GET_IUNKNOWN(g_createFeature)); in FeatureInit()
/test/xts/acts/distributed_schedule_lite/system_ability_manager_posix/src/
DTaskpoolSharedTaskTest.cpp159 static DemoFeature g_createFeature[] = { variable
216 if (feature == (Feature *)&g_createFeature[0]) { in FEATURE_OnMessage()
239 (Feature *)&g_createFeature[i]); in GFeatureInit()
241 "featureName501", GET_IUNKNOWN(g_createFeature[i])); in GFeatureInit()
312 g_createFeature[0].featureCalledCount = 0;
324 int32 result2 = demoApi->SendRequestProxyF(&(g_createFeature[0].identity), &request, nullptr);
327 ASSERT_EQ(g_createFeature[0].featureCalledCount == 1, TRUE);
368 g_createFeature[1].featureCalledCount = 0;
380 int32 result2 = demoApi->SendRequestProxyF(&(g_createFeature[1].identity), &request, nullptr);
383 ASSERT_EQ(g_createFeature[1].featureCalledCount == 1, TRUE);
[all …]
DTaskpoolSpecifiedTaskTest.cpp176 static DemoFeature g_createFeature = { variable
207 (Feature *)&g_createFeature); in GFeatureInit()
209 "featureName501", GET_IUNKNOWN(g_createFeature)); in GFeatureInit()
281 g_createFeature.featureCalledCount = 0;
293 int32 result2 = demoApi->SendRequestProxyF(&(g_createFeature.identity), &request, nullptr);
296 ASSERT_EQ(g_createFeature.featureCalledCount == 1, TRUE);
337 g_createFeature.featureCalledCount = 0;
349 int32 result2 = demoApi->SendRequestProxyF(&(g_createFeature.identity), &request, nullptr);
352 ASSERT_EQ(g_createFeature.featureCalledCount == 1, TRUE);
DTaskpoolNoTaskTest.cpp129 static DemoFeature g_createFeature = { variable
156 …BOOL result2 = SAMGR_GetInstance()->RegisterFeature("Service_NoTask", (Feature *)&g_createFeature); in GFeatureInit()
158 GET_IUNKNOWN(g_createFeature)); in GFeatureInit()