Home
last modified time | relevance | path

Searched refs:IsAbilityEnabled (Results 1 - 24 of 24) sorted by relevance

/foundation/bundlemanager/bundle_framework/interfaces/kits/js/bundlemgr/
H A Dnative_module.cpp93 DECLARE_NAPI_FUNCTION("isAbilityEnabled", IsAbilityEnabled), in Init()
H A Dbundle_mgr.h333 napi_value IsAbilityEnabled(napi_env env, napi_callback_info info);
H A Dbundle_mgr.cpp103 const char* IS_ABILITY_ENABLED = "IsAbilityEnabled";
3943 bundleMgr->IsAbilityEnabled(asyncCallbackInfo->abilityInfo, asyncCallbackInfo->isEnable); in IsAbilityEnabledExec()
3969 napi_value IsAbilityEnabled(napi_env env, napi_callback_info info) in IsAbilityEnabled() function
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/bundle_manager/
H A Dnative_module.cpp112 DECLARE_NAPI_FUNCTION("isAbilityEnabled", IsAbilityEnabled), in BundleManagerExport()
H A Dbundle_manager.h298 napi_value IsAbilityEnabled(napi_env env, napi_callback_info info);
H A Dbundle_manager_sync.cpp283 ErrCode ret = CommonFunc::ConvertErrCode(iBundleMgr->IsAbilityEnabled(abilityInfo, isEnable)); in IsAbilityEnabledSync()
H A Dbundle_manager.cpp811 ret = bundleMgr->IsAbilityEnabled(abilityInfo, isEnable); in InnerIsAbilityEnabled()
2044 napi_value IsAbilityEnabled(napi_env env, napi_callback_info info) in IsAbilityEnabled() function
2046 APP_LOGI("begin to IsAbilityEnabled"); in IsAbilityEnabled()
2074 env, asyncCallbackInfo, "IsAbilityEnabled", IsAbilityEnabledExec, IsAbilityEnabledComplete); in IsAbilityEnabled()
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_application/bundlemgrproxy_fuzzer/
H A Dbundlemgrproxy_fuzzer.cpp55 bundleMgrProxy.IsAbilityEnabled(abilityInfo, isEnable); in DoSomethingInterestingWithMyAPI()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_kit_service_test/
H A Dbms_bundle_kit_service_test.cpp4949 int32_t testRet = GetBundleDataMgr()->IsAbilityEnabled(abilityInfo, 0, isEnable); in HWTEST_F()
4968 int32_t testRet1 = GetBundleDataMgr()->IsAbilityEnabled(abilityInfo, 0, isEnable); in HWTEST_F()
4988 int32_t testRet1 = GetBundleDataMgr()->IsAbilityEnabled(abilityInfo, 0, isEnable); in HWTEST_F()
4993 int32_t testRet3 = GetBundleDataMgr()->IsAbilityEnabled(abilityInfo, 0, isEnable); in HWTEST_F()
5009 int32_t testRet = GetBundleDataMgr()->IsAbilityEnabled(abilityInfo, 0, isEnable); in HWTEST_F()
5028 int32_t testRet1 = GetBundleDataMgr()->IsAbilityEnabled(abilityInfo, 0, isEnable); in HWTEST_F()
5048 int32_t testRet1 = GetBundleDataMgr()->IsAbilityEnabled(abilityInfoEmpty, 0, isEnable); in HWTEST_F()
5069 int32_t testRet1 = GetBundleDataMgr()->IsAbilityEnabled(abilityInfo, 0, isEnable); in HWTEST_F()
5092 int32_t testRet1 = GetBundleDataMgr()->IsAbilityEnabled(abilityInfo, 0, isEnable); in HWTEST_F()
5130 int32_t testRet = GetBundleDataMgr()->IsAbilityEnabled(abilityInf in HWTEST_F()
[all...]
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/include/bundlemgr/
H A Dbundle_mgr_interface.h887 virtual ErrCode IsAbilityEnabled(const AbilityInfo &abilityInfo, bool &isEnable) in IsAbilityEnabled() function in OHOS::AppExecFwk::IBundleMgr
H A Dbundle_mgr_proxy.h636 virtual ErrCode IsAbilityEnabled(const AbilityInfo &abilityInfo, bool &isEnable) override;
/foundation/bundlemanager/bundle_framework/test/benchmarktest/bundlemgr_proxy_test/
H A Dbundlemgr_proxy_test.cpp871 * @tc.desc: Testcase for testing IsAbilityEnabled.
885 /* @tc.steps: step1.call IsAbilityEnabled in loop */ in BenchmarkTestIsAbilityEnabled()
887 bundleMgrProxy->IsAbilityEnabled(info, isEnable); in BenchmarkTestIsAbilityEnabled()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/
H A Dbundle_mgr_host_impl.h615 virtual ErrCode IsAbilityEnabled(const AbilityInfo &abilityInfo, bool &isEnable) override;
H A Dbundle_data_mgr.h464 ErrCode IsAbilityEnabled(const AbilityInfo &abilityInfo, int32_t appIndex, bool &isEnable) const;
H A Dinner_bundle_info.h1451 bool IsAbilityEnabled(const AbilityInfo &abilityInfo, int32_t userId,
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_permission_grant_test/
H A Dbms_bundle_permission_system_app_test.cpp1205 * @tc.name: test IsAbilityEnabled of BundleMgrHostImpl
1207 * 2. IsAbilityEnabled false by no permission
1213 ErrCode ret = bundleMgrHostImpl_->IsAbilityEnabled(abilityInfo, isEnable); in HWTEST_F()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/
H A Dbundle_mgr_host_impl.cpp2165 ErrCode BundleMgrHostImpl::IsAbilityEnabled(const AbilityInfo &abilityInfo, bool &isEnable) in IsAbilityEnabled() function in OHOS::AppExecFwk::BundleMgrHostImpl
2168 APP_LOGD("start IsAbilityEnabled"); in IsAbilityEnabled()
2179 return dataMgr->IsAbilityEnabled(abilityInfo, 0, isEnable); in IsAbilityEnabled()
2195 return dataMgr->IsAbilityEnabled(abilityInfo, appIndex, isEnable); in IsCloneAbilityEnabled()
H A Dinner_bundle_info.cpp2535 bool isEnabled = IsAbilityEnabled(ability.second, userId, appIndex); in GetBundleWithAbilitiesV9()
2596 bool isEnabled = IsAbilityEnabled(ability.second, userId); in GetBundleWithAbilities()
2910 bool InnerBundleInfo::IsAbilityEnabled(const AbilityInfo &abilityInfo, int32_t userId, int32_t appIndex) const in IsAbilityEnabled() function in OHOS::AppExecFwk::InnerBundleInfo
2912 APP_LOGD("IsAbilityEnabled bundleName:%{public}s, userId:%{public}d", abilityInfo.bundleName.c_str(), userId); in IsAbilityEnabled()
3051 APP_LOGD("IsAbilityEnabled bundleName:%{public}s, userId:%{public}d", abilityInfo.bundleName.c_str(), userId); in IsAbilityEnabledV9()
H A Dbundle_data_mgr.cpp1209 if (!innerBundleInfo.IsAbilityEnabled((*option), userId, appIndex)) { in QueryAbilityInfoWithFlags()
1262 if (!innerBundleInfo.IsAbilityEnabled((*option), userId, appIndex)) { in QueryAbilityInfoWithFlagsV9()
1609 !info.IsAbilityEnabled(abilityinfo, GetUserId(userId), appIndex)) { in GetMatchAbilityInfos()
1672 if (!info.IsAbilityEnabled(abilityInfo, GetUserId(userId), appIndex)) { in EmplaceAbilityInfo()
4340 ErrCode BundleDataMgr::IsAbilityEnabled(const AbilityInfo &abilityInfo, int32_t appIndex, bool &isEnable) const in IsAbilityEnabled() function in OHOS::AppExecFwk::BundleDataMgr
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_data_storage_test/
H A Dbms_bundle_data_storage_database_test.cpp2126 * @tc.name: Test IsAbilityEnabled
2127 * @tc.desc: 1.Test the IsAbilityEnabled of InnerBundleInfo
2142 ret = info.IsAbilityEnabled(abilityInfo, userId); in HWTEST_F()
2145 ret = info.IsAbilityEnabled(abilityInfo, userId); in HWTEST_F()
/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
6366 int32_t testRet1 = bundleMgrProxy->IsAbilityEnabled(abilityInfo, isEnable); in HWTEST_F()
6378 * @tc.name: test SetAbilityEnabled and IsAbilityEnabled proxy
6412 * @tc.name: test SetAbilityEnabled and IsAbilityEnabled proxy
6438 int32_t testRet1 = bundleMgrProxy->IsAbilityEnabled(abilityInfo, isEnable); in HWTEST_F()
6450 * @tc.name: test SetAbilityEnabled and IsAbilityEnabled proxy
6476 int32_t testRet1 = bundleMgrProxy->IsAbilityEnabled(abilityInfo, isEnable); in HWTEST_F()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_manager_test/
H A Dbms_bundle_manager_test.cpp2636 retCode = hostImpl->IsAbilityEnabled(abilityInfo, isRemovable); in HWTEST_F()
3657 * @tc.name: test IsAbilityEnabled and SetAbilityEnabled
3665 ErrCode testRet = GetBundleDataMgr()->IsAbilityEnabled( in HWTEST_F()
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/src/bundlemgr/
H A Dbundle_mgr_host.cpp1939 ErrCode ret = IsAbilityEnabled(*abilityInfo, isEnable); in HandleIsAbilityEnabled()
H A Dbundle_mgr_proxy.cpp2199 ErrCode BundleMgrProxy::IsAbilityEnabled(const AbilityInfo &abilityInfo, bool &isEnable) in IsAbilityEnabled() function in OHOS::AppExecFwk::BundleMgrProxy
2202 APP_LOGD("begin to IsAbilityEnabled of %{public}s", abilityInfo.name.c_str()); in IsAbilityEnabled()
2204 APP_LOGE("fail to IsAbilityEnabled due to params empty"); in IsAbilityEnabled()
2209 APP_LOGE("fail to IsAbilityEnabled due to write InterfaceToken fail"); in IsAbilityEnabled()
2213 APP_LOGE("fail to IsAbilityEnabled due to write abilityInfo fail"); in IsAbilityEnabled()

Completed in 145 milliseconds