Home
last modified time | relevance | path

Searched refs:GetAbilityLabel (Results 1 - 25 of 35) sorted by relevance

12

/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_information/getabilitylabel_fuzzer/
H A Dgetabilitylabel_fuzzer.cpp35 bundleMgrProxy.GetAbilityLabel(bundleName, abilityName); in DoSomethingInterestingWithMyAPI()
36 bundleMgrProxy.GetAbilityLabel(bundleName, moduleName, abilityName, label); in DoSomethingInterestingWithMyAPI()
/foundation/ability/ability_runtime/services/abilitymgr/src/utils/
H A Dmodal_system_dialog_util.cpp45 std::string labelString = bms->GetAbilityLabel(bundleName, abilityName); in ShowDeveloperModeDialog()
/foundation/multimedia/ringtone_library/services/utils/src/
H A Dpermission_utils.cpp138 return bundleManager_->GetAbilityLabel(bundleName, abilityName); in GetPackageNameByBundleName()
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/bundlemgr/
H A Dnative_module.cpp88 DECLARE_NAPI_FUNCTION("getAbilityLabel", GetAbilityLabel), in Init()
H A Dbundle_mgr.h338 napi_value GetAbilityLabel(napi_env env, napi_callback_info info);
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_mgr_proxy_test/
H A Dbms_bundle_mgr_proxy_test.cpp848 * @tc.name: test the GetAbilityLabel
850 * 2. test GetAbilityLabel
858 auto res = bundleMgrProxy.GetAbilityLabel(bundleName, abilityName); in HWTEST_F()
861 res = bundleMgrProxy.GetAbilityLabel(bundleName, abilityName); in HWTEST_F()
867 * @tc.name: test the GetAbilityLabel
869 * 2. test GetAbilityLabel
879 auto res = bundleMgrProxy.GetAbilityLabel(bundleName, moduleName, abilityName, label); in HWTEST_F()
882 res = bundleMgrProxy.GetAbilityLabel(bundleName, moduleName, abilityName, label); in HWTEST_F()
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/bundle_manager/
H A Dnative_module.cpp114 DECLARE_NAPI_FUNCTION("getAbilityLabel", GetAbilityLabel), in BundleManagerExport()
H A Dbundle_manager.h303 napi_value GetAbilityLabel(napi_env env, napi_callback_info info);
H A Dbundle_manager_sync.cpp583 iBundleMgr->GetAbilityLabel(bundleName, moduleName, abilityName, abilityLabel)); in GetAbilityLabelSync()
585 APP_LOGE("GetAbilityLabel failed, bundleName is %{public}s", bundleName.c_str()); in GetAbilityLabelSync()
/foundation/ability/ability_runtime/interfaces/kits/native/appkit/ability_bundle_manager_helper/
H A Dbundle_mgr_helper.h50 std::string GetAbilityLabel(const std::string &bundleName, const std::string &abilityName);
/foundation/ability/ability_runtime/test/fuzztest/bundlemgrhelper_fuzzer/
H A Dbundlemgrhelper_fuzzer.cpp89 bmHelper->GetAbilityLabel(stringParam, stringParam); in BundleMgrHelperFuzztest1()
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/include/bundlemgr/
H A Dbundle_mgr_interface.h595 virtual std::string GetAbilityLabel(const std::string &bundleName, const std::string &abilityName) in GetAbilityLabel() function in OHOS::AppExecFwk::IBundleMgr
607 virtual ErrCode GetAbilityLabel(const std::string &bundleName, const std::string &moduleName, in GetAbilityLabel() function in OHOS::AppExecFwk::IBundleMgr
H A Dbundle_mgr_proxy.h438 virtual std::string GetAbilityLabel(const std::string &bundleName, const std::string &abilityName) override;
447 virtual ErrCode GetAbilityLabel(const std::string &bundleName, const std::string &moduleName,
/foundation/multimedia/media_library/frameworks/utils/src/
H A Dpermission_utils.cpp137 packageName = bundleMgr->GetAbilityLabel(bundleName, abilityName); in GetPackageNameFromCache()
/foundation/ability/ability_runtime/frameworks/native/appkit/ability_bundle_manager_helper/
H A Dbundle_mgr_helper.cpp331 std::string BundleMgrHelper::GetAbilityLabel(const std::string &bundleName, const std::string &abilityName) in GetAbilityLabel() function in OHOS::AppExecFwk::BundleMgrHelper
341 return bundleMgr->GetAbilityLabel(bundleName, abilityName); in GetAbilityLabel()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/
H A Dbundle_mgr_host_impl.h421 virtual std::string GetAbilityLabel(const std::string &bundleName, const std::string &abilityName) override;
430 virtual ErrCode GetAbilityLabel(const std::string &bundleName, const std::string &moduleName,
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_permission_grant_test/
H A Dbms_bundle_permission_false_test.cpp423 * @tc.name: test GetAbilityLabel of BundleMgrHostImpl
425 * 2. GetAbilityLabel false by no permission
429 std::string ret = bundleMgrHostImpl_->GetAbilityLabel(BUNDLE_NAME, ABILITY_NAME); in HWTEST_F()
435 * @tc.name: test GetAbilityLabel of BundleMgrHostImpl
437 * 2. GetAbilityLabel false by no permission
442 ErrCode ret = bundleMgrHostImpl_->GetAbilityLabel(BUNDLE_NAME, MOUDLE_NAME, ABILITY_NAME, label); in HWTEST_F()
H A Dbms_bundle_permission_system_app_test.cpp390 * @tc.name: test GetAbilityLabel of BundleMgrHostImpl
392 * 2. GetAbilityLabel false by no permission
396 std::string ret = bundleMgrHostImpl_->GetAbilityLabel(BUNDLE_NAME, ABILITY_NAME); in HWTEST_F()
402 * @tc.name: test GetAbilityLabel of BundleMgrHostImpl
404 * 2. GetAbilityLabel false by no permission
409 ErrCode ret = bundleMgrHostImpl_->GetAbilityLabel(BUNDLE_NAME, MOUDLE_NAME, ABILITY_NAME, label); in HWTEST_F()
/foundation/ability/ability_runtime/test/unittest/bundle_mgr_helper_test/
H A Dbundle_mgr_helper_test.cpp95 * @tc.desc: GetAbilityLabel
102 auto ret = bundleMgrHelper->GetAbilityLabel(bundleName, abilityName); in HWTEST_F()
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_application/bundlemgrproxy_fuzzer/
H A Dbundlemgrproxy_fuzzer.cpp225 bundleMgrProxy.GetAbilityLabel(bundleName, std::string(reinterpret_cast<const char*>(data), size)); in DoSomethingInterestingWithMyAPI()
/foundation/bundlemanager/bundle_framework/test/benchmarktest/bundlemgr_proxy_test/
H A Dbundlemgr_proxy_test.cpp629 * @tc.desc: Testcase for testing GetAbilityLabel.
641 /* @tc.steps: step1.call GetAbilityLabel in loop */ in BenchmarkTestGetAbilityLabel()
642 bundleMgrProxy->GetAbilityLabel(BUNDLE_NAME, ABILITY_NAME); in BenchmarkTestGetAbilityLabel()
/foundation/resourceschedule/background_task_mgr/interfaces/kits/napi/src/
H A Dbg_continuous_task_napi_module.cpp156 return bundleMgr->GetAbilityLabel(bundleName, abilityInfo.name); in GetMainAbilityLabel()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/
H A Dbundle_mgr_host_impl.cpp1001 std::string BundleMgrHostImpl::GetAbilityLabel(const std::string &bundleName, const std::string &abilityName) in GetAbilityLabel() function in OHOS::AppExecFwk::BundleMgrHostImpl
1004 APP_LOGD("start GetAbilityLabel, bundleName : %{public}s, abilityName : %{public}s", in GetAbilityLabel()
1024 ErrCode ret = dataMgr->GetAbilityLabel(bundleName, Constants::EMPTY_STRING, abilityName, label); in GetAbilityLabel()
1031 ErrCode BundleMgrHostImpl::GetAbilityLabel(const std::string &bundleName, const std::string &moduleName, in GetAbilityLabel() function in OHOS::AppExecFwk::BundleMgrHostImpl
1049 return dataMgr->GetAbilityLabel(bundleName, moduleName, abilityName, label); in GetAbilityLabel()
/foundation/bundlemanager/bundle_framework/test/systemtest/common/bms/acts_bms_kit_system_test/
H A Dacts_bms_kit_system_test.cpp2689 * @tc.name: test GetAbilityLabel interface
2692 * 3.call GetAbilityLabel
2712 std::string abilityLabel = bundleMgrProxy->GetAbilityLabel(appName, abilityName); in HWTEST_F()
2713 ErrCode abilityLabel1 = bundleMgrProxy->GetAbilityLabel(appName, abilityName, BASE_MODULE_NAME, label); in HWTEST_F()
2737 * @tc.name: test GetAbilityLabel interface
2740 * 3.call GetAbilityLabel with wrong appName
2761 std::string abilityLabel = bundleMgrProxy->GetAbilityLabel(errAppName, abilityName); in HWTEST_F()
2762 ErrCode abilityLabel1 = bundleMgrProxy->GetAbilityLabel("", abilityName, BASE_MODULE_NAME, label); in HWTEST_F()
2786 * @tc.name: test GetAbilityLabel interface
2789 * 3.call GetAbilityLabel wit
[all...]
/foundation/bundlemanager/bundle_framework/test/systemtest/common/bms/bms_search_system_test/
H A Dbms_search_system_test.cpp954 * @tc.name: test GetAbilityLabel interface
957 * 3.call GetAbilityLabel
969 std::string result = bundleMgrProxy->GetAbilityLabel(appName, abilityName); in HWTEST_F()

Completed in 48 milliseconds

12