Home
last modified time | relevance | path

Searched refs:resultIUnknown (Results 1 – 4 of 4) sorted by relevance

/test/xts/acts/distributed_schedule_lite/system_ability_manager_hal/src/
Ddefaultfeatureapi_func_test.c158 IUnknown *resultIUnknown = SAMGR_GetInstance()->GetDefaultFeatureApi("serviceName301"); variable
159 TEST_ASSERT_EQUAL_INT(resultIUnknown != NULL, TRUE);
173 IUnknown *resultIUnknown = SAMGR_GetInstance()->GetDefaultFeatureApi(NULL); variable
174 TEST_ASSERT_EQUAL_INT(resultIUnknown == NULL, TRUE);
188 IUnknown *resultIUnknown = SAMGR_GetInstance()->GetDefaultFeatureApi("noExistService"); variable
189 TEST_ASSERT_EQUAL_INT(resultIUnknown == NULL, TRUE);
219 IUnknown *resultIUnknown = SAMGR_GetInstance()->UnregisterDefaultFeatureApi("serviceName301"); variable
220 TEST_ASSERT_EQUAL_INT(resultIUnknown != NULL, TRUE);
232 IUnknown *resultIUnknown = SAMGR_GetInstance()->UnregisterDefaultFeatureApi(NULL); variable
233 TEST_ASSERT_EQUAL_INT(resultIUnknown == NULL, TRUE);
[all …]
Dfeatureapi_func_test.c213 IUnknown *resultIUnknown = SAMGR_GetInstance()->UnregisterFeatureApi("serviceName401", NULL); variable
214 TEST_ASSERT_EQUAL_INT(resultIUnknown != NULL, TRUE);
285 … IUnknown *resultIUnknown = SAMGR_GetInstance()->GetFeatureApi("serviceName401", "featureName401"); variable
286 TEST_ASSERT_EQUAL_INT(resultIUnknown != NULL, TRUE);
304 IUnknown *resultIUnknown = SAMGR_GetInstance()->GetFeatureApi(NULL, "featureName401"); variable
305 TEST_ASSERT_EQUAL_INT(resultIUnknown == NULL, TRUE);
306 resultIUnknown = SAMGR_GetInstance()->GetFeatureApi("", "featureName401");
307 TEST_ASSERT_EQUAL_INT(resultIUnknown == NULL, TRUE);
325 IUnknown *resultIUnknown = SAMGR_GetInstance()->GetFeatureApi("serviceName401", NULL); variable
326 TEST_ASSERT_EQUAL_INT(resultIUnknown == NULL, TRUE);
[all …]
/test/xts/acts/distributed_schedule_lite/system_ability_manager_posix/src/
DDefaultFeatureApiTest.cpp158 IUnknown *resultIUnknown = SAMGR_GetInstance()->GetDefaultFeatureApi("serviceName301"); variable
159 ASSERT_EQ(resultIUnknown != nullptr, TRUE);
172 IUnknown *resultIUnknown = SAMGR_GetInstance()->GetDefaultFeatureApi(NULL); variable
173 ASSERT_EQ(resultIUnknown == nullptr, TRUE);
186 IUnknown *resultIUnknown = SAMGR_GetInstance()->GetDefaultFeatureApi("noExistService"); variable
187 ASSERT_EQ(resultIUnknown == nullptr, TRUE);
215 IUnknown *resultIUnknown = SAMGR_GetInstance()->UnregisterDefaultFeatureApi("serviceName301"); variable
216 ASSERT_EQ(resultIUnknown != nullptr, TRUE);
227 IUnknown *resultIUnknown = SAMGR_GetInstance()->UnregisterDefaultFeatureApi(NULL); variable
228 ASSERT_EQ(resultIUnknown == nullptr, TRUE);
[all …]
DFeatureApiTest.cpp283 … IUnknown *resultIUnknown = SAMGR_GetInstance()->GetFeatureApi("serviceName401", "featureName401"); variable
284 ASSERT_EQ(resultIUnknown != nullptr, TRUE);
301 IUnknown *resultIUnknown = SAMGR_GetInstance()->GetFeatureApi(NULL, "featureName401"); variable
302 ASSERT_EQ(resultIUnknown == nullptr, TRUE);
303 resultIUnknown = SAMGR_GetInstance()->GetFeatureApi("", "featureName401");
304 ASSERT_EQ(resultIUnknown == nullptr, TRUE);
321 IUnknown *resultIUnknown = SAMGR_GetInstance()->GetFeatureApi("serviceName401", nullptr); variable
322 ASSERT_EQ(resultIUnknown == nullptr, TRUE);
323 resultIUnknown = SAMGR_GetInstance()->GetFeatureApi("serviceName401", "");
324 ASSERT_EQ(resultIUnknown == nullptr, TRUE);
[all …]