Home
last modified time | relevance | path

Searched refs:SetAbilityEnabled (Results 1 - 25 of 31) sorted by relevance

12

/foundation/bundlemanager/bundle_tool/test/mock/
H A Dmock_bundle_mgr_host.h35 ErrCode SetAbilityEnabled(const AbilityInfo &abilityInfo, bool isEnable,
H A Dmock_bundle_mgr_host.cpp63 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 Dbundle_resource_helper.h48 static void SetAbilityEnabled(const std::string &bundleName, const std::string &moduleName,
H A Dbundle_mgr_host_impl.h632 virtual ErrCode SetAbilityEnabled(const AbilityInfo &abilityInfo, bool isEnabled,
H A Dbundle_data_mgr.h473 ErrCode SetAbilityEnabled(const AbilityInfo &abilityInfo, int32_t appIndex, bool isEnabled,
H A Dinner_bundle_info.h1128 ErrCode SetAbilityEnabled(
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/bundlemgr/
H A Dnative_module.cpp100 DECLARE_NAPI_FUNCTION("setAbilityEnabled", SetAbilityEnabled), in Init()
H A Dbundle_mgr.h334 napi_value SetAbilityEnabled(napi_env env, napi_callback_info info);
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/bundle_manager/
H A Dnative_module.cpp108 DECLARE_NAPI_FUNCTION("setAbilityEnabled", SetAbilityEnabled), in BundleManagerExport()
H A Dbundle_manager.h296 napi_value SetAbilityEnabled(napi_env env, napi_callback_info info);
H A Dbundle_manager_sync.cpp212 ErrCode ret = CommonFunc::ConvertErrCode(iBundleMgr->SetAbilityEnabled(abilityInfo, isEnable)); in SetAbilityEnabledSync()
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_application/bundlemgrproxy_fuzzer/
H A Dbundlemgrproxy_fuzzer.cpp56 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 Dbms_bundle_kit_service_test.cpp4965 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 Dbundle_mgr_interface.h910 virtual ErrCode SetAbilityEnabled(const AbilityInfo &abilityInfo, bool isEnabled, in SetAbilityEnabled() function in OHOS::AppExecFwk::IBundleMgr
H A Dbundle_mgr_proxy.h653 virtual ErrCode SetAbilityEnabled(const AbilityInfo &abilityInfo, bool isEnabled,
/foundation/bundlemanager/bundle_framework/test/benchmarktest/bundlemgr_proxy_test/
H A Dbundlemgr_proxy_test.cpp893 * @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 Dbms_bundle_permission_false_test.cpp631 * @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 Dbms_bundle_permission_system_app_test.cpp506 * @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 Dbms_bundle_manager_test.cpp2121 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 Dbundle_mgr_host_impl.cpp2198 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 Dbundle_data_mgr.cpp220 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 Dbundle_command.cpp2229 ret = bundleMgrProxy_->SetAbilityEnabled(abilityInfo, isEnable, userId); in SetApplicationEnabledOperation()
/foundation/bundlemanager/bundle_framework/test/systemtest/common/bms/acts_bms_kit_system_test/
H A Dacts_bms_kit_system_test.cpp6340 * @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 Dbms_bundle_data_storage_database_test.cpp2159 auto ret = info.SetAbilityEnabled("", "", isEnabled, userId); in HWTEST_F()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_data_mgr_test/
H A Dbms_data_mgr_test.cpp881 info1.SetAbilityEnabled(Constants::EMPTY_STRING, ABILITY_NAME, true, USERID); in HWTEST_F()

Completed in 112 milliseconds

12