Home
last modified time | relevance | path

Searched refs:GetAppIdByBundleName (Results 1 - 25 of 36) sorted by relevance

12

/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_information/getappidbybundlename_fuzzer/
H A Dgetappidbybundlename_fuzzer.cpp30 bundleMgrProxy.GetAppIdByBundleName(bundleName, reinterpret_cast<uintptr_t>(data)); in DoSomethingInterestingWithMyAPI()
/foundation/multimedia/media_library/frameworks/utils/include/
H A Dpermission_utils.h79 static std::string GetAppIdByBundleName(const std::string &bundleName);
80 static std::string GetAppIdByBundleName(const std::string &bundleName, int32_t uid);
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/include/bundlemgr/
H A Dbundle_mgr_mini_proxy.h47 virtual std::string GetAppIdByBundleName(const std::string &bundleName, const int userId) override;
H A Dbundle_mgr_interface.h334 virtual std::string GetAppIdByBundleName(const std::string &bundleName, const int userId) in GetAppIdByBundleName() function in OHOS::AppExecFwk::IBundleMgr
H A Dbundle_mgr_proxy.h244 virtual std::string GetAppIdByBundleName(const std::string &bundleName, const int userId) override;
/foundation/ability/ability_runtime/services/uripermmgr/include/
H A Duri_permission_utils.h38 static int32_t GetAppIdByBundleName(const std::string &bundleName, std::string &appId);
/foundation/ability/ability_runtime/test/unittest/uri_permission_impl_test/mock/include/
H A Dmock_bundle_mgr_helper.h40 std::string GetAppIdByBundleName(const std::string &bundleName, const int32_t userId);
/foundation/multimedia/media_library/frameworks/services/media_permission/src/
H A Dpemission_common.cpp34 return PermissionUtils::GetAppIdByBundleName(bundleName); in GetClientAppId()
/foundation/multimedia/media_library/frameworks/utils/src/
H A Dpermission_utils.cpp160 appId = bundleMgr_->GetAppIdByBundleName(bundleName, userId); in GetAppIdFromCache()
473 string PermissionUtils::GetAppIdByBundleName(const string &bundleName) in GetAppIdByBundleName() function in OHOS::Media::PermissionUtils
476 return GetAppIdByBundleName(bundleName, uid); in GetAppIdByBundleName()
479 string PermissionUtils::GetAppIdByBundleName(const string &bundleName, int32_t uid) in GetAppIdByBundleName() function in OHOS::Media::PermissionUtils
H A Dmedia_privacy_manager.cpp386 string appId = PermissionUtils::GetAppIdByBundleName(bundleName); in GetPrivacyRanges()
/foundation/ability/ability_runtime/services/uripermmgr/src/
H A Dmedia_permission_manager.cpp79 if (UPMSUtils::GetAppIdByBundleName(bundleName, appId) != ERR_OK) { in CheckUriPermission()
H A Duri_permission_utils.cpp229 int32_t UPMSUtils::GetAppIdByBundleName(const std::string &bundleName, std::string &appId) in GetAppIdByBundleName() function in OHOS::AAFwk::UPMSUtils
238 appId = IN_PROCESS_CALL(bms->GetAppIdByBundleName(bundleName, userId)); in GetAppIdByBundleName()
/foundation/ability/ability_runtime/test/unittest/uri_permission_impl_test/mock/src/
H A Dmock_bundle_mgr_helper.cpp79 std::string BundleMgrHelper::GetAppIdByBundleName(const std::string &bundleName, const int32_t userId) in GetAppIdByBundleName() function in OHOS::AppExecFwk::BundleMgrHelper
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/src/bundlemgr/
H A Dbundle_mgr_mini_proxy.cpp61 std::string BundleMgrMiniProxy::GetAppIdByBundleName(const std::string &bundleName, const int userId) in GetAppIdByBundleName() function in OHOS::AppExecFwk::BundleMgrMiniProxy
64 APP_LOGE("failed to GetAppIdByBundleName due to bundleName empty"); in GetAppIdByBundleName()
72 APP_LOGE("failed to GetAppIdByBundleName due to write InterfaceToken fail"); in GetAppIdByBundleName()
76 APP_LOGE("failed to GetAppIdByBundleName due to write bundleName fail"); in GetAppIdByBundleName()
80 APP_LOGE("failed to GetAppIdByBundleName due to write uid fail"); in GetAppIdByBundleName()
86 APP_LOGE("failed to GetAppIdByBundleName from server"); in GetAppIdByBundleName()
/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/fuzztest/medialibrarycommon_fuzzer/src/
H A Dmedialibrary_common_fuzzer.cpp109 Media::PermissionUtils::GetAppIdByBundleName(packageName); in PermissionUtilsTest()
/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/src/
H A Dmedialibrary_appstate_observer.cpp216 string appId = PermissionUtils::GetAppIdByBundleName(bundleName, uid); in OnAppStopped()
H A Dmedialibrary_asset_operations.cpp780 PermissionUtils::GetAppIdByBundleName(fileAsset.GetOwnerPackage(), callingUid)); in HandleCallingPackage()
801 appId = PermissionUtils::GetAppIdByBundleName(cmd.GetBundleName()); in HandleCallingPackage()
958 appId = PermissionUtils::GetAppIdByBundleName(fileAsset.GetOwnerPackage(), callingUid); in InsertAssetInDb()
960 appId = PermissionUtils::GetAppIdByBundleName(cmd.GetBundleName()); in InsertAssetInDb()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/app_control/
H A Dapp_control_manager.cpp275 ErrCode ret = dataMgr->GetAppIdByBundleName(bundleName, appId); in GetAppRunningControlRule()
463 ErrCode ret = dataMgr->GetAppIdByBundleName(bundleName, appId); in GetAbilityRunningControlRule()
/foundation/ability/ability_runtime/interfaces/kits/native/appkit/ability_bundle_manager_helper/
H A Dbundle_mgr_helper.h48 std::string GetAppIdByBundleName(const std::string &bundleName, const int32_t userId);
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_mgr_proxy_test/
H A Dbms_bundle_mgr_proxy_test.cpp428 * @tc.name: test the GetAppIdByBundleName
430 * 2. test GetAppIdByBundleName
438 auto res = bundleMgrProxy.GetAppIdByBundleName(bundleName, userId); in HWTEST_F()
441 res = bundleMgrProxy.GetAppIdByBundleName(bundleName, userId); in HWTEST_F()
/foundation/ability/dmsfwk/services/dtbschedmgr/src/bundle/
H A Dbundle_manager_internal.cpp62 appId = bundleMgr->GetAppIdByBundleName(bundleName, activeAccountId); in GetCallerAppIdFromBms()
/foundation/ability/ability_runtime/frameworks/native/appkit/ability_bundle_manager_helper/
H A Dbundle_mgr_helper.cpp204 std::string BundleMgrHelper::GetAppIdByBundleName(const std::string &bundleName, const int32_t userId) in GetAppIdByBundleName() function in OHOS::AppExecFwk::BundleMgrHelper
206 TAG_LOGD(AAFwkTag::BUNDLEMGRHELPER, "GetAppIdByBundleName called"); in GetAppIdByBundleName()
214 return bundleMgr->GetAppIdByBundleName(bundleName, userId); in GetAppIdByBundleName()
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_application/bundlemgrproxy_fuzzer/
H A Dbundlemgrproxy_fuzzer.cpp194 bundleMgrProxy.GetAppIdByBundleName(bundleName, reinterpret_cast<uintptr_t>(data)); in DoSomethingInterestingWithMyAPI()
/foundation/bundlemanager/bundle_framework/test/benchmarktest/bundlemgr_proxy_test/
H A Dbundlemgr_proxy_test.cpp307 /* @tc.steps: step1.call GetAppIdByBundleName in loop */ in BenchmarkTestGetAppIdByBundleName()
308 bundleMgrProxy->GetAppIdByBundleName(BUNDLE_NAME, DEFAULT_USERID); in BenchmarkTestGetAppIdByBundleName()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/
H A Dbundle_mgr_host_impl.h788 virtual std::string GetAppIdByBundleName(const std::string &bundleName, const int userId) override;

Completed in 37 milliseconds

12