Home
last modified time | relevance | path

Searched refs:IsApplicationEnabled (Results 1 - 23 of 23) sorted by relevance

/foundation/bundlemanager/bundle_framework/interfaces/kits/js/bundlemgr/
H A Dnative_module.cpp94 DECLARE_NAPI_FUNCTION("isApplicationEnabled", IsApplicationEnabled), in Init()
H A Dbundle_mgr.h332 napi_value IsApplicationEnabled(napi_env env, napi_callback_info info);
H A Dbundle_mgr.cpp4025 bundleMgr->IsApplicationEnabled(asyncCallbackInfo->bundleName, asyncCallbackInfo->isEnable); in IsApplicationEnabledExec()
4051 napi_value IsApplicationEnabled(napi_env env, napi_callback_info info) in IsApplicationEnabled() function
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/bundle_manager/
H A Dnative_module.cpp110 DECLARE_NAPI_FUNCTION("isApplicationEnabled", IsApplicationEnabled), in BundleManagerExport()
H A Dbundle_manager.h297 napi_value IsApplicationEnabled(napi_env env, napi_callback_info info);
H A Dbundle_manager_sync.cpp248 ErrCode ret = CommonFunc::ConvertErrCode(iBundleMgr->IsApplicationEnabled(bundleName, isEnable)); in IsApplicationEnabledSync()
H A Dbundle_manager.cpp779 ret = bundleMgr->IsApplicationEnabled(bundleName, isEnable); in InnerIsApplicationEnabled()
1956 napi_value IsApplicationEnabled(napi_env env, napi_callback_info info) in IsApplicationEnabled() function
1958 APP_LOGD("begin to IsApplicationEnabled"); in IsApplicationEnabled()
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_application/bundlemgrproxy_fuzzer/
H A Dbundlemgrproxy_fuzzer.cpp51 bundleMgrProxy.IsApplicationEnabled(bundleName, isEnable); in DoSomethingInterestingWithMyAPI()
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/include/bundlemgr/
H A Dbundle_mgr_interface.h839 virtual ErrCode IsApplicationEnabled(const std::string &bundleName, bool &isEnable) in IsApplicationEnabled() function in OHOS::AppExecFwk::IBundleMgr
H A Dbundle_mgr_proxy.h599 virtual ErrCode IsApplicationEnabled(const std::string &bundleName, bool &isEnable) override;
/foundation/bundlemanager/bundle_framework/test/benchmarktest/bundlemgr_proxy_test/
H A Dbundlemgr_proxy_test.cpp832 * @tc.desc: Testcase for testing IsApplicationEnabled.
844 /* @tc.steps: step1.call IsApplicationEnabled in loop */ in BenchmarkTestIsApplicationEnabled()
846 bundleMgrProxy->IsApplicationEnabled(BUNDLE_NAME, isEnable); in BenchmarkTestIsApplicationEnabled()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/
H A Dbundle_mgr_host_impl.h578 virtual ErrCode IsApplicationEnabled(const std::string &bundleName, bool &isEnable) override;
H A Dbundle_data_mgr.h447 ErrCode IsApplicationEnabled(const std::string &bundleName,
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_permission_grant_test/
H A Dbms_bundle_permission_system_app_test.cpp1192 * @tc.name: test IsApplicationEnabled of BundleMgrHostImpl
1194 * 2. IsApplicationEnabled false by no permission
1199 ErrCode ret = bundleMgrHostImpl_->IsApplicationEnabled(BUNDLE_NAME, isEnable); in HWTEST_F()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_kit_service_test/
H A Dbms_bundle_kit_service_test.cpp3987 int32_t ret = GetBundleDataMgr()->IsApplicationEnabled(BUNDLE_NAME_TEST, 0, isEnable); in HWTEST_F()
4006 int32_t ret = GetBundleDataMgr()->IsApplicationEnabled(BUNDLE_NAME_TEST, 0, isEnable); in HWTEST_F()
4026 int32_t ret = GetBundleDataMgr()->IsApplicationEnabled(BUNDLE_NAME_TEST, 0, isEnable); in HWTEST_F()
4032 ret = GetBundleDataMgr()->IsApplicationEnabled(BUNDLE_NAME_TEST, 0, isEnable); in HWTEST_F()
4048 int32_t ret = GetBundleDataMgr()->IsApplicationEnabled(BUNDLE_NAME_TEST, 0, isEnable); in HWTEST_F()
4065 int32_t ret = GetBundleDataMgr()->IsApplicationEnabled(BUNDLE_NAME_TEST, 0, isEnable); in HWTEST_F()
4085 int32_t testRet1 = GetBundleDataMgr()->IsApplicationEnabled("", 0, isEnable); in HWTEST_F()
4109 int32_t testRet1 = bundleMgrProxy->IsApplicationEnabled("", isEnable); in HWTEST_F()
4129 ErrCode ret = hostImpl->IsApplicationEnabled(BUNDLE_NAME_TEST, isEnable); in HWTEST_F()
4163 ErrCode ret = hostImpl->IsApplicationEnabled(BUNDLE_NAME_TES in HWTEST_F()
[all...]
H A Dbms_bundle_data_mgr_test.cpp2518 * @tc.name: test IsApplicationEnabled
2520 * 2.check IsApplicationEnabled failed
2528 ErrCode res = GetBundleDataMgr()->IsApplicationEnabled(BUNDLE_NAME_TEST, 0, isEnabled); in HWTEST_F()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/
H A Dbundle_mgr_host_impl.cpp2023 ErrCode BundleMgrHostImpl::IsApplicationEnabled(const std::string &bundleName, bool &isEnable) in IsApplicationEnabled() function in OHOS::AppExecFwk::BundleMgrHostImpl
2026 APP_LOGD("start IsApplicationEnabled, bundleName : %{public}s", bundleName.c_str()); in IsApplicationEnabled()
2037 return dataMgr->IsApplicationEnabled(bundleName, 0, isEnable); in IsApplicationEnabled()
2054 return dataMgr->IsApplicationEnabled(bundleName, appIndex, isEnable); in IsCloneApplicationEnabled()
H A Dbundle_data_mgr.cpp4194 ErrCode BundleDataMgr::IsApplicationEnabled( in IsApplicationEnabled() function in OHOS::AppExecFwk::BundleDataMgr
4197 APP_LOGD("IsApplicationEnabled %{public}s", bundleName.c_str()); in IsApplicationEnabled()
8662 ErrCode ret = IsApplicationEnabled(shortcutInfo.bundleName, shortcutInfo.appIndex, isEnabled, userId); in AddDesktopShortcutInfo()
8664 APP_LOGD("IsApplicationEnabled ret:%{public}d, bundleName:%{public}s, appIndex:%{public}d, userId:%{public}d", in AddDesktopShortcutInfo()
8707 ErrCode ret = IsApplicationEnabled(data.bundleName, data.appIndex, isEnabled, userId); in GetAllDesktopShortcutInfo()
8710 "IsApplicationEnabled ret:%{public}d, bundleName:%{public}s, appIndex:%{public}d, userId:%{public}d", in GetAllDesktopShortcutInfo()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_data_mgr_test/
H A Dbms_data_mgr_test.cpp2155 * @tc.name: test IsApplicationEnabled
2165 bool ret = dataMgr->IsApplicationEnabled(bundleName, appIndex, isEnabled); in HWTEST_F()
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/src/bundlemgr/
H A Dbundle_mgr_host.cpp1858 APP_LOGE("fail to IsApplicationEnabled due to params empty"); in HandleIsApplicationEnabled()
1862 ErrCode ret = IsApplicationEnabled(bundleName, isEnable); in HandleIsApplicationEnabled()
H A Dbundle_mgr_proxy.cpp2064 ErrCode BundleMgrProxy::IsApplicationEnabled(const std::string &bundleName, bool &isEnable) in IsApplicationEnabled() function in OHOS::AppExecFwk::BundleMgrProxy
2067 APP_LOGD("begin to IsApplicationEnabled of %{public}s", bundleName.c_str()); in IsApplicationEnabled()
2069 APP_LOGE("fail to IsApplicationEnabled due to params empty"); in IsApplicationEnabled()
2075 APP_LOGE("fail to IsApplicationEnabled due to write InterfaceToken fail"); in IsApplicationEnabled()
2079 APP_LOGE("fail to IsApplicationEnabled due to write bundleName fail"); in IsApplicationEnabled()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_manager_test/
H A Dbms_bundle_manager_test.cpp2630 ErrCode retCode = hostImpl->IsApplicationEnabled("", isRemovable); in HWTEST_F()
/foundation/bundlemanager/bundle_framework/test/systemtest/common/bms/acts_bms_kit_system_test/
H A Dacts_bms_kit_system_test.cpp6960 * @tc.name: test IsApplicationEnabled proxy
6970 ErrCode ret = bundleMgrProxy->IsApplicationEnabled(bundleName, isEnable); in HWTEST_F()

Completed in 130 milliseconds