Home
last modified time | relevance | path

Searched refs:getUserIdentifier (Results 1 – 25 of 53) sorted by relevance

123

/aosp14/frameworks/base/services/core/java/com/android/server/app/
H A DGameServiceController.java103 && mCurrentForegroundUser.getUserIdentifier() == user.getUserIdentifier(); in notifyUserUnlocking()
118 && mCurrentForegroundUser.getUserIdentifier() == user.getUserIdentifier(); in notifyUserStopped()
H A DGameServiceProviderSelectorImpl.java69 Slog.i(TAG, "Game Service not supported for user: " + user.getUserIdentifier()); in get()
89 int userId = user.getUserIdentifier(); in get()
H A DGameManagerService.java931 Slog.d(TAG, "Starting user " + user.getUserIdentifier()); in onUserStarting()
933 Environment.getDataSystemDeDirectory(user.getUserIdentifier())); in onUserStarting()
1535 final int userId = user.getUserIdentifier(); in onUserStarting()
1558 final int userId = user.getUserIdentifier(); in onUserStopping()
1573 final int toUserId = to.getUserIdentifier(); in onUserSwitching()
/aosp14/frameworks/base/services/appwidget/java/com/android/server/appwidget/
H A DAppWidgetService.java55 mImpl.onUserStopped(user.getUserIdentifier()); in onUserStopping()
60 mImpl.reloadWidgetsMaskedStateForGroup(to.getUserIdentifier()); in onUserSwitching()
/aosp14/frameworks/base/services/core/java/com/android/server/rollback/
H A DRollbackManagerService.java49 mService.onUnlockUser(user.getUserIdentifier()); in onUserUnlocking()
/aosp14/frameworks/base/services/core/java/com/android/server/search/
H A DSearchManagerService.java75 mService.mHandler.post(() -> mService.onUnlockUser(user.getUserIdentifier())); in onUserUnlocking()
80 mService.onCleanupUser(user.getUserIdentifier()); in onUserStopped()
/aosp14/frameworks/base/services/core/java/com/android/server/
H A DSystemService.java214 public @UserIdInt int getUserIdentifier() { in getUserIdentifier() method in SystemService.TargetUser
227 pw.print(getUserIdentifier()); in dump()
H A DSystemServiceManager.java404 if (from != mCurrentUser.getUserIdentifier()) { in onUserSwitching()
481 final int curUserId = curUser.getUserIdentifier(); in onUser()
611 final int curUserId = curUser.getUserIdentifier(); in getOnUserStartingRunnable()
631 final int curUserId = curUser.getUserIdentifier(); in getOnUserCompletedEventRunnable()
H A DPinnerService.java241 int userId = to.getUserIdentifier(); in onUserSwitching()
249 int userId = user.getUserIdentifier(); in onUserUnlocking()
/aosp14/frameworks/base/services/core/java/com/android/server/appbinding/
H A DAppBindingService.java130 mService.onStartUser(user.getUserIdentifier()); in onUserStarting()
135 mService.onUnlockUser(user.getUserIdentifier()); in onUserUnlocking()
140 mService.onStopUser(user.getUserIdentifier()); in onUserStopping()
/aosp14/frameworks/base/services/core/java/com/android/server/textclassifier/
H A DTextClassificationManagerService.java128 updatePackageStateForUser(user.getUserIdentifier()); in onUserStarting()
129 processAnyPendingWork(user.getUserIdentifier()); in onUserStarting()
135 updatePackageStateForUser(user.getUserIdentifier()); in onUserUnlocking()
137 processAnyPendingWork(user.getUserIdentifier()); in onUserUnlocking()
156 int userId = user.getUserIdentifier(); in onUserStopping()
/aosp14/frameworks/base/services/people/java/com/android/server/people/
H A DPeopleService.java108 mDataManager.onUserUnlocked(user.getUserIdentifier()); in onUserUnlocked()
113 mDataManager.onUserStopping(user.getUserIdentifier()); in onUserStopping()
/aosp14/frameworks/base/services/midi/java/com/android/server/midi/
H A DMidiService.java969 Log.d(TAG, "onStartOrUnlockUser " + user.getUserIdentifier() + " matchDirectBootUnaware: " in onStartOrUnlockUser()
977 resolveFlags, user.getUserIdentifier()); in onStartOrUnlockUser()
983 addPackageDeviceServer(serviceInfo, user.getUserIdentifier()); in onStartOrUnlockUser()
988 if (user.getUserIdentifier() == mUserManager.getMainUser().getIdentifier()) { in onStartOrUnlockUser()
992 MidiManager.BLUETOOTH_MIDI_SERVICE_PACKAGE, 0, user.getUserIdentifier()); in onStartOrUnlockUser()
/aosp14/frameworks/base/services/core/java/com/android/server/sensorprivacy/
H A DSensorPrivacyService.java214 mCurrentUser = user.getUserIdentifier(); in onUserStarting()
215 mSensorPrivacyServiceImpl.userSwitching(USER_NULL, user.getUserIdentifier()); in onUserStarting()
221 mCurrentUser = to.getUserIdentifier(); in onUserSwitching()
222 mSensorPrivacyServiceImpl.userSwitching(from.getUserIdentifier(), to.getUserIdentifier()); in onUserSwitching()
/aosp14/frameworks/base/services/core/java/com/android/server/trust/
H A DTrustManagerService.java1588 mHandler.obtainMessage(MSG_START_USER, user.getUserIdentifier(), 0, null).sendToTarget(); in onUserStarting()
1593 mHandler.obtainMessage(MSG_CLEANUP_USER, user.getUserIdentifier(), 0, null).sendToTarget(); in onUserStopped()
1598 mHandler.obtainMessage(MSG_SWITCH_USER, to.getUserIdentifier(), 0, null).sendToTarget(); in onUserSwitching()
1603 mHandler.obtainMessage(MSG_UNLOCK_USER, user.getUserIdentifier(), 0, null).sendToTarget(); in onUserUnlocking()
1608 mHandler.obtainMessage(MSG_STOP_USER, user.getUserIdentifier(), 0, null).sendToTarget(); in onUserStopping()
/aosp14/frameworks/base/services/core/java/com/android/server/slice/
H A DSliceManagerService.java687 mService.onUnlockUser(user.getUserIdentifier()); in onUserUnlocking()
692 mService.onStopUser(user.getUserIdentifier()); in onUserStopping()
/aosp14/frameworks/base/services/core/java/com/android/server/infra/
H A DAbstractMasterSystemService.java304 updateCachedServiceLocked(user.getUserIdentifier()); in onUserUnlocking()
311 removeCachedServiceListLocked(user.getUserIdentifier()); in onUserStopped()
/aosp14/frameworks/base/services/core/java/com/android/server/content/
H A DContentService.java151 mService.onStartUser(user.getUserIdentifier()); in onUserStarting()
156 mService.onUnlockUser(user.getUserIdentifier()); in onUserUnlocking()
161 mService.onStopUser(user.getUserIdentifier()); in onUserStopping()
167 mService.mCache.remove(user.getUserIdentifier()); in onUserStopped()
/aosp14/frameworks/base/services/print/java/com/android/server/print/
H A DPrintManagerService.java106 mPrintManagerImpl.handleUserUnlocked(user.getUserIdentifier()); in onUserUnlocking()
111 mPrintManagerImpl.handleUserStopped(user.getUserIdentifier()); in onUserStopping()
/aosp14/frameworks/base/services/core/java/com/android/server/location/
H A DLocationManagerService.java205 mUserInfoHelper.onUserStarted(user.getUserIdentifier()); in onUserStarting()
213 mUserInfoHelper.onCurrentUserChanged(from.getUserIdentifier(), in onUserSwitching()
214 to.getUserIdentifier()); in onUserSwitching()
219 mUserInfoHelper.onUserStopped(user.getUserIdentifier()); in onUserStopped()
/aosp14/frameworks/base/services/core/java/com/android/server/apphibernation/
H A DAppHibernationService.java653 int userId = user.getUserIdentifier(); in onUserUnlocking()
679 int userId = user.getUserIdentifier(); in onUserStopping()
/aosp14/frameworks/base/services/core/java/com/android/server/display/color/
H A DColorDisplayService.java213 message.arg1 = user.getUserIdentifier(); in onUserStarting()
221 message.arg1 = to.getUserIdentifier(); in onUserSwitching()
227 if (mCurrentUser == user.getUserIdentifier()) { in onUserStopping()
/aosp14/frameworks/base/services/core/java/com/android/server/textservices/
H A DTextServicesManagerService.java296 mService.onStopUser(user.getUserIdentifier()); in onUserStopping()
306 mService.onUnlockUser(user.getUserIdentifier()); in onUserUnlocking()
/aosp14/frameworks/base/services/core/java/com/android/server/camera/
H A DCameraServiceProxy.java769 switchUserLocked(user.getUserIdentifier()); in onUserStarting()
777 switchUserLocked(to.getUserIdentifier()); in onUserSwitching()
/aosp14/frameworks/base/services/backup/java/com/android/server/backup/
H A DBackupManagerService.java1695 sInstance.startServiceForUser(user.getUserIdentifier()); in onUserUnlocking()
1702 sInstance.onStopUser(user.getUserIdentifier()); in onUserStopping()

123