/foundation/bundlemanager/bundle_tool/test/mock/ |
H A D | mock_bundle_mgr_host.h | 33 ErrCode SetApplicationEnabled(const std::string &bundleName, bool isEnable,
|
H A D | mock_bundle_mgr_host.cpp | 55 ErrCode MockBundleMgrHost::SetApplicationEnabled(const std::string &bundleName, bool isEnable, int32_t userId) in SetApplicationEnabled() function in OHOS::AppExecFwk::MockBundleMgrHost
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/ |
H A D | bundle_resource_helper.h | 45 static void SetApplicationEnabled(const std::string &bundleName, bool enabled, const int32_t userId,
|
H A D | bundle_mgr_host_impl.h | 596 virtual ErrCode SetApplicationEnabled(const std::string &bundleName, bool isEnable,
|
H A D | bundle_data_mgr.h | 456 ErrCode SetApplicationEnabled(const std::string &bundleName, int32_t appIndex, bool isEnable,
|
H A D | inner_bundle_info.h | 506 * @return Returns ERR_OK if the SetApplicationEnabled is successfully; returns error code otherwise. 508 ErrCode SetApplicationEnabled(bool enabled, int32_t userId = Constants::UNSPECIFIED_USERID);
|
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/bundlemgr/ |
H A D | native_module.cpp | 101 DECLARE_NAPI_FUNCTION("setApplicationEnabled", SetApplicationEnabled), in Init()
|
H A D | bundle_mgr.h | 335 napi_value SetApplicationEnabled(napi_env env, napi_callback_info info);
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/ |
H A D | bundle_user_mgr_host_impl.cpp | 434 dataMgr->SetApplicationEnabled(Constants::SCENE_BOARD_BUNDLE_NAME, 0, sceneBoardEnable, userId); in HandleSceneBoard() 435 dataMgr->SetApplicationEnabled(ServiceConstants::LAUNCHER_BUNDLE_NAME, 0, !sceneBoardEnable, userId); in HandleSceneBoard()
|
H A D | bundle_mgr_host_impl.cpp | 2057 ErrCode BundleMgrHostImpl::SetApplicationEnabled(const std::string &bundleName, bool isEnable, int32_t userId) in SetApplicationEnabled() function in OHOS::AppExecFwk::BundleMgrHostImpl 2060 APP_LOGW_NOFUNC("SetApplicationEnabled %{public}s %{public}d %{public}d callingUid:%{public}d", in SetApplicationEnabled() 2085 auto ret = dataMgr->SetApplicationEnabled(bundleName, 0, isEnable, userId); in SetApplicationEnabled() 2138 auto ret = dataMgr->SetApplicationEnabled(bundleName, appIndex, isEnable, userId); in SetCloneApplicationEnabled()
|
H A D | bundle_mgr_service_event_handler.cpp | 3453 dataMgr->SetApplicationEnabled(ServiceConstants::SYSTEM_UI_BUNDLE_NAME, 0, !sceneBoardEnable, in HandleSceneBoard() 3460 dataMgr->SetApplicationEnabled(Constants::SCENE_BOARD_BUNDLE_NAME, 0, sceneBoardEnable, userId); in HandleSceneBoard() 3461 dataMgr->SetApplicationEnabled(ServiceConstants::LAUNCHER_BUNDLE_NAME, 0, !sceneBoardEnable, userId); in HandleSceneBoard()
|
H A D | bundle_data_mgr.cpp | 218 newInfo.SetApplicationEnabled(tempUserInfo.enabled, bundleUserState.first); in LoadAllBundleStateDataFromJsonDb() 4227 ErrCode BundleDataMgr::SetApplicationEnabled(const std::string &bundleName, in SetApplicationEnabled() function in OHOS::AppExecFwk::BundleDataMgr 4230 APP_LOGD("SetApplicationEnabled %{public}s", bundleName.c_str()); in SetApplicationEnabled() 4256 auto ret = newInfo.SetApplicationEnabled(isEnable, requestUserId); in SetApplicationEnabled() 4258 APP_LOGW("SetApplicationEnabled failed, err %{public}d", ret); in SetApplicationEnabled()
|
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/bundle_manager/ |
H A D | native_module.cpp | 106 DECLARE_NAPI_FUNCTION("setApplicationEnabled", SetApplicationEnabled), in BundleManagerExport()
|
H A D | bundle_manager.h | 295 napi_value SetApplicationEnabled(napi_env env, napi_callback_info info);
|
H A D | bundle_manager_sync.cpp | 171 ErrCode ret = CommonFunc::ConvertErrCode(iBundleMgr->SetApplicationEnabled(bundleName, isEnable)); in SetApplicationEnabledSync()
|
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_application/bundlemgrproxy_fuzzer/ |
H A D | bundlemgrproxy_fuzzer.cpp | 52 bundleMgrProxy.SetApplicationEnabled(bundleName, isEnable, reinterpret_cast<uintptr_t>(data)); in DoSomethingInterestingWithMyAPI()
|
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/include/bundlemgr/ |
H A D | bundle_mgr_interface.h | 862 virtual ErrCode SetApplicationEnabled(const std::string &bundleName, bool isEnable, in SetApplicationEnabled() function in OHOS::AppExecFwk::IBundleMgr
|
H A D | bundle_mgr_proxy.h | 617 virtual ErrCode SetApplicationEnabled(const std::string &bundleName, bool isEnable,
|
/foundation/bundlemanager/bundle_framework/test/benchmarktest/bundlemgr_proxy_test/ |
H A D | bundlemgr_proxy_test.cpp | 852 * @tc.desc: Testcase for testing SetApplicationEnabled.
864 /* @tc.steps: step1.call SetApplicationEnabled in loop */
in BenchmarkTestSetApplicationEnabled() 865 bundleMgrProxy->SetApplicationEnabled(BUNDLE_NAME, false);
in BenchmarkTestSetApplicationEnabled()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_manager_test/ |
H A D | bms_bundle_manager_test.cpp | 2136 ErrCode ret = info.SetApplicationEnabled(enabled, USERID); in HWTEST_F() 2633 retCode = hostImpl->SetApplicationEnabled("", isRemovable, USERID); in HWTEST_F() 2805 retCode = hostImpl->SetApplicationEnabled("", isEnabled, USERID); in HWTEST_F() 2830 auto retCode = hostImpl->SetApplicationEnabled("", isEnabled, USERID); in HWTEST_F() 3388 ErrCode testRet = GetBundleDataMgr()->SetApplicationEnabled( in HWTEST_F() 3629 * @tc.name: test SetApplicationEnabled 3636 ErrCode testRet = GetBundleDataMgr()->SetApplicationEnabled( in HWTEST_F() 5586 auto ret = dataMgr->SetApplicationEnabled(BUNDLE_BACKUP_NAME, 0, false, USERID); in HWTEST_F()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_permission_grant_test/ |
H A D | bms_bundle_permission_false_test.cpp | 618 * @tc.name: test SetApplicationEnabled of BundleMgrHostImpl 620 * 2. SetApplicationEnabled false by no permission 625 ErrCode ret = bundleMgrHostImpl_->SetApplicationEnabled(BUNDLE_NAME, isEnable, USERID); in HWTEST_F()
|
H A D | bms_bundle_permission_system_app_test.cpp | 493 * @tc.name: test SetApplicationEnabled of BundleMgrHostImpl 495 * 2. SetApplicationEnabled false by no permission 500 ErrCode ret = bundleMgrHostImpl_->SetApplicationEnabled(BUNDLE_NAME, isEnable, USERID); in HWTEST_F()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_kit_service_test/ |
H A D | bms_bundle_kit_service_test.cpp | 4003 int32_t testRet = GetBundleDataMgr()->SetApplicationEnabled(BUNDLE_NAME_TEST, 0, true, Constants::DEFAULT_USERID); in HWTEST_F() 4023 int32_t testRet = GetBundleDataMgr()->SetApplicationEnabled(BUNDLE_NAME_TEST, 0, false, Constants::DEFAULT_USERID); in HWTEST_F() 4030 int32_t testRet2 = GetBundleDataMgr()->SetApplicationEnabled(BUNDLE_NAME_TEST, 0, true, Constants::DEFAULT_USERID); in HWTEST_F() 4062 int32_t testRet = GetBundleDataMgr()->SetApplicationEnabled("", 0, true, Constants::DEFAULT_USERID); in HWTEST_F() 4082 int32_t testRet = GetBundleDataMgr()->SetApplicationEnabled(BUNDLE_NAME_TEST, 0, true, Constants::DEFAULT_USERID); in HWTEST_F() 4106 int32_t testRet = bundleMgrProxy->SetApplicationEnabled("", true, Constants::DEFAULT_USERID); in HWTEST_F() 4126 ErrCode testRet = hostImpl->SetApplicationEnabled("", true, Constants::UNSPECIFIED_USERID); in HWTEST_F() 4144 ErrCode testRet = GetBundleDataMgr()->SetApplicationEnabled("", 0, true, Constants::INVALID_USERID); in HWTEST_F() 4150 * @tc.name: test hostImpl->SetApplicationEnabled 4160 ErrCode testRet = hostImpl->SetApplicationEnabled(BUNDLE_NAME_TES in HWTEST_F() [all...] |
/foundation/bundlemanager/bundle_tool/frameworks/src/ |
H A D | bundle_command.cpp | 2227 ret = bundleMgrProxy_->SetApplicationEnabled(abilityInfo.bundleName, 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 | 1256 auto setResult = bundleMgrProxy->SetApplicationEnabled(appName, false, USERID); in HWTEST_F() 1262 auto resetResult = bundleMgrProxy->SetApplicationEnabled(appName, true, USERID); in HWTEST_F() 7071 * @tc.name: test SetApplicationEnabled proxy 7081 ErrCode ret = bundleMgrProxy->SetApplicationEnabled(bundleName, true, userId); in HWTEST_F() 8857 auto setAppResult = bundleMgrProxy->SetApplicationEnabled(appName, false, USERID); in HWTEST_F()
|