Home
last modified time | relevance | path

Searched refs:GetUserIdByCallingUid (Results 1 – 14 of 14) sorted by relevance

/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/overlay/
H A Dbundle_overlay_manager_host_impl.cpp59 userId = BundleUtil::GetUserIdByCallingUid(); in GetAllOverlayModuleInfo()
82 userId = BundleUtil::GetUserIdByCallingUid(); in GetOverlayModuleInfo()
105 userId = BundleUtil::GetUserIdByCallingUid(); in GetOverlayModuleInfo()
130 userId = BundleUtil::GetUserIdByCallingUid(); in GetTargetOverlayModuleInfo()
156 userId = BundleUtil::GetUserIdByCallingUid(); in GetOverlayModuleInfoByBundleName()
196 userId = BundleUtil::GetUserIdByCallingUid(); in GetOverlayBundleInfoForTarget()
220 userId = BundleUtil::GetUserIdByCallingUid(); in GetOverlayModuleInfoForTarget()
248 userId = BundleUtil::GetUserIdByCallingUid(); in SetOverlayEnabledForSelf()
271 userId = BundleUtil::GetUserIdByCallingUid(); in SetOverlayEnabled()
/ohos5.0/foundation/window/window_manager/wmserver/src/
H A Dmock_session_manager_service.cpp63 inline int32_t GetUserIdByCallingUid() in GetUserIdByCallingUid() function
213 currentWMSUserId_ = GetUserIdByCallingUid(); in SetSessionManagerService()
273 int32_t clientUserId = GetUserIdByCallingUid(); in GetSessionManagerService()
315 int32_t userId = GetUserIdByCallingUid(); in NotifySceneBoardAvailable()
336 int32_t clientUserId = GetUserIdByCallingUid(); in RegisterSMSRecoverListener()
384 int32_t clientUserId = GetUserIdByCallingUid(); in UnregisterSMSRecoverListener()
440 int32_t clientUserId = GetUserIdByCallingUid(); in RegisterSMSLiteRecoverListener()
488 int32_t clientUserId = GetUserIdByCallingUid(); in UnregisterSMSLiteRecoverListener()
/ohos5.0/foundation/barrierfree/accessibility/services/aams/include/
H A Dutils.h63 static int32_t GetUserIdByCallingUid();
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/
H A Dbundle_util.h131 static int32_t GetUserIdByCallingUid();
H A Dbundle_data_mgr.h635 int32_t GetUserIdByCallingUid() const;
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/
H A Dbundle_util.cpp328 int32_t BundleUtil::GetUserIdByCallingUid() in GetUserIdByCallingUid() function in OHOS::AppExecFwk::BundleUtil
789 … + std::to_string(BundleUtil::GetUserIdByCallingUid()) + ServiceConstants::BASE + bundleName; in RevertToRealPath()
794 … ServiceConstants::GALLERY_DOWNLOAD_PATH + std::to_string(BundleUtil::GetUserIdByCallingUid()); in RevertToRealPath()
H A Dbundle_mgr_host_impl.cpp1516 userId = BundleUtil::GetUserIdByCallingUid(); in CleanBundleCacheFiles()
2123 userId = BundleUtil::GetUserIdByCallingUid(); in SetApplicationEnabled()
2189 userId = BundleUtil::GetUserIdByCallingUid(); in SetCloneApplicationEnabled()
2264 userId = BundleUtil::GetUserIdByCallingUid(); in SetAbilityEnabled()
2325 userId = BundleUtil::GetUserIdByCallingUid(); in SetCloneAbilityEnabled()
H A Dbundle_installer_host.cpp713 callInstallParam.userId = BundleUtil::GetUserIdByCallingUid(); in CheckInstallParam()
H A Dbundle_data_mgr.cpp2978 requestUserId = GetUserIdByCallingUid(); in GetBundlePackInfo()
5038 userId = GetUserIdByCallingUid(); in GetUserId()
5082 int32_t BundleDataMgr::GetUserIdByCallingUid() const in GetUserIdByCallingUid() function in OHOS::AppExecFwk::BundleDataMgr
5084 return BundleUtil::GetUserIdByCallingUid(); in GetUserIdByCallingUid()
8131 userId = GetUserIdByCallingUid(); in GetUidByBundleName()
/ohos5.0/foundation/barrierfree/accessibility/services/aams/src/
H A Dutils.cpp446 int32_t Utils::GetUserIdByCallingUid() in GetUserIdByCallingUid() function in OHOS::Accessibility::Utils
H A Daccessible_ability_manager_service.cpp3137 int32_t accountId = Utils::GetUserIdByCallingUid(); in CheckCallingUid()
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/verify/
H A Dverify_manager_host_impl.cpp158 int32_t userId = BundleUtil::GetUserIdByCallingUid(); in Verify()
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_permission_grant_test/
H A Dbms_bundle_permission_false_test.cpp1223 EXPECT_EQ(ret.userId, BundleUtil::GetUserIdByCallingUid());
/ohos5.0/foundation/window/window_manager/window_scene/session_manager/src/
H A Dscreen_session_manager.cpp110 inline int32_t GetUserIdByCallingUid() in GetUserIdByCallingUid() function
5088 auto userId = GetUserIdByCallingUid(); in SwitchUser()
5151 auto userId = GetUserIdByCallingUid(); in SetClient()