/test/xts/acts/distributed_schedule_lite/system_ability_manager_posix/src/ |
D | FeatureApiTest.cpp | 100 static DemoFeature g_feature = { variable 141 SAMGR_GetInstance()->RegisterFeature("serviceName401", (Feature *)&g_feature); 144 GET_IUNKNOWN(g_feature)); 159 SAMGR_GetInstance()->RegisterFeature("serviceName401", (Feature *)&g_feature); 161 … result = SAMGR_GetInstance()->RegisterFeatureApi(NULL, "featureName401", GET_IUNKNOWN(g_feature)); 164 result = SAMGR_GetInstance()->RegisterFeatureApi("", "featureName401", GET_IUNKNOWN(g_feature)); 178 SAMGR_GetInstance()->RegisterFeature("serviceName401", (Feature *)&g_feature); 180 …OL result = SAMGR_GetInstance()->RegisterFeatureApi("serviceName401", "", GET_IUNKNOWN(g_feature)); 194 SAMGR_GetInstance()->RegisterFeature("serviceName401", (Feature *)&g_feature); 210 SAMGR_GetInstance()->RegisterFeature("serviceName401", (Feature *)&g_feature); [all …]
|
D | FeatureTest.cpp | 106 static DemoFeature g_feature = { variable 164 BOOL result = SAMGR_GetInstance()->RegisterFeature("serviceName201", (Feature *)&g_feature); 176 BOOL result = SAMGR_GetInstance()->RegisterFeature(NULL, (Feature *)&g_feature); 196 BOOL result = SAMGR_GetInstance()->RegisterFeature("noExistServiceName", (Feature *)&g_feature); 206 SAMGR_GetInstance()->RegisterFeature("serviceName201", (Feature *)&g_feature); 208 BOOL result = SAMGR_GetInstance()->RegisterFeature("serviceName201", (Feature *)&g_feature); 220 BOOL result1 = SAMGR_GetInstance()->RegisterFeature("serviceName201", (Feature *)&g_feature); 235 SAMGR_GetInstance()->RegisterFeature("serviceName201", (Feature *)&g_feature); 247 SAMGR_GetInstance()->RegisterFeature("serviceName201", (Feature *)&g_feature); 264 SAMGR_GetInstance()->RegisterFeature("serviceName201", (Feature *)&g_feature); [all …]
|
D | IUnknownTest.cpp | 104 static DemoFeature g_feature = { variable 138 BOOL result2 = SAMGR_GetInstance()->RegisterFeature(SERVICE_NAME, (Feature *)&g_feature); in SetUp() 163 IUnknown *iUnknown = GET_IUNKNOWN(g_feature); 173 IUnknown *iUnknown = GET_IUNKNOWN(g_feature); 185 SAMGR_GetInstance()->RegisterFeatureApi(SERVICE_NAME, FEATURE_NAME, GET_IUNKNOWN(g_feature)); 208 SAMGR_GetInstance()->RegisterFeatureApi(SERVICE_NAME, FEATURE_NAME, GET_IUNKNOWN(g_feature));
|
D | TaskpoolSingleTaskTest.cpp | 249 static DemoFeature g_feature = { variable 282 (Feature *)&g_feature); in GFeatureInit() 284 … "featureName501", GET_IUNKNOWN(g_feature)); in GFeatureInit() 361 g_feature.featureCalledCount = 0; 376 int32 result2 = demoApi->SendRequestProxyF(&(g_feature.identity), &request, nullptr); 379 ASSERT_EQ(g_feature.featureCalledCount == 1, TRUE); 420 g_feature.featureCalledCount = 0; 432 int32 result2 = demoApi->SendRequestProxyF(&(g_feature.identity), &request, nullptr); 435 ASSERT_EQ(g_feature.featureCalledCount == 1, TRUE); 475 g_feature.featureCalledCount = 0; [all …]
|
D | LiteIPCFeatureTest.cpp | 91 static DemoFeature g_feature = { variable 154 BOOL result = SAMGR_GetInstance()->RegisterFeature(SERVICE_NAME, (Feature *)&g_feature); in FeatureInit() 157 (&g_feature)->featureStatus = FALSE; in FeatureInit() 159 …ult = SAMGR_GetInstance()->RegisterFeatureApi(SERVICE_NAME, FEATURE_NAME, GET_IUNKNOWN(g_feature)); in FeatureInit() 162 (&g_feature)->featureStatus = FALSE; in FeatureInit() 197 ASSERT_EQ((&g_feature)->featureStatus, TRUE);
|
D | ServiceTest.cpp | 104 static DemoFeature g_feature = { variable 229 SAMGR_GetInstance()->RegisterFeature("serviceName101", (Feature *)&g_feature);
|
D | SendShareRequestTest.cpp | 225 static DemoFeature g_feature = { variable 291 …esult1 = SAMGR_GetInstance()->RegisterDefaultFeatureApi("S_sendShareReq", GET_IUNKNOWN(g_feature)); in GFeatureInit()
|
D | SendResponseTest.cpp | 236 static DemoFeature g_feature = { variable 292 SAMGR_GetInstance()->RegisterDefaultFeatureApi("serviceName601", GET_IUNKNOWN(g_feature)); in GFeatureInit()
|
D | SendRequestTest.cpp | 222 static DemoFeature g_feature = { variable 271 BOOL result1 = SAMGR_GetInstance()->RegisterFeature(S_SERVICE, (Feature *)&g_feature); in GFeatureInit() 273 GET_IUNKNOWN(g_feature)); in GFeatureInit()
|
/test/xts/acts/distributed_schedule_lite/system_ability_manager_hal/src/ |
D | featureapi_func_test.c | 102 static DemoFeature g_feature = { variable 134 SAMGR_GetInstance()->RegisterFeature("serviceName401", (Feature *)&g_feature); 137 GET_IUNKNOWN(g_feature)); 153 SAMGR_GetInstance()->RegisterFeature("serviceName401", (Feature *)&g_feature); 155 … result = SAMGR_GetInstance()->RegisterFeatureApi(NULL, "featureName401", GET_IUNKNOWN(g_feature)); 158 result = SAMGR_GetInstance()->RegisterFeatureApi("", "featureName401", GET_IUNKNOWN(g_feature)); 173 SAMGR_GetInstance()->RegisterFeature("serviceName401", (Feature *)&g_feature); 175 …OL result = SAMGR_GetInstance()->RegisterFeatureApi("serviceName401", "", GET_IUNKNOWN(g_feature)); 190 SAMGR_GetInstance()->RegisterFeature("serviceName401", (Feature *)&g_feature); 207 SAMGR_GetInstance()->RegisterFeature("serviceName401", (Feature *)&g_feature); [all …]
|
D | feature_func_test.c | 108 static DemoFeature g_feature = { variable 156 BOOL result = SAMGR_GetInstance()->RegisterFeature("serviceName201", (Feature *)&g_feature); 169 BOOL result = SAMGR_GetInstance()->RegisterFeature(NULL, (Feature *)&g_feature); 191 BOOL result = SAMGR_GetInstance()->RegisterFeature("noExistServiceName", (Feature *)&g_feature); 202 SAMGR_GetInstance()->RegisterFeature("serviceName201", (Feature *)&g_feature); 204 BOOL result = SAMGR_GetInstance()->RegisterFeature("serviceName201", (Feature *)&g_feature); 217 BOOL result1 = SAMGR_GetInstance()->RegisterFeature("serviceName201", (Feature *)&g_feature); 233 SAMGR_GetInstance()->RegisterFeature("serviceName201", (Feature *)&g_feature); 246 SAMGR_GetInstance()->RegisterFeature("serviceName201", (Feature *)&g_feature); 264 SAMGR_GetInstance()->RegisterFeature("serviceName201", (Feature *)&g_feature); [all …]
|
D | iunknown_func_test.c | 104 static DemoFeature g_feature = { variable 128 BOOL result2 = SAMGR_GetInstance()->RegisterFeature(SERVICE_NAME, (Feature *)&g_feature); in IUnknownTestSuiteSetUp() 151 IUnknown *iUnknown = GET_IUNKNOWN(g_feature); 162 IUnknown *iUnknown = GET_IUNKNOWN(g_feature); 178 SAMGR_GetInstance()->RegisterFeatureApi(SERVICE_NAME, FEATURE_NAME, GET_IUNKNOWN(g_feature)); 197 SAMGR_GetInstance()->RegisterFeatureApi(SERVICE_NAME, FEATURE_NAME, GET_IUNKNOWN(g_feature));
|
D | service_func_test.c | 106 static DemoFeature g_feature = { variable 232 SAMGR_GetInstance()->RegisterFeature("serviceName101", (Feature *)&g_feature);
|
D | sendsharerequest_func_test.c | 250 static DemoFeature g_feature = { variable 310 …esult1 = SAMGR_GetInstance()->RegisterDefaultFeatureApi("S_sendShareReq", GET_IUNKNOWN(g_feature)); in FeatureInit()
|
D | sendresponse_func_test.c | 231 static DemoFeature g_feature = { variable 285 …esult1 = SAMGR_GetInstance()->RegisterDefaultFeatureApi("serviceName601", GET_IUNKNOWN(g_feature)); in FeatureInit()
|
D | sendrequest_func_test.c | 289 static DemoFeature g_feature = { variable 349 …esult1 = SAMGR_GetInstance()->RegisterDefaultFeatureApi("serviceName501", GET_IUNKNOWN(g_feature)); in FeatureInit()
|