/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/ |
H A D | account_helper.cpp | 70 int32_t AccountHelper::GetOsAccountLocalIdFromUid(const int32_t callingUid) in GetOsAccountLocalIdFromUid() function in OHOS::AppExecFwk::AccountHelper 74 ErrCode err = AccountSA::OsAccountManager::GetOsAccountLocalIdFromUid(callingUid, localId); in GetOsAccountLocalIdFromUid() 76 APP_LOGW_NOFUNC("GetOsAccountLocalIdFromUid fail uid:%{public}d req from active userid", callingUid); in GetOsAccountLocalIdFromUid()
|
H A D | bundle_data_mgr.cpp | 7013 int32_t userId = AccountHelper::GetOsAccountLocalIdFromUid(IPCSkeleton::GetCallingUid()); in GetSpecifiedDistributionType() 7039 int32_t userId = AccountHelper::GetOsAccountLocalIdFromUid(IPCSkeleton::GetCallingUid()); in GetAdditionalInfo() 7650 int32_t userId = AccountHelper::GetOsAccountLocalIdFromUid(IPCSkeleton::GetCallingUid()); in SetAdditionalInfo()
|
/foundation/ability/ability_runtime/services/abilitymgr/src/ |
H A D | app_exit_reason_helper.cpp | 79 GetOsAccountLocalIdFromUid(uid, userId) != ERR_OK) { in RecordAppExitReason() 80 TAG_LOGE(AAFwkTag::ABILITYMGR, "get GetOsAccountLocalIdFromUid failed"); in RecordAppExitReason() 112 GetOsAccountLocalIdFromUid(uid, userId) != ERR_OK) { in RecordAppExitReason() 113 TAG_LOGE(AAFwkTag::ABILITYMGR, "get GetOsAccountLocalIdFromUid failed"); in RecordAppExitReason() 130 GetOsAccountLocalIdFromUid(uid, targetUserId) != ERR_OK) { in RecordProcessExitReason() 131 TAG_LOGE(AAFwkTag::ABILITYMGR, "get GetOsAccountLocalIdFromUid failed"); in RecordProcessExitReason() 193 GetOsAccountLocalIdFromUid(uid, targetUserId) != ERR_OK) { in GetActiveAbilityList() 194 TAG_LOGE(AAFwkTag::ABILITYMGR, "get GetOsAccountLocalIdFromUid failed"); in GetActiveAbilityList() 222 GetOsAccountLocalIdFromUid(uid, targetUserId) != ERR_OK) { in GetActiveAbilityListFromUIAbilityManager() 223 TAG_LOGE(AAFwkTag::ABILITYMGR, "get GetOsAccountLocalIdFromUid faile in GetActiveAbilityListFromUIAbilityManager() [all...] |
H A D | sub_managers_helper.cpp | 321 if (DelayedSingleton<AppExecFwk::OsAccountManagerWrapper>::GetInstance()->GetOsAccountLocalIdFromUid( in GetMissionListManagerByUid() 358 if (DelayedSingleton<AppExecFwk::OsAccountManagerWrapper>::GetInstance()->GetOsAccountLocalIdFromUid( in GetUIAbilityManagerByUid() 372 if (DelayedSingleton<AppExecFwk::OsAccountManagerWrapper>::GetInstance()->GetOsAccountLocalIdFromUid( in UninstallApp()
|
H A D | app_exit_reason_data_manager.cpp | 125 GetOsAccountLocalIdFromUid(uid, userId) != ERR_OK) { in DeleteAppExitReason() 126 TAG_LOGE(AAFwkTag::ABILITYMGR, "get GetOsAccountLocalIdFromUid failed"); in DeleteAppExitReason()
|
H A D | ability_manager_service.cpp | 4659 GetOsAccountLocalIdFromUid(callerUid, userId) != 0) { in GetWantSender() 4735 GetOsAccountLocalIdFromUid(callerUid, userId) != 0) { in CancelWantSender() 10039 DelayedSingleton<AppExecFwk::OsAccountManagerWrapper>::GetInstance()->GetOsAccountLocalIdFromUid(uid, account); in VerifyPermission()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/ |
H A D | account_helper.h | 31 static int32_t GetOsAccountLocalIdFromUid(const int32_t callingUid);
|
/foundation/ability/ability_runtime/interfaces/inner_api/deps_wrapper/src/ |
H A D | os_account_manager_wrapper.cpp | 45 ErrCode OsAccountManagerWrapper::GetOsAccountLocalIdFromUid(const int32_t uid, int32_t &id) in GetOsAccountLocalIdFromUid() function in OHOS::AppExecFwk::OsAccountManagerWrapper 53 return AccountSA::OsAccountManager::GetOsAccountLocalIdFromUid(uid, id); in GetOsAccountLocalIdFromUid()
|
/foundation/ability/ability_runtime/interfaces/inner_api/deps_wrapper/include/ |
H A D | os_account_manager_wrapper.h | 46 ErrCode GetOsAccountLocalIdFromUid(const int32_t uid, int32_t &id);
|
/foundation/resourceschedule/device_usage_statistics/services/common/src/ |
H A D | bundle_active_account_helper.cpp | 26 ErrCode ret = OHOS::AccountSA::OsAccountManager::GetOsAccountLocalIdFromUid(uid, userId); in GetUserId()
|
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_others/accounthelper_fuzzer/ |
H A D | accounthelper_fuzzer.cpp | 34 AccountHelper::GetOsAccountLocalIdFromUid(id); in DoSomethingInterestingWithMyAPI()
|
/foundation/ability/ability_runtime/test/unittest/os_account_manager_wrapper_test/ |
H A D | os_account_manager_wrapper_test.cpp | 60 int ret = DelayedSingleton<OsAccountManagerWrapper>::GetInstance()->GetOsAccountLocalIdFromUid(UID, account); in HWTEST_F()
|
/foundation/multimedia/camera_framework/frameworks/native/camera/test/unittest/src/v1_1/ |
H A D | camera_deferred_unittest.cpp | 93 AccountSA::OsAccountManager::GetOsAccountLocalIdFromUid(g_uid_, g_userId_); in NativeAuthorization()
|
H A D | camera_deferred_video_unittest.cpp | 99 AccountSA::OsAccountManager::GetOsAccountLocalIdFromUid(g_uid_, g_userId_); in NativeAuthorization()
|
/foundation/multimedia/audio_framework/services/audio_policy/safe_volume_notification/src/ |
H A D | audio_safe_volume_notification_impl.cpp | 259 AccountSA::OsAccountManager::GetOsAccountLocalIdFromUid(AUDIO_UID, userId); in PublishSafeVolumeNotification()
|
/foundation/resourceschedule/background_task_mgr/services/continuous_task/src/ |
H A D | bg_continuous_task_mgr.cpp | 598 AccountSA::OsAccountManager::GetOsAccountLocalIdFromUid(uid, userId);
in StartBackgroundRunningForInner() 636 AccountSA::OsAccountManager::GetOsAccountLocalIdFromUid(callingUid, userId);
in StartBackgroundRunning()
|
/foundation/multimedia/camera_framework/services/camera_service/src/ |
H A D | hcamera_service.cpp | 467 AccountSA::OsAccountManager::GetOsAccountLocalIdFromUid(uid, userId); in CreateDeferredPhotoProcessingSession() 484 AccountSA::OsAccountManager::GetOsAccountLocalIdFromUid(uid, userId); in CreateDeferredVideoProcessingSession()
|
H A D | hcamera_device.cpp | 366 AccountSA::OsAccountManager::GetOsAccountLocalIdFromUid(uid, clientUserId_); in OpenDevice()
|
H A D | hcamera_host_manager.cpp | 489 AccountSA::OsAccountManager::GetOsAccountLocalIdFromUid(uid, userId); in CheckUserHasChanged()
|
/foundation/ability/ability_runtime/services/appmgr/src/ |
H A D | app_running_manager.cpp | 316 GetOsAccountLocalIdFromUid(appRecord->GetUid(), id) == 0) && (id == userId)) { in GetPidsByUserId()
|
H A D | app_mgr_service_inner.cpp | 7058 int errCode = osAccountMgr->GetOsAccountLocalIdFromUid(appRecord->GetUid(), userId); in NotifyAppFaultBySA() 7060 TAG_LOGE(AAFwkTag::APPMGR, "GetOsAccountLocalIdFromUid failed,errcode=%{public}d", errCode); in NotifyAppFaultBySA() 8168 if (osAccountMgr->GetOsAccountLocalIdFromUid(IPCSkeleton::GetCallingUid(), callderUserId) != 0) { in NotifyAppFaultBySA() 8179 osAccountMgr->GetOsAccountLocalIdFromUid(appRecord->GetUid(), procUserId) == 0 && in NotifyAppFaultBySA()
|
/foundation/multimedia/player_framework/frameworks/js/avplayer/ |
H A D | avplayer_callback.cpp | 1460 OHOS::AccountSA::OsAccountManager::GetOsAccountLocalIdFromUid(uid, userId); in GetApiversion()
|
/foundation/multimedia/player_framework/services/services/player/server/ |
H A D | player_server.cpp | 104 AccountSA::OsAccountManager::GetOsAccountLocalIdFromUid(appUid_, userId); in Init()
|
/foundation/communication/netmanager_ext/services/vpnmanager/src/ |
H A D | networkvpn_service.cpp | 994 if (AccountSA::OsAccountManager::GetOsAccountLocalIdFromUid(uid, userId) != ERR_OK) { in CheckCurrentAccountType() 995 NETMGR_EXT_LOG_E("GetOsAccountLocalIdFromUid error, uid: %{public}d.", uid); in CheckCurrentAccountType()
|
/foundation/ability/form_fwk/services/src/ |
H A D | form_mgr_adapter.cpp | 2861 AccountSA::OsAccountManager::GetOsAccountLocalIdFromUid(callingUid, userId); in GetCurrentUserId()
|