/foundation/bundlemanager/bundle_tool/test/mock/ |
H A D | mock_bundle_mgr_host.h | 35 ErrCode SetAbilityEnabled(const AbilityInfo &abilityInfo, bool isEnable,
|
H A D | mock_bundle_mgr_host.cpp | 63 ErrCode MockBundleMgrHost::SetAbilityEnabled(const AbilityInfo &abilityInfo, bool isEnable, int32_t userId) in SetAbilityEnabled() function in OHOS::AppExecFwk::MockBundleMgrHost
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/ |
H A D | bundle_resource_helper.h | 48 static void SetAbilityEnabled(const std::string &bundleName, const std::string &moduleName,
|
H A D | bundle_mgr_host_impl.h | 632 virtual ErrCode SetAbilityEnabled(const AbilityInfo &abilityInfo, bool isEnabled,
|
H A D | bundle_data_mgr.h | 473 ErrCode SetAbilityEnabled(const AbilityInfo &abilityInfo, int32_t appIndex, bool isEnabled,
|
H A D | inner_bundle_info.h | 1128 ErrCode SetAbilityEnabled(
|
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/bundlemgr/ |
H A D | native_module.cpp | 100 DECLARE_NAPI_FUNCTION("setAbilityEnabled", SetAbilityEnabled), in Init()
|
H A D | bundle_mgr.h | 334 napi_value SetAbilityEnabled(napi_env env, napi_callback_info info);
|
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/bundle_manager/ |
H A D | native_module.cpp | 108 DECLARE_NAPI_FUNCTION("setAbilityEnabled", SetAbilityEnabled), in BundleManagerExport()
|
H A D | bundle_manager.h | 296 napi_value SetAbilityEnabled(napi_env env, napi_callback_info info);
|
H A D | bundle_manager_sync.cpp | 212 ErrCode ret = CommonFunc::ConvertErrCode(iBundleMgr->SetAbilityEnabled(abilityInfo, isEnable)); in SetAbilityEnabledSync()
|
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_application/bundlemgrproxy_fuzzer/ |
H A D | bundlemgrproxy_fuzzer.cpp | 56 bundleMgrProxy.SetAbilityEnabled(abilityInfo, isEnable, reinterpret_cast<uintptr_t>(data)); in DoSomethingInterestingWithMyAPI()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_kit_service_test/ |
H A D | bms_bundle_kit_service_test.cpp | 4965 int32_t testRet = GetBundleDataMgr()->SetAbilityEnabled(abilityInfo, 0, true, Constants::DEFAULT_USERID); in HWTEST_F() 4985 int32_t testRet = GetBundleDataMgr()->SetAbilityEnabled(abilityInfo, 0, false, Constants::DEFAULT_USERID); in HWTEST_F() 4991 int32_t testRet2 = GetBundleDataMgr()->SetAbilityEnabled(abilityInfo, 0, true, Constants::DEFAULT_USERID); in HWTEST_F() 5024 int32_t testRet = GetBundleDataMgr()->SetAbilityEnabled(abilityInfoEmpty, 0, false, Constants::DEFAULT_USERID); in HWTEST_F() 5044 int32_t testRet = GetBundleDataMgr()->SetAbilityEnabled(abilityInfo, 0, true, Constants::DEFAULT_USERID); in HWTEST_F() 5066 int32_t testRet = GetBundleDataMgr()->SetAbilityEnabled(abilityInfo, 0, true, Constants::DEFAULT_USERID); in HWTEST_F() 5089 int32_t testRet = GetBundleDataMgr()->SetAbilityEnabled(abilityInfo, 0, true, Constants::DEFAULT_USERID); in HWTEST_F() 5112 int32_t testRet = GetBundleDataMgr()->SetAbilityEnabled(abilityInfo, 0, true, Constants::DEFAULT_USERID); in HWTEST_F() 5185 int32_t testRet = GetBundleDataMgr()->SetAbilityEnabled(abilityInfo, 0, true, Constants::DEFAULT_USERID); in HWTEST_F() 5206 int32_t testRet = hostImpl->SetAbilityEnabled(abilityInf in HWTEST_F() [all...] |
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/include/bundlemgr/ |
H A D | bundle_mgr_interface.h | 910 virtual ErrCode SetAbilityEnabled(const AbilityInfo &abilityInfo, bool isEnabled, in SetAbilityEnabled() function in OHOS::AppExecFwk::IBundleMgr
|
H A D | bundle_mgr_proxy.h | 653 virtual ErrCode SetAbilityEnabled(const AbilityInfo &abilityInfo, bool isEnabled,
|
/foundation/bundlemanager/bundle_framework/test/benchmarktest/bundlemgr_proxy_test/ |
H A D | bundlemgr_proxy_test.cpp | 893 * @tc.desc: Testcase for testing SetAbilityEnabled.
907 /* @tc.steps: step1.call SetAbilityEnabled in loop */
in BenchmarkTestSetAbilityEnabled() 908 bundleMgrProxy->SetAbilityEnabled(info, false);
in BenchmarkTestSetAbilityEnabled()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_permission_grant_test/ |
H A D | bms_bundle_permission_false_test.cpp | 631 * @tc.name: test SetAbilityEnabled of BundleMgrHostImpl 633 * 2. SetAbilityEnabled false by no permission 639 ErrCode ret = bundleMgrHostImpl_->SetAbilityEnabled(abilityInfo, isEnable, USERID); in HWTEST_F()
|
H A D | bms_bundle_permission_system_app_test.cpp | 506 * @tc.name: test SetAbilityEnabled of BundleMgrHostImpl 508 * 2. SetAbilityEnabled false by no permission 514 ErrCode ret = bundleMgrHostImpl_->SetAbilityEnabled(abilityInfo, isEnable, USERID); in HWTEST_F()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_manager_test/ |
H A D | bms_bundle_manager_test.cpp | 2121 ErrCode ret = info.SetAbilityEnabled( in HWTEST_F() 2808 retCode = hostImpl->SetAbilityEnabled(abilityInfo, isEnabled, USERID); in HWTEST_F() 3382 * @tc.name: test SetAbilityEnabled 3392 testRet = GetBundleDataMgr()->SetAbilityEnabled( in HWTEST_F() 3395 testRet = GetBundleDataMgr()->SetAbilityEnabled( in HWTEST_F() 3657 * @tc.name: test IsAbilityEnabled and SetAbilityEnabled 3668 testRet = GetBundleDataMgr()->SetAbilityEnabled( in HWTEST_F()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/ |
H A D | bundle_mgr_host_impl.cpp | 2198 ErrCode BundleMgrHostImpl::SetAbilityEnabled(const AbilityInfo &abilityInfo, bool isEnabled, int32_t userId) in SetAbilityEnabled() function in OHOS::AppExecFwk::BundleMgrHostImpl 2201 APP_LOGW_NOFUNC("SetAbilityEnabled %{public}s %{public}d %{public}d callingUid:%{public}d", in SetAbilityEnabled() 2227 auto ret = dataMgr->SetAbilityEnabled(abilityInfo, 0, isEnabled, userId); in SetAbilityEnabled() 2276 auto ret = dataMgr->SetAbilityEnabled(abilityInfo, appIndex, isEnabled, userId); in SetCloneAbilityEnabled()
|
H A D | bundle_data_mgr.cpp | 220 newInfo.SetAbilityEnabled("", disabledAbility, false, bundleUserState.first); in LoadAllBundleStateDataFromJsonDb() 4365 ErrCode BundleDataMgr::SetAbilityEnabled(const AbilityInfo &abilityInfo, int32_t appIndex, in SetAbilityEnabled() function in OHOS::AppExecFwk::BundleDataMgr 4395 ErrCode ret = newInfo.SetAbilityEnabled( in SetAbilityEnabled() 4398 APP_LOGW("SetAbilityEnabled failed result: %{public}d, bundleName:%{public}s, abilityName:%{public}s", in SetAbilityEnabled()
|
/foundation/bundlemanager/bundle_tool/frameworks/src/ |
H A D | bundle_command.cpp | 2229 ret = bundleMgrProxy_->SetAbilityEnabled(abilityInfo, isEnable, userId); in SetApplicationEnabledOperation()
|
/foundation/bundlemanager/bundle_framework/test/systemtest/common/bms/acts_bms_kit_system_test/ |
H A D | acts_bms_kit_system_test.cpp | 6340 * @tc.name: test SetAbilityEnabled and IsAbilityEnabled proxy 6363 int32_t testRet = bundleMgrProxy->SetAbilityEnabled(abilityInfo, false, USERID); in HWTEST_F() 6378 * @tc.name: test SetAbilityEnabled and IsAbilityEnabled proxy 6400 int32_t testRet = bundleMgrProxy->SetAbilityEnabled(abilityInfo, false, USERID); in HWTEST_F() 6412 * @tc.name: test SetAbilityEnabled and IsAbilityEnabled proxy 6435 int32_t testRet = bundleMgrProxy->SetAbilityEnabled(abilityInfo, false, USERID); in HWTEST_F() 6450 * @tc.name: test SetAbilityEnabled and IsAbilityEnabled proxy 6473 int32_t testRet = bundleMgrProxy->SetAbilityEnabled(abilityInfo, false, USERID); in HWTEST_F()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_data_storage_test/ |
H A D | bms_bundle_data_storage_database_test.cpp | 2159 auto ret = info.SetAbilityEnabled("", "", isEnabled, userId); in HWTEST_F()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_data_mgr_test/ |
H A D | bms_data_mgr_test.cpp | 881 info1.SetAbilityEnabled(Constants::EMPTY_STRING, ABILITY_NAME, true, USERID); in HWTEST_F()
|