/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_information/getabilitylabel_fuzzer/ |
H A D | getabilitylabel_fuzzer.cpp | 35 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 D | modal_system_dialog_util.cpp | 45 std::string labelString = bms->GetAbilityLabel(bundleName, abilityName); in ShowDeveloperModeDialog()
|
/foundation/multimedia/ringtone_library/services/utils/src/ |
H A D | permission_utils.cpp | 138 return bundleManager_->GetAbilityLabel(bundleName, abilityName); in GetPackageNameByBundleName()
|
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/bundlemgr/ |
H A D | native_module.cpp | 88 DECLARE_NAPI_FUNCTION("getAbilityLabel", GetAbilityLabel), in Init()
|
H A D | bundle_mgr.h | 338 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 D | bms_bundle_mgr_proxy_test.cpp | 848 * @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 D | native_module.cpp | 114 DECLARE_NAPI_FUNCTION("getAbilityLabel", GetAbilityLabel), in BundleManagerExport()
|
H A D | bundle_manager.h | 303 napi_value GetAbilityLabel(napi_env env, napi_callback_info info);
|
H A D | bundle_manager_sync.cpp | 583 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 D | bundle_mgr_helper.h | 50 std::string GetAbilityLabel(const std::string &bundleName, const std::string &abilityName);
|
/foundation/ability/ability_runtime/test/fuzztest/bundlemgrhelper_fuzzer/ |
H A D | bundlemgrhelper_fuzzer.cpp | 89 bmHelper->GetAbilityLabel(stringParam, stringParam); in BundleMgrHelperFuzztest1()
|
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/include/bundlemgr/ |
H A D | bundle_mgr_interface.h | 595 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 D | bundle_mgr_proxy.h | 438 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 D | permission_utils.cpp | 137 packageName = bundleMgr->GetAbilityLabel(bundleName, abilityName); in GetPackageNameFromCache()
|
/foundation/ability/ability_runtime/frameworks/native/appkit/ability_bundle_manager_helper/ |
H A D | bundle_mgr_helper.cpp | 331 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 D | bundle_mgr_host_impl.h | 421 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 D | bms_bundle_permission_false_test.cpp | 423 * @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 D | bms_bundle_permission_system_app_test.cpp | 390 * @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 D | bundle_mgr_helper_test.cpp | 95 * @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 D | bundlemgrproxy_fuzzer.cpp | 225 bundleMgrProxy.GetAbilityLabel(bundleName, std::string(reinterpret_cast<const char*>(data), size)); in DoSomethingInterestingWithMyAPI()
|
/foundation/bundlemanager/bundle_framework/test/benchmarktest/bundlemgr_proxy_test/ |
H A D | bundlemgr_proxy_test.cpp | 629 * @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 D | bg_continuous_task_napi_module.cpp | 156 return bundleMgr->GetAbilityLabel(bundleName, abilityInfo.name);
in GetMainAbilityLabel()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/ |
H A D | bundle_mgr_host_impl.cpp | 1001 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 D | acts_bms_kit_system_test.cpp | 2689 * @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 D | bms_search_system_test.cpp | 954 * @tc.name: test GetAbilityLabel interface 957 * 3.call GetAbilityLabel 969 std::string result = bundleMgrProxy->GetAbilityLabel(appName, abilityName); in HWTEST_F()
|