/test/xts/acts/distributed_schedule_lite/system_ability_manager_posix/src/ |
D | FeatureApiTest.cpp | 69 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 …]
|
D | ServiceTest.cpp | 68 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);
|
D | TaskpoolSingleTaskTest.cpp | 97 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 …]
|
D | LiteIPCServiceTest.cpp | 97 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);
|
D | LiteIPCFeatureTest.cpp | 62 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);
|
D | IUnknownTest.cpp | 73 static ExampleService g_service = { variable 137 BOOL result1 = SAMGR_GetInstance()->RegisterService((Service *)&g_service); in SetUp()
|
D | DefaultFeatureApiTest.cpp | 61 static ExampleService g_service = { variable 83 BOOL result = SAMGR_GetInstance()->RegisterService((Service *)&g_service); in SetUp()
|
D | FeatureTest.cpp | 69 static ExampleService g_service = { variable 146 BOOL result = SAMGR_GetInstance()->RegisterService((Service *)&g_service); in SetUp()
|
D | BroadcastPublishTest.cpp | 76 static Service g_service = {GetName, Initialize, MessageHandle, GetTaskConfig}; variable 79 SAMGR_GetInstance()->RegisterService(&g_service); in GInit()
|
D | SendShareRequestTest.cpp | 103 static ExampleService g_service = { variable 280 BOOL result = SAMGR_GetInstance()->RegisterService((Service *)&g_service); in GServiceInit()
|
D | SendResponseTest.cpp | 93 static ExampleService g_service = { variable 285 SAMGR_GetInstance()->RegisterService((Service *)&g_service); in GServiceInit()
|
D | BroadcastSubscribeTest.cpp | 74 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/ |
D | taskpool_specifiedtask_func_test.c | 87 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 …]
|
D | featureapi_func_test.c | 70 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 …]
|
D | service_func_test.c | 71 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);
|
D | taskpool_sharedtask_func_test.c | 94 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 …]
|
D | taskpool_singletask_func_test.c | 105 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 …]
|
D | iunknown_func_test.c | 72 static ExampleService g_service = { variable 127 BOOL result1 = SAMGR_GetInstance()->RegisterService((Service *)&g_service); in IUnknownTestSuiteSetUp()
|
D | defaultfeatureapi_func_test.c | 62 static ExampleService g_service = { variable 74 BOOL result = SAMGR_GetInstance()->RegisterService((Service *)&g_service); in DefaultFeatureApiTestSuiteSetUp()
|
D | feature_func_test.c | 71 static ExampleService g_service = { variable 135 BOOL result = SAMGR_GetInstance()->RegisterService((Service *)&g_service); in FeatureTestSuiteSetUp()
|
D | broadcast_publish_func_test.c | 80 static Service g_service = {GetName, Initialize, MessageHandle, GetTaskConfig}; variable 83 BOOL result = SAMGR_GetInstance()->RegisterService(&g_service); in Init()
|
D | sendsharerequest_func_test.c | 104 static ExampleService g_service = { variable 301 BOOL result = SAMGR_GetInstance()->RegisterService((Service *)&g_service); in ServiceInit()
|
D | sendresponse_func_test.c | 94 static ExampleService g_service = { variable 276 BOOL result = SAMGR_GetInstance()->RegisterService((Service *)&g_service); in ServiceInit()
|
D | broadcast_subscribe_func_test.c | 78 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/ |
D | user_auth_hdi.cpp | 25 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 …]
|