Home
last modified time | relevance | path

Searched refs:GetUserIdByUid (Results 1 - 23 of 23) sorted by relevance

/foundation/resourceschedule/work_scheduler/utils/native/include/
H A Dwork_sched_utils.h46 static int32_t GetUserIdByUid(int32_t uid);
/foundation/resourceschedule/work_scheduler/utils/native/src/
H A Dwork_sched_utils.cpp73 int32_t WorkSchedUtils::GetUserIdByUid(int32_t uid) in GetUserIdByUid() function in OHOS::WorkScheduler::WorkSchedUtils
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/
H A Dbundle_common_event_mgr.cpp94 int32_t bundleUserId = BundleUtil::GetUserIdByUid(installResult.uid); in NotifyBundleStatus()
139 want.SetParam(Constants::USER_ID, BundleUtil::GetUserIdByUid(installResult.uid)); in SetNotifyWant()
H A Dbundle_util.cpp333 return GetUserIdByUid(uid); in GetUserIdByCallingUid()
336 int32_t BundleUtil::GetUserIdByUid(int32_t uid) in GetUserIdByUid() function in OHOS::AppExecFwk::BundleUtil
H A Dbundle_data_mgr.cpp3450 int32_t userId = GetUserIdByUid(uid); in GetInnerBundleInfoAndIndexByUid()
5060 int32_t BundleDataMgr::GetUserIdByUid(int32_t uid) const in GetUserIdByUid() function in OHOS::AppExecFwk::BundleDataMgr
5062 return BundleUtil::GetUserIdByUid(uid); in GetUserIdByUid()
7909 want, static_cast<uint32_t>(GetAbilityInfoFlag::GET_ABILITY_INFO_DEFAULT), GetUserIdByUid(uid), abilityInfos); in CanOpenLink()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/
H A Dbundle_util.h138 static int32_t GetUserIdByUid(int32_t uid);
H A Dbundle_data_mgr.h1049 int32_t GetUserIdByUid(int32_t uid) const;
/foundation/resourceschedule/background_task_mgr/services/efficiency_resources/include/
H A Dbg_efficiency_resources_mgr.h96 int32_t GetUserIdByUid(int32_t uid);
/foundation/resourceschedule/work_scheduler/frameworks/test/unittest/src/
H A Dworkinfo_test.cpp641 * @tc.desc test GetUserIdByUid
647 int32_t res = WorkSchedUtils::GetUserIdByUid(1); in HWTEST_F()
649 res = WorkSchedUtils::GetUserIdByUid(INVALID_VALUE); in HWTEST_F()
/foundation/resourceschedule/device_standby/services/core/include/
H A Dstandby_service_impl.h165 int32_t GetUserIdByUid(int32_t uid);
/foundation/window/window_manager/window_scene/session_manager/src/
H A Dsession_manager.cpp202 if (GetUserIdByUid(getuid()) != SYSTEM_USERID || isFoundationListenerRegistered_) { in InitMockSMSProxy()
H A Dsession_manager_lite.cpp434 if (GetUserIdByUid(getuid()) != SYSTEM_USERID || isFoundationListenerRegistered_) { in InitMockSMSProxy()
/foundation/window/window_manager/wm/src/
H A Dwindow_adapter_lite.cpp153 int32_t clientUserId = GetUserIdByUid(getuid()); in InitSSMProxy()
H A Dwindow_manager_lite.cpp678 int32_t clientUserId = GetUserIdByUid(getuid()); in RegisterWMSConnectionChangedListener()
H A Dwindow_adapter.cpp426 int32_t clientUserId = GetUserIdByUid(getuid()); in InitSSMProxy()
H A Dwindow_manager.cpp383 int32_t clientUserId = GetUserIdByUid(getuid()); in RegisterWMSConnectionChangedListener()
/foundation/ability/ability_runtime/services/appmgr/src/
H A Dapp_mgr_service_inner.cpp266 int32_t GetUserIdByUid(int32_t uid) in GetUserIdByUid() function
355 if (UserRecordManager::GetInstance().IsLogoutUser(GetUserIdByUid(appInfo->uid))) { in StartSpecifiedProcess()
575 if (UserRecordManager::GetInstance().IsLogoutUser(GetUserIdByUid(appInfo->uid))) { in LoadAbility()
964 auto userId = GetUserIdByUid(appInfo->uid); in GetBundleAndHapInfo()
1349 auto userId = GetUserIdByUid(uid); in UpdateApplicationInfoInstalled()
1413 newUserId = GetUserIdByUid(IPCSkeleton::GetCallingUid()); in ForceKillApplicationInner()
1692 newUserId = GetUserIdByUid(callerUid); in ClearUpApplicationData()
1713 newUserId = GetUserIdByUid(callerUid); in ClearUpApplicationDataBySelf()
1818 if (GetUserIdByUid(appRecord->GetUid()) != currentUserId_) { in GetRunningProcessesByBundleType()
1868 if (GetUserIdByUid(appRecor in GetRunningMultiAppInfoByBundleName()
[all...]
/foundation/resourceschedule/background_task_mgr/services/efficiency_resources/src/
H A Dbg_efficiency_resources_mgr.cpp806 AppExecFwk::ApplicationFlag::GET_BASIC_APPLICATION_INFO, GetUserIdByUid(uid), applicationInfo)) { in QueryRunningResourcesApply()
815 int32_t BgEfficiencyResourcesMgr::GetUserIdByUid(int32_t uid) in GetUserIdByUid() function in OHOS::BackgroundTaskMgr::BgEfficiencyResourcesMgr
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/sandbox_app/
H A Dbundle_sandbox_data_mgr.cpp246 int32_t userId = BundleUtil::GetUserIdByUid(uid); in GetInnerBundleInfoByUid()
/foundation/resourceschedule/work_scheduler/services/native/src/
H A Dwork_status.cpp68 this->userId_ = WorkSchedUtils::GetUserIdByUid(uid); in WorkStatus()
/foundation/window/window_manager/interfaces/innerkits/wm/
H A Dwm_common.h562 inline int32_t GetUserIdByUid(int32_t uid) in GetUserIdByUid() function in OHOS::Rosen::WindowType::WindowModeType::SystemBarSettingFlag
/foundation/window/window_manager/wmserver/src/
H A Dmock_session_manager_service.cpp71 return GetUserIdByUid(uid); in GetUserIdByCallingUid()
/foundation/resourceschedule/device_standby/services/core/src/
H A Dstandby_service_impl.cpp515 AppExecFwk::ApplicationFlag::GET_BASIC_APPLICATION_INFO, GetUserIdByUid(uid), applicationInfo)) { in QueryRunningResourcesApply()
524 int32_t StandbyServiceImpl::GetUserIdByUid(int32_t uid) in GetUserIdByUid() function in OHOS::DevStandbyMgr::StandbyServiceImpl

Completed in 71 milliseconds