Home
last modified time | relevance | path

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

12

/foundation/ability/form_fwk/test/mock/include/
H A Dmock_bundle_manager.h62 virtual bool GetBundleNameForUid(const int uid, std::string &bundleName) override
95 virtual bool GetBundleNameForUid(const int uid, std::string &bundleName) override
138 MOCK_METHOD2(GetBundleNameForUid, bool(const int, std::string &));
H A Dmock_bundle_mgr.h51 MOCK_METHOD2(GetBundleNameForUid, bool(const int, std::string &));
/foundation/bundlemanager/bundle_framework_lite/interfaces/inner_api/bundlemgr_lite/
H A Dbundle_inner_interface.h64 uint8_t (*GetBundleNameForUid)(int32_t uid, char **bundleName); member
/foundation/ability/dmsfwk_lite/source/
H A Ddmslite_permission.c178 if (bmsServerProxy->GetBundleNameForUid(callerInfo->uid, &bundleName) != EC_SUCCESS) { in GetBundleInfoFromBms()
179 HILOGE("[GetBundleNameForUid failed]"); in GetBundleInfoFromBms()
185 if (GetBundleNameForUid(callerInfo->uid, &bundleName) != EC_SUCCESS) { in GetBundleInfoFromBms()
186 HILOGE("[GetBundleNameForUid failed]"); in GetBundleInfoFromBms()
/foundation/bundlemanager/bundle_framework_lite/interfaces/kits/bundle_lite/
H A Dbundle_manager.h243 uint8_t GetBundleNameForUid(int32_t uid, char **bundleName);
/foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/src/
H A Dbundle_ms_feature.cpp45 .GetBundleNameForUid = BundleMsFeature::GetBundleNameForUid,
315 uint8_t errorCode = GetBundleNameForUid(readUid, &bundleName); in GetInnerBundleNameForUid()
535 uint8_t BundleMsFeature::GetBundleNameForUid(int32_t uid, char **bundleName) in GetBundleNameForUid() function in OHOS::BundleMsFeature
/foundation/ability/ability_lite/services/abilitymgr_lite/src/util/
H A Dabilityms_helper.cpp138 uint8_t ret = bmsServerProxy->GetBundleNameForUid(callingUid, &bundleName); in CheckVisiblePermission()
/foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/include/
H A Dbundle_ms_feature.h46 static uint8_t GetBundleNameForUid(int32_t uid, char **bundleName);
/foundation/multimedia/ringtone_library/services/utils/src/
H A Dpermission_utils.cpp75 auto result = bundleManager_->GetBundleNameForUid(uid, bundleName); in GetClientBundle()
77 RINGTONE_ERR_LOG("GetBundleNameForUid fail"); in GetClientBundle()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/shared/
H A Dshared_bundle_installer.cpp197 if (!dataMgr->GetBundleNameForUid(eventInfo.callingUid, eventInfo.callingBundleName)) { in GetCallingEventInfo()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/
H A Dbundle_permission_mgr.cpp405 auto ret = dataMgr->GetBundleNameForUid(uid, bundleName); in GetHapApiVersion()
534 auto ret = dataMgr->GetBundleNameForUid(uid, callingBundleName); in VerifyPreload()
H A Dbundle_mgr_host_impl.cpp311 LOG_NOFUNC_E(BMS_TAG_QUERY, "GetBundleNameForUid failed uid:%{public}d", uid); in GetBundleInfoForSelf()
481 bool BundleMgrHostImpl::GetBundleNameForUid(const int uid, std::string &bundleName) in GetBundleNameForUid() function in OHOS::AppExecFwk::BundleMgrHostImpl
483 APP_LOGD("start GetBundleNameForUid, uid : %{public}d", uid); in GetBundleNameForUid()
499 return dataMgr->GetBundleNameForUid(uid, bundleName); in GetBundleNameForUid()
3051 bool ret = dataMgr->GetBundleNameForUid(IPCSkeleton::GetCallingUid(), bundleName); in ObtainCallingBundleName()
3449 bool ret = dataMgr->GetBundleNameForUid(IPCSkeleton::GetCallingUid(), callingBundleName); in VerifyDependency()
3451 APP_LOGE("GetBundleNameForUid failed"); in VerifyDependency()
4288 auto ret = dataMgr->GetBundleNameForUid(uid, bundleName); in GetLaunchWant()
4290 LOG_NOFUNC_E(BMS_TAG_QUERY, "GetBundleNameForUid failed uid:%{public}d", uid); in GetLaunchWant()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_mgr_proxy_test/
H A Dbms_bundle_mgr_proxy_test.cpp447 * @tc.name: test the GetBundleNameForUid
449 * 2. test GetBundleNameForUid
457 auto res = bundleMgrProxy.GetBundleNameForUid(uid, bundleName); in HWTEST_F()
463 * @tc.name: test the GetBundleNameForUid
465 * 2. test GetBundleNameForUid
473 auto res = bundleMgrProxy.GetBundleNameForUid(uid, bundleName); in HWTEST_F()
/foundation/ability/dmsfwk/services/dtbschedmgr/src/bundle/
H A Dbundle_manager_internal.cpp74 bool result = bundleMgr->GetBundleNameForUid(callingUid, bundleName); in GetSpecifyBundleNameFromBms()
/foundation/multimedia/media_library/frameworks/utils/src/
H A Dpermission_utils.cpp101 auto result = bundleMgr_->GetBundleNameForUid(uid, bundleName); in GetBundleNameFromCache()
/foundation/communication/netmanager_base/services/netpolicymanager/src/
H A Dnet_policy_service.cpp591 bundleMgrProxy->GetBundleNameForUid(uid, bundleName); in CheckNetworkAccessIsBroker()
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_application/bundlemgrproxy_fuzzer/
H A Dbundlemgrproxy_fuzzer.cpp195 bundleMgrProxy.GetBundleNameForUid(uid, bundleName); in DoSomethingInterestingWithMyAPI()
/foundation/communication/wifi/wifi/utils/src/
H A Dwifi_common_util.cpp322 if (!bundleInstance->GetBundleNameForUid(uid, bundleName)) { in GetBundleNameByUid()
/foundation/ability/form_fwk/test/unittest/fms_form_mgr_service_test/
H A Dfms_form_mgr_service_test2.cpp93 bool GetBundleNameForUid(const int uid, std::string &bundleName) override
/foundation/ability/form_fwk/test/unittest/fms_form_bms_helper_test/
H A Dfms_form_bms_helper_test.cpp114 bool GetBundleNameForUid(const int uid, std::string &bundleName) override
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/include/bundlemgr/
H A Dbundle_mgr_interface.h344 virtual bool GetBundleNameForUid(const int uid, std::string &bundleName) in GetBundleNameForUid() function in OHOS::AppExecFwk::IBundleMgr
H A Dbundle_mgr_proxy.h251 virtual bool GetBundleNameForUid(const int uid, std::string &bundleName) override;
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/default_app/
H A Ddefault_app_mgr.cpp165 ret = dataMgr->GetBundleNameForUid(IPCSkeleton::GetCallingUid(), callingBundleName); in IsDefaultApplicationInternal()
167 LOG_W(BMS_TAG_DEFAULT, "GetBundleNameForUid failed"); in IsDefaultApplicationInternal()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/overlay/
H A Dbundle_overlay_data_manager.cpp725 bool ret = dataMgr_->GetBundleNameForUid(IPCSkeleton::GetCallingUid(), callingBundleName); in GetCallingBundleName()
727 APP_LOGW("calling GetBundleNameForUid failed by calling uid %{public}d", IPCSkeleton::GetCallingUid()); in GetCallingBundleName()
/foundation/bundlemanager/bundle_framework_lite/frameworks/bundle_lite/src/
H A Dbundle_manager.cpp753 uint8_t GetBundleNameForUid(int32_t uid, char **bundleName) in GetBundleNameForUid() function
778 HILOG_ERROR(HILOG_MODULE_APP, "BundleManager GetBundleNameForUid invoke failed: %{public}d\n", ret); in GetBundleNameForUid()
782 HILOG_ERROR(HILOG_MODULE_APP, "BundleManager GetBundleNameForUid failed: %{public}d\n", in GetBundleNameForUid()

Completed in 32 milliseconds

12