Searched refs:SERVICE_NAME (Results 1 – 5 of 5) sorted by relevance
/test/xts/acts/distributed_schedule_lite/system_ability_manager_hal/src/ |
D | iunknown_func_test.c | 21 #define SERVICE_NAME "S_iunknown" macro 37 return SERVICE_NAME; in GetName() 128 BOOL result2 = SAMGR_GetInstance()->RegisterFeature(SERVICE_NAME, (Feature *)&g_feature); in IUnknownTestSuiteSetUp() 139 SAMGR_GetInstance()->UnregisterFeature(SERVICE_NAME, FEATURE_NAME); in IUnknownTestSuiteTearDown() 140 SAMGR_GetInstance()->UnregisterService(SERVICE_NAME); in IUnknownTestSuiteTearDown() 178 SAMGR_GetInstance()->RegisterFeatureApi(SERVICE_NAME, FEATURE_NAME, GET_IUNKNOWN(g_feature)); 180 IUnknown *iUnknown = SAMGR_GetInstance()->GetFeatureApi(SERVICE_NAME, FEATURE_NAME); 187 SAMGR_GetInstance()->UnregisterFeatureApi(SERVICE_NAME, FEATURE_NAME); 197 SAMGR_GetInstance()->RegisterFeatureApi(SERVICE_NAME, FEATURE_NAME, GET_IUNKNOWN(g_feature)); 199 IUnknown *iUnknown = SAMGR_GetInstance()->GetFeatureApi(SERVICE_NAME, FEATURE_NAME); [all …]
|
/test/xts/acts/distributed_schedule_lite/system_ability_manager_posix/src/ |
D | IUnknownTest.cpp | 22 static const char *SERVICE_NAME = "S_iunknown"; variable 38 return SERVICE_NAME; in GetName() 138 BOOL result2 = SAMGR_GetInstance()->RegisterFeature(SERVICE_NAME, (Feature *)&g_feature); in SetUp() 146 Feature *feature = SAMGR_GetInstance()->UnregisterFeature(SERVICE_NAME, FEATURE_NAME); in TearDown() 150 Service *service = SAMGR_GetInstance()->UnregisterService(SERVICE_NAME); in TearDown() 185 SAMGR_GetInstance()->RegisterFeatureApi(SERVICE_NAME, FEATURE_NAME, GET_IUNKNOWN(g_feature)); 187 IUnknown *iUnknown = SAMGR_GetInstance()->GetFeatureApi(SERVICE_NAME, FEATURE_NAME); 199 SAMGR_GetInstance()->UnregisterFeatureApi(SERVICE_NAME, FEATURE_NAME); 208 SAMGR_GetInstance()->RegisterFeatureApi(SERVICE_NAME, FEATURE_NAME, GET_IUNKNOWN(g_feature)); 210 IUnknown *iUnknown = SAMGR_GetInstance()->GetFeatureApi(SERVICE_NAME, FEATURE_NAME); [all …]
|
D | LiteIPCServiceTest.cpp | 25 static const char *SERVICE_NAME = {"ipcService01"}; variable 43 return SERVICE_NAME; in GetName() 138 …BOOL result1 = SAMGR_GetInstance()->RegisterDefaultFeatureApi(SERVICE_NAME, GET_IUNKNOWN(g_service… in FeatureInit() 142 …BOOL result2 = SAMGR_GetInstance()->RegisterDefaultFeatureApi(SERVICE_NAME, GET_IUNKNOWN(g_service… in FeatureInit() 191 IUnknown *iUnknown = SAMGR_GetInstance()->GetDefaultFeatureApi(SERVICE_NAME); 213 IUnknown *iUnknown = SAMGR_GetInstance()->GetDefaultFeatureApi(SERVICE_NAME); 228 IUnknown *iUnknown = SAMGR_GetInstance()->UnregisterDefaultFeatureApi(SERVICE_NAME); 231 Service *service = SAMGR_GetInstance()->UnregisterService(SERVICE_NAME);
|
D | LiteIPCFeatureTest.cpp | 25 static const char *SERVICE_NAME = {"ipcService02"}; variable 37 return SERVICE_NAME; in GetName() 154 BOOL result = SAMGR_GetInstance()->RegisterFeature(SERVICE_NAME, (Feature *)&g_feature); in FeatureInit() 159 …result = SAMGR_GetInstance()->RegisterFeatureApi(SERVICE_NAME, FEATURE_NAME, GET_IUNKNOWN(g_featur… in FeatureInit() 208 IUnknown *iUnknown = SAMGR_GetInstance()->GetFeatureApi(SERVICE_NAME, FEATURE_NAME); 230 IUnknown *iUnknown = SAMGR_GetInstance()->GetFeatureApi(SERVICE_NAME, FEATURE_NAME); 245 IUnknown *iUnknown = SAMGR_GetInstance()->UnregisterFeatureApi(SERVICE_NAME, FEATURE_NAME); 248 Feature *feature = SAMGR_GetInstance()->UnregisterFeature(SERVICE_NAME, FEATURE_NAME); 251 Service *service = SAMGR_GetInstance()->UnregisterService(SERVICE_NAME);
|
/test/xts/acts/bundlemanager/bundle_standard/bundlemanager/actsbundlemanageretstest/entry/src/main/ets/test/ |
D | GetAbilityIcon.test.ets | 22 const SERVICE_NAME = "com.open.harmony.packagemag.ServiceAbility"; 77 await bundle.getAbilityIcon(BUNDLE_NAME, SERVICE_NAME).then(pixelmap => { 83 bundle.getAbilityIcon(BUNDLE_NAME, SERVICE_NAME, (err, pixelmap) => {
|