/foundation/systemabilitymgr/samgr/services/samgr/native/test/unittest/src/ |
H A D | system_ability_mgr_ondemand_test.cpp | 443 * @tc.desc: test GetOnDemandPolicy with OnDemandPolicyType is valid 453 int32_t ret = saMgr->GetOnDemandPolicy(systemAbilityId, type, abilityOnDemandEvents); in HWTEST_F() 458 * @tc.desc: test GetOnDemandPolicy with OnDemandPolicyType is valid 469 int32_t ret = saMgr->GetOnDemandPolicy(systemAbilityId, type, abilityOnDemandEvents); in HWTEST_F() 486 int32_t ret = saMgr->GetOnDemandPolicy(systemAbilityId, type, abilityOnDemandEvents); in HWTEST_F() 505 int32_t ret = saMgr->GetOnDemandPolicy(systemAbilityId, type, abilityOnDemandEvents); in HWTEST_F() 524 int32_t ret = saMgr->GetOnDemandPolicy(systemAbilityId, type, abilityOnDemandEvents); in HWTEST_F() 550 int32_t ret = saMgr->GetOnDemandPolicy(systemAbilityId, type, abilityOnDemandEvents); in HWTEST_F()
|
H A D | manual_ondemand_helper.cpp | 1002 void OnDemandHelper::GetOnDemandPolicy(int32_t systemAbilityId, OnDemandPolicyType type) in GetOnDemandPolicy() function in OHOS::OnDemandHelper 1011 int32_t ret = sm->GetOnDemandPolicy(systemAbilityId, type, abilityOnDemandEvents); in GetOnDemandPolicy() 1013 cout << "GetOnDemandPolicy failed" << endl; in GetOnDemandPolicy() 1016 cout << "GetOnDemandPolicy success" << endl; in GetOnDemandPolicy() 1316 ondemandHelper.GetOnDemandPolicy(systemAbilityId, OnDemandPolicyType::START_POLICY); in TestOnDemandPolicy() 1318 ondemandHelper.GetOnDemandPolicy(systemAbilityId, OnDemandPolicyType::STOP_POLICY); in TestOnDemandPolicy() 1426 ondemandHelper.GetOnDemandPolicy(systemAbilityId, OnDemandPolicyType::START_POLICY); in TestOnDemandPolicy1() 1428 ondemandHelper.GetOnDemandPolicy(systemAbilityId, OnDemandPolicyType::STOP_POLICY); in TestOnDemandPolicy1()
|
H A D | ondemand_helper.cpp | 997 void OnDemandHelper::GetOnDemandPolicy(int32_t systemAbilityId, OnDemandPolicyType type) in GetOnDemandPolicy() function in OHOS::OnDemandHelper 1006 int32_t ret = sm->GetOnDemandPolicy(systemAbilityId, type, abilityOnDemandEvents); in GetOnDemandPolicy() 1008 cout << "GetOnDemandPolicy failed" << endl; in GetOnDemandPolicy() 1011 cout << "GetOnDemandPolicy success" << endl; in GetOnDemandPolicy() 1282 ondemandHelper.GetOnDemandPolicy(systemAbilityId, OnDemandPolicyType::START_POLICY); in TestOnDemandPolicy() 1284 ondemandHelper.GetOnDemandPolicy(systemAbilityId, OnDemandPolicyType::STOP_POLICY); in TestOnDemandPolicy() 1385 ondemandHelper.GetOnDemandPolicy(systemAbilityId, OnDemandPolicyType::START_POLICY); in TestOnDemandPolicy1() 1387 ondemandHelper.GetOnDemandPolicy(systemAbilityId, OnDemandPolicyType::STOP_POLICY); in TestOnDemandPolicy1()
|
H A D | system_ability_mgr_proxy_test.cpp | 1123 int32_t result = samgrProxy->GetOnDemandPolicy(systemAbilityId, type, abilityOnDemandEvents); in HWTEST_F()
|
/foundation/ability/ability_runtime/test/mock/common/include/ |
H A D | mock_system_ability_manager.h | 54 MOCK_METHOD3(GetOnDemandPolicy, int32_t(int32_t, OnDemandPolicyType, std::vector<SystemAbilityOnDemandEvent> &));
|
/foundation/systemabilitymgr/samgr/services/samgr/native/test/unittest/include/ |
H A D | ondemand_helper.h | 49 void GetOnDemandPolicy(int32_t systemAbilityId, OnDemandPolicyType type);
|
H A D | manual_ondemand_helper.h | 56 void GetOnDemandPolicy(int32_t systemAbilityId, OnDemandPolicyType type);
|
/foundation/ability/form_fwk/test/unittest/form_mgr_test/ |
H A D | mock_system_ability_manager.h | 145 int32_t GetOnDemandPolicy(int32_t systemAbilityId, OnDemandPolicyType type, in GetOnDemandPolicy() function in OHOS::MockSystemAbilityManager
|
/foundation/bundlemanager/app_domain_verify/test/unittest/mock/src/ |
H A D | mock_service_registry.cpp | 202 int32_t SystemAbilityManagerProxy::GetOnDemandPolicy( in GetOnDemandPolicy() function in OHOS::SystemAbilityManagerProxy
|
/foundation/filemanagement/dfs_service/test/mock/ |
H A D | if_system_ability_manager_mock.h | 55 MOCK_METHOD3(GetOnDemandPolicy, int32_t(int32_t systemAbilityId, OnDemandPolicyType type,
|
/foundation/filemanagement/user_file_service/test/unittest/mock/ |
H A D | if_system_ability_manager_mock.h | 55 MOCK_METHOD3(GetOnDemandPolicy, int32_t(int32_t systemAbilityId, OnDemandPolicyType type,
|
/foundation/barrierfree/accessibility/services/test/mock/ |
H A D | mock_service_registry.cpp | 208 int32_t SystemAbilityManagerProxy::GetOnDemandPolicy(int32_t systemAbilityId, OnDemandPolicyType type, in GetOnDemandPolicy() function in OHOS::SystemAbilityManagerProxy
|
/foundation/systemabilitymgr/samgr/interfaces/innerkits/samgr_proxy/include/ |
H A D | system_ability_manager_proxy.h | 262 int32_t GetOnDemandPolicy(int32_t systemAbilityId, OnDemandPolicyType type,
|
H A D | if_system_ability_manager.h | 312 virtual int32_t GetOnDemandPolicy(int32_t systemAbilityId, OnDemandPolicyType type,
|
/foundation/systemabilitymgr/samgr/services/samgr/native/include/ |
H A D | system_ability_manager.h | 186 int32_t GetOnDemandPolicy(int32_t systemAbilityId, OnDemandPolicyType type,
|
/foundation/systemabilitymgr/samgr/frameworks/native/source/ |
H A D | system_ability_manager_proxy.cpp | 1211 int32_t SystemAbilityManagerProxy::GetOnDemandPolicy(int32_t systemAbilityId, OnDemandPolicyType type, in GetOnDemandPolicy() function in OHOS::SystemAbilityManagerProxy 1214 HILOGD("GetOnDemandPolicy called"); in GetOnDemandPolicy() 1217 HILOGI("GetOnDemandPolicy remote is nullptr"); in GetOnDemandPolicy() 1223 HILOGE("GetOnDemandPolicy write interface token failed!"); in GetOnDemandPolicy() 1227 HILOGE("GetOnDemandPolicy write said failed!"); in GetOnDemandPolicy() 1231 HILOGE("GetOnDemandPolicy write type failed!"); in GetOnDemandPolicy() 1240 HILOGE("GetOnDemandPolicy SendRequest error: %{public}d!", err); in GetOnDemandPolicy() 1243 HILOGD("GetOnDemandPolicy SendRequest succeed!"); in GetOnDemandPolicy() 1246 HILOGE("GetOnDemandPolicy Read result failed!"); in GetOnDemandPolicy() 1250 HILOGE("GetOnDemandPolicy faile in GetOnDemandPolicy() [all...] |
/foundation/systemabilitymgr/samgr/services/samgr/native/source/ |
H A D | system_ability_manager_stub.cpp | 989 int32_t result = GetOnDemandPolicy(systemAbilityId, typeEnum, abilityOnDemandEvents); in GetOnDemandPolicyInner()
|
H A D | system_ability_manager.cpp | 383 int32_t SystemAbilityManager::GetOnDemandPolicy(int32_t systemAbilityId, OnDemandPolicyType type, in GetOnDemandPolicy() function in OHOS::SystemAbilityManager 388 HILOGE("GetOnDemandPolicy invalid SA:%{public}d", systemAbilityId); in GetOnDemandPolicy() 392 HILOGE("GetOnDemandPolicy invalid caller SA:%{public}d", systemAbilityId); in GetOnDemandPolicy() 396 HILOGE("GetOnDemandPolicy not allow get SA:%{public}d", systemAbilityId); in GetOnDemandPolicy() 401 HILOGE("GetOnDemandPolicy collectManager is nullptr"); in GetOnDemandPolicy() 408 HILOGE("GetOnDemandPolicy add collect event failed"); in GetOnDemandPolicy() 416 HILOGI("GetOnDemandPolicy policy size : %{public}zu.", abilityOnDemandEvents.size()); in GetOnDemandPolicy()
|