/foundation/bundlemanager/bundle_framework/interfaces/kits/js/bundlemgr/ |
H A D | native_module.cpp | 93 DECLARE_NAPI_FUNCTION("isAbilityEnabled", IsAbilityEnabled), in Init()
|
H A D | bundle_mgr.h | 333 napi_value IsAbilityEnabled(napi_env env, napi_callback_info info);
|
H A D | bundle_mgr.cpp | 103 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 D | native_module.cpp | 112 DECLARE_NAPI_FUNCTION("isAbilityEnabled", IsAbilityEnabled), in BundleManagerExport()
|
H A D | bundle_manager.h | 298 napi_value IsAbilityEnabled(napi_env env, napi_callback_info info);
|
H A D | bundle_manager_sync.cpp | 283 ErrCode ret = CommonFunc::ConvertErrCode(iBundleMgr->IsAbilityEnabled(abilityInfo, isEnable)); in IsAbilityEnabledSync()
|
H A D | bundle_manager.cpp | 811 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 D | bundlemgrproxy_fuzzer.cpp | 55 bundleMgrProxy.IsAbilityEnabled(abilityInfo, isEnable); in DoSomethingInterestingWithMyAPI()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_kit_service_test/ |
H A D | bms_bundle_kit_service_test.cpp | 4949 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 D | bundle_mgr_interface.h | 887 virtual ErrCode IsAbilityEnabled(const AbilityInfo &abilityInfo, bool &isEnable) in IsAbilityEnabled() function in OHOS::AppExecFwk::IBundleMgr
|
H A D | bundle_mgr_proxy.h | 636 virtual ErrCode IsAbilityEnabled(const AbilityInfo &abilityInfo, bool &isEnable) override;
|
/foundation/bundlemanager/bundle_framework/test/benchmarktest/bundlemgr_proxy_test/ |
H A D | bundlemgr_proxy_test.cpp | 871 * @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 D | bundle_mgr_host_impl.h | 615 virtual ErrCode IsAbilityEnabled(const AbilityInfo &abilityInfo, bool &isEnable) override;
|
H A D | bundle_data_mgr.h | 464 ErrCode IsAbilityEnabled(const AbilityInfo &abilityInfo, int32_t appIndex, bool &isEnable) const;
|
H A D | inner_bundle_info.h | 1451 bool IsAbilityEnabled(const AbilityInfo &abilityInfo, int32_t userId,
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_permission_grant_test/ |
H A D | bms_bundle_permission_system_app_test.cpp | 1205 * @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 D | bundle_mgr_host_impl.cpp | 2165 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 D | inner_bundle_info.cpp | 2535 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 D | bundle_data_mgr.cpp | 1209 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 D | bms_bundle_data_storage_database_test.cpp | 2126 * @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 D | acts_bms_kit_system_test.cpp | 6340 * @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 D | bms_bundle_manager_test.cpp | 2636 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 D | bundle_mgr_host.cpp | 1939 ErrCode ret = IsAbilityEnabled(*abilityInfo, isEnable); in HandleIsAbilityEnabled()
|
H A D | bundle_mgr_proxy.cpp | 2199 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()
|