/foundation/ability/form_fwk/test/mock/include/ |
H A D | mock_bundle_manager.h | 62 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 D | mock_bundle_mgr.h | 51 MOCK_METHOD2(GetBundleNameForUid, bool(const int, std::string &));
|
/foundation/bundlemanager/bundle_framework_lite/interfaces/inner_api/bundlemgr_lite/ |
H A D | bundle_inner_interface.h | 64 uint8_t (*GetBundleNameForUid)(int32_t uid, char **bundleName);
member
|
/foundation/ability/dmsfwk_lite/source/ |
H A D | dmslite_permission.c | 178 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 D | bundle_manager.h | 243 uint8_t GetBundleNameForUid(int32_t uid, char **bundleName);
|
/foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/src/ |
H A D | bundle_ms_feature.cpp | 45 .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 D | abilityms_helper.cpp | 138 uint8_t ret = bmsServerProxy->GetBundleNameForUid(callingUid, &bundleName);
in CheckVisiblePermission()
|
/foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/include/ |
H A D | bundle_ms_feature.h | 46 static uint8_t GetBundleNameForUid(int32_t uid, char **bundleName);
|
/foundation/multimedia/ringtone_library/services/utils/src/ |
H A D | permission_utils.cpp | 75 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 D | shared_bundle_installer.cpp | 197 if (!dataMgr->GetBundleNameForUid(eventInfo.callingUid, eventInfo.callingBundleName)) { in GetCallingEventInfo()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/ |
H A D | bundle_permission_mgr.cpp | 405 auto ret = dataMgr->GetBundleNameForUid(uid, bundleName); in GetHapApiVersion() 534 auto ret = dataMgr->GetBundleNameForUid(uid, callingBundleName); in VerifyPreload()
|
H A D | bundle_mgr_host_impl.cpp | 311 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 D | bms_bundle_mgr_proxy_test.cpp | 447 * @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 D | bundle_manager_internal.cpp | 74 bool result = bundleMgr->GetBundleNameForUid(callingUid, bundleName); in GetSpecifyBundleNameFromBms()
|
/foundation/multimedia/media_library/frameworks/utils/src/ |
H A D | permission_utils.cpp | 101 auto result = bundleMgr_->GetBundleNameForUid(uid, bundleName); in GetBundleNameFromCache()
|
/foundation/communication/netmanager_base/services/netpolicymanager/src/ |
H A D | net_policy_service.cpp | 591 bundleMgrProxy->GetBundleNameForUid(uid, bundleName); in CheckNetworkAccessIsBroker()
|
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_application/bundlemgrproxy_fuzzer/ |
H A D | bundlemgrproxy_fuzzer.cpp | 195 bundleMgrProxy.GetBundleNameForUid(uid, bundleName); in DoSomethingInterestingWithMyAPI()
|
/foundation/communication/wifi/wifi/utils/src/ |
H A D | wifi_common_util.cpp | 322 if (!bundleInstance->GetBundleNameForUid(uid, bundleName)) { in GetBundleNameByUid()
|
/foundation/ability/form_fwk/test/unittest/fms_form_mgr_service_test/ |
H A D | fms_form_mgr_service_test2.cpp | 93 bool GetBundleNameForUid(const int uid, std::string &bundleName) override
|
/foundation/ability/form_fwk/test/unittest/fms_form_bms_helper_test/ |
H A D | fms_form_bms_helper_test.cpp | 114 bool GetBundleNameForUid(const int uid, std::string &bundleName) override
|
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/include/bundlemgr/ |
H A D | bundle_mgr_interface.h | 344 virtual bool GetBundleNameForUid(const int uid, std::string &bundleName) in GetBundleNameForUid() function in OHOS::AppExecFwk::IBundleMgr
|
H A D | bundle_mgr_proxy.h | 251 virtual bool GetBundleNameForUid(const int uid, std::string &bundleName) override;
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/default_app/ |
H A D | default_app_mgr.cpp | 165 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 D | bundle_overlay_data_manager.cpp | 725 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 D | bundle_manager.cpp | 753 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()
|