Home
last modified time | relevance | path

Searched refs:g_feature (Results 1 – 16 of 16) sorted by relevance

/test/xts/acts/distributed_schedule_lite/system_ability_manager_posix/src/
DFeatureApiTest.cpp100 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 …]
DFeatureTest.cpp106 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 …]
DIUnknownTest.cpp104 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));
DTaskpoolSingleTaskTest.cpp249 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 …]
DLiteIPCFeatureTest.cpp91 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);
DServiceTest.cpp104 static DemoFeature g_feature = { variable
229 SAMGR_GetInstance()->RegisterFeature("serviceName101", (Feature *)&g_feature);
DSendShareRequestTest.cpp225 static DemoFeature g_feature = { variable
291 …esult1 = SAMGR_GetInstance()->RegisterDefaultFeatureApi("S_sendShareReq", GET_IUNKNOWN(g_feature)); in GFeatureInit()
DSendResponseTest.cpp236 static DemoFeature g_feature = { variable
292 SAMGR_GetInstance()->RegisterDefaultFeatureApi("serviceName601", GET_IUNKNOWN(g_feature)); in GFeatureInit()
DSendRequestTest.cpp222 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/
Dfeatureapi_func_test.c102 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 …]
Dfeature_func_test.c108 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 …]
Diunknown_func_test.c104 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));
Dservice_func_test.c106 static DemoFeature g_feature = { variable
232 SAMGR_GetInstance()->RegisterFeature("serviceName101", (Feature *)&g_feature);
Dsendsharerequest_func_test.c250 static DemoFeature g_feature = { variable
310 …esult1 = SAMGR_GetInstance()->RegisterDefaultFeatureApi("S_sendShareReq", GET_IUNKNOWN(g_feature)); in FeatureInit()
Dsendresponse_func_test.c231 static DemoFeature g_feature = { variable
285 …esult1 = SAMGR_GetInstance()->RegisterDefaultFeatureApi("serviceName601", GET_IUNKNOWN(g_feature)); in FeatureInit()
Dsendrequest_func_test.c289 static DemoFeature g_feature = { variable
349 …esult1 = SAMGR_GetInstance()->RegisterDefaultFeatureApi("serviceName501", GET_IUNKNOWN(g_feature)); in FeatureInit()