Home
last modified time | relevance | path

Searched refs:g_service (Results 1 – 25 of 27) sorted by relevance

12

/test/xts/acts/distributed_schedule_lite/system_ability_manager_posix/src/
DFeatureApiTest.cpp69 static ExampleService g_service = { variable
140 SAMGR_GetInstance()->RegisterService((Service *)&g_service);
158 SAMGR_GetInstance()->RegisterService((Service *)&g_service);
177 SAMGR_GetInstance()->RegisterService((Service *)&g_service);
193 SAMGR_GetInstance()->RegisterService((Service *)&g_service);
209 SAMGR_GetInstance()->RegisterService((Service *)&g_service);
227 SAMGR_GetInstance()->RegisterService((Service *)&g_service);
243 SAMGR_GetInstance()->RegisterService((Service *)&g_service);
259 SAMGR_GetInstance()->RegisterService((Service *)&g_service);
279 SAMGR_GetInstance()->RegisterService((Service *)&g_service);
[all …]
DServiceTest.cpp68 static ExampleService g_service = { variable
144 BOOL result = SAMGR_GetInstance()->RegisterService((Service *)&g_service);
166 SAMGR_GetInstance()->RegisterService((Service *)&g_service);
167 BOOL result = SAMGR_GetInstance()->RegisterService((Service *)&g_service);
178 SAMGR_GetInstance()->RegisterService((Service *)&g_service);
212 SAMGR_GetInstance()->RegisterService((Service *)&g_service);
213 SAMGR_GetInstance()->RegisterDefaultFeatureApi("serviceName101", GET_IUNKNOWN(g_service));
228 SAMGR_GetInstance()->RegisterService((Service *)&g_service);
246 BOOL result = SAMGR_GetInstance()->RegisterService((Service *)&g_service);
DTaskpoolSingleTaskTest.cpp97 static DemoService g_service[] = { variable
162 if (service == (Service *)&g_service[INDEX0]) { in GetName()
164 } else if (service == (Service *)&g_service[INDEX1]) { in GetName()
166 } else if (service == (Service *)&g_service[INDEX2]) { in GetName()
211 if (service == (Service *)&g_service[INDEX0]) { in GetTaskConfig()
213 } else if (service == (Service *)&g_service[INDEX1]) { in GetTaskConfig()
215 } else if (service == (Service *)&g_service[INDEX2]) { in GetTaskConfig()
268 BOOL result = SAMGR_GetInstance()->RegisterService((Service *)&g_service[i]); in GServiceInit()
279 …sult1 = SAMGR_GetInstance()->RegisterDefaultFeatureApi(g_service[i].GetName((Service *)&g_service[… in GFeatureInit()
280 GET_IUNKNOWN(g_service[i])); in GFeatureInit()
[all …]
DLiteIPCServiceTest.cpp97 static DemoService g_service = { variable
125 BOOL result1 = SAMGR_GetInstance()->RegisterService((Service *)&g_service); in ServiceInit()
128 (&g_service)->serviceStatus = FALSE; in ServiceInit()
138 …OL result1 = SAMGR_GetInstance()->RegisterDefaultFeatureApi(SERVICE_NAME, GET_IUNKNOWN(g_service)); in FeatureInit()
140 (&g_service)->serviceStatus = FALSE; in FeatureInit()
178 ASSERT_EQ((&g_service)->serviceStatus, TRUE);
179 ASSERT_EQ((&g_service)->identity.serviceId != -1, TRUE);
DLiteIPCFeatureTest.cpp62 static DemoService g_service = { variable
144 BOOL result = SAMGR_GetInstance()->RegisterService((Service *)&g_service); in ServiceInit()
147 (&g_service)->serviceStatus = FALSE; in ServiceInit()
196 ASSERT_EQ((&g_service)->serviceStatus, TRUE);
DIUnknownTest.cpp73 static ExampleService g_service = { variable
137 BOOL result1 = SAMGR_GetInstance()->RegisterService((Service *)&g_service); in SetUp()
DDefaultFeatureApiTest.cpp61 static ExampleService g_service = { variable
83 BOOL result = SAMGR_GetInstance()->RegisterService((Service *)&g_service); in SetUp()
DFeatureTest.cpp69 static ExampleService g_service = { variable
146 BOOL result = SAMGR_GetInstance()->RegisterService((Service *)&g_service); in SetUp()
DBroadcastPublishTest.cpp76 static Service g_service = {GetName, Initialize, MessageHandle, GetTaskConfig}; variable
79 SAMGR_GetInstance()->RegisterService(&g_service); in GInit()
DSendShareRequestTest.cpp103 static ExampleService g_service = { variable
280 BOOL result = SAMGR_GetInstance()->RegisterService((Service *)&g_service); in GServiceInit()
DSendResponseTest.cpp93 static ExampleService g_service = { variable
285 SAMGR_GetInstance()->RegisterService((Service *)&g_service); in GServiceInit()
DBroadcastSubscribeTest.cpp74 static Service g_service = {GetName, Initialize, MessageHandle, GetTaskConfig}; variable
77 SAMGR_GetInstance()->RegisterService(&g_service); in GInit()
/test/xts/acts/distributed_schedule_lite/system_ability_manager_hal/src/
Dtaskpool_specifiedtask_func_test.c87 static DemoService g_service[] = { variable
118 if (service == (Service *)&g_service[0]) { in GetName()
139 if (service == (Service *)&g_service[0]) { in MessageHandle()
201 SAMGR_GetInstance()->RegisterService((Service *)&g_service[i]); in ServiceInit()
209 … SAMGR_GetInstance()->RegisterDefaultFeatureApi(g_service[i].GetName((Service *)&g_service[i]), in FeatureInit()
210 GET_IUNKNOWN(g_service[i])); in FeatureInit()
212 SAMGR_GetInstance()->RegisterFeature(g_service[i].GetName((Service *)&g_service[i]), in FeatureInit()
214 SAMGR_GetInstance()->RegisterFeatureApi(g_service[i].GetName((Service *)&g_service[i]), in FeatureInit()
299 g_service[0].serviceCalledCount = 0;
308 result2 = defaultApi->SendRequestProxyDF(&(g_service[0].identity), &request2, NULL);
[all …]
Dfeatureapi_func_test.c70 static ExampleService g_service = { variable
133 SAMGR_GetInstance()->RegisterService((Service *)&g_service);
152 SAMGR_GetInstance()->RegisterService((Service *)&g_service);
172 SAMGR_GetInstance()->RegisterService((Service *)&g_service);
189 SAMGR_GetInstance()->RegisterService((Service *)&g_service);
206 SAMGR_GetInstance()->RegisterService((Service *)&g_service);
227 SAMGR_GetInstance()->RegisterService((Service *)&g_service);
244 SAMGR_GetInstance()->RegisterService((Service *)&g_service);
261 SAMGR_GetInstance()->RegisterService((Service *)&g_service);
281 SAMGR_GetInstance()->RegisterService((Service *)&g_service);
[all …]
Dservice_func_test.c71 static ExampleService g_service = { variable
138 BOOL result = SAMGR_GetInstance()->RegisterService((Service *)&g_service);
162 SAMGR_GetInstance()->RegisterService((Service *)&g_service);
163 BOOL result = SAMGR_GetInstance()->RegisterService((Service *)&g_service);
175 SAMGR_GetInstance()->RegisterService((Service *)&g_service);
214 SAMGR_GetInstance()->RegisterService((Service *)&g_service);
215 SAMGR_GetInstance()->RegisterDefaultFeatureApi("serviceName101", GET_IUNKNOWN(g_service));
231 SAMGR_GetInstance()->RegisterService((Service *)&g_service);
250 BOOL result = SAMGR_GetInstance()->RegisterService((Service *)&g_service);
Dtaskpool_sharedtask_func_test.c94 static DemoService g_service[] = { variable
125 if (service == (Service *)&g_service[0]) { in GetName()
145 if (service == (Service *)&g_service[0]) { in MessageHandle()
156 if (service == (Service *)&g_service[0]) { in GetTaskConfig()
231 SAMGR_GetInstance()->RegisterService((Service *)&g_service[i]); in ServiceInit()
239 … SAMGR_GetInstance()->RegisterDefaultFeatureApi(g_service[i].GetName((Service *)&g_service[i]), in FeatureInit()
240 GET_IUNKNOWN(g_service[i])); in FeatureInit()
242 SAMGR_GetInstance()->RegisterFeature(g_service[i].GetName((Service *)&g_service[i]), in FeatureInit()
244 …SAMGR_GetInstance()->RegisterFeatureApi(g_service[i].GetName((Service *)&g_service[i]), "featureNa… in FeatureInit()
329 g_service[0].serviceCalledCount = 0;
[all …]
Dtaskpool_singletask_func_test.c105 static DemoService g_service[] = { variable
162 if (service == (Service *)&g_service[INDEX0]) { in GetName()
164 } else if (service == (Service *)&g_service[INDEX1]) { in GetName()
166 } else if (service == (Service *)&g_service[INDEX2]) { in GetName()
205 if (service == (Service *)&g_service[INDEX0]) { in GetTaskConfig()
207 } else if (service == (Service *)&g_service[INDEX1]) { in GetTaskConfig()
209 } else if (service == (Service *)&g_service[INDEX2]) { in GetTaskConfig()
264 BOOL result = SAMGR_GetInstance()->RegisterService((Service *)&g_service[i]); in ServiceInit()
275 …sult1 = SAMGR_GetInstance()->RegisterDefaultFeatureApi(g_service[i].GetName((Service *)&g_service[… in FeatureInit()
276 GET_IUNKNOWN(g_service[i])); in FeatureInit()
[all …]
Diunknown_func_test.c72 static ExampleService g_service = { variable
127 BOOL result1 = SAMGR_GetInstance()->RegisterService((Service *)&g_service); in IUnknownTestSuiteSetUp()
Ddefaultfeatureapi_func_test.c62 static ExampleService g_service = { variable
74 BOOL result = SAMGR_GetInstance()->RegisterService((Service *)&g_service); in DefaultFeatureApiTestSuiteSetUp()
Dfeature_func_test.c71 static ExampleService g_service = { variable
135 BOOL result = SAMGR_GetInstance()->RegisterService((Service *)&g_service); in FeatureTestSuiteSetUp()
Dbroadcast_publish_func_test.c80 static Service g_service = {GetName, Initialize, MessageHandle, GetTaskConfig}; variable
83 BOOL result = SAMGR_GetInstance()->RegisterService(&g_service); in Init()
Dsendsharerequest_func_test.c104 static ExampleService g_service = { variable
301 BOOL result = SAMGR_GetInstance()->RegisterService((Service *)&g_service); in ServiceInit()
Dsendresponse_func_test.c94 static ExampleService g_service = { variable
276 BOOL result = SAMGR_GetInstance()->RegisterService((Service *)&g_service); in ServiceInit()
Dbroadcast_subscribe_func_test.c78 static Service g_service = {GetName, Initialize, MessageHandle, GetTaskConfig}; variable
81 BOOL result = SAMGR_GetInstance()->RegisterService(&g_service); in Init()
/test/xts/hats/useriam/userauth/src/
Duser_auth_hdi.cpp25 static UserAuthInterfaceService g_service; variable
188 int32_t ret = g_service.Init();
209 int32_t ret = g_service.AddExecutor(info, index, publicKey, templateIds);
228 int32_t ret = g_service.GetCredential(userId, authType, infos);
248 int32_t ret = g_service.GetUserInfo(userId, secureUid, pinSubType, infos);
268 int32_t ret = g_service.DeleteUser(userId, authToken, deletedInfos);
290 …int32_t ret = g_service.BeginIdentification(contextId, authType, challenge, executorId, scheduleIn…
306 int32_t ret = g_service.DeleteExecutor(index);
324 int32_t ret = g_service.OpenSession(userId, challenge);
340 int32_t ret = g_service.CloseSession(userId);
[all …]

12