Home
last modified time | relevance | path

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

123

/frameworks/base/services/appwidget/java/com/android/server/appwidget/
DAppWidgetService.java55 mImpl.onUserStopped(user.getUserIdentifier()); in onUserStopping()
60 mImpl.reloadWidgetsMaskedStateForGroup(to.getUserIdentifier()); in onUserSwitching()
/frameworks/base/services/core/java/com/android/server/
DBluetoothService.java63 mBluetoothManagerService.handleOnSwitchUser(to.getUserIdentifier()); in onUserSwitching()
69 mBluetoothManagerService.handleOnUnlockUser(user.getUserIdentifier()); in onUserUnlocking()
DSystemService.java199 public @UserIdInt int getUserIdentifier() { in getUserIdentifier() method in SystemService.TargetUser
212 pw.print(getUserIdentifier()); in dump()
DSystemServiceManager.java328 if (from != mCurrentUser.getUserIdentifier()) { in onUserSwitching()
370 final int curUserId = curUser.getUserIdentifier(); in onUser()
DSensorPrivacyService.java232 mCurrentUser = user.getUserIdentifier(); in onUserStarting()
233 mSensorPrivacyServiceImpl.userSwitching(-1, user.getUserIdentifier()); in onUserStarting()
239 mCurrentUser = to.getUserIdentifier(); in onUserSwitching()
240 mSensorPrivacyServiceImpl.userSwitching(from.getUserIdentifier(), to.getUserIdentifier()); in onUserSwitching()
DPinnerService.java232 int userId = to.getUserIdentifier(); in onUserSwitching()
240 int userId = user.getUserIdentifier(); in onUserUnlocking()
/frameworks/opt/car/services/src/com/android/internal/car/
DCarServiceProxy.java379 int fromId = from == null ? UserHandle.USER_NULL : from.getUserIdentifier(); in sendUserLifecycleEvent()
380 int toId = to.getUserIdentifier(); in sendUserLifecycleEvent()
385 mLastSwitchedUser = to.getUserIdentifier(); in sendUserLifecycleEvent()
386 mPreviousUserOfLastSwitchedUser = from.getUserIdentifier(); in sendUserLifecycleEvent()
387 mLastUserLifecycle.put(to.getUserIdentifier(), eventType); in sendUserLifecycleEvent()
390 mLastUserLifecycle.delete(to.getUserIdentifier()); in sendUserLifecycleEvent()
392 mLastUserLifecycle.put(to.getUserIdentifier(), eventType); in sendUserLifecycleEvent()
DCarServiceHelperService.java337 EventLog.writeEvent(EventLogTags.CAR_HELPER_USER_UNLOCKING, user.getUserIdentifier()); in onUserUnlocking()
346 int userId = user.getUserIdentifier(); in onUserUnlocked()
362 EventLog.writeEvent(EventLogTags.CAR_HELPER_USER_STARTING, user.getUserIdentifier()); in onUserStarting()
371 EventLog.writeEvent(EventLogTags.CAR_HELPER_USER_STOPPING, user.getUserIdentifier()); in onUserStopping()
375 int userId = user.getUserIdentifier(); in onUserStopping()
382 EventLog.writeEvent(EventLogTags.CAR_HELPER_USER_STOPPED, user.getUserIdentifier()); in onUserStopped()
392 from == null ? UserHandle.USER_NULL : from.getUserIdentifier(), in onUserSwitching()
393 to.getUserIdentifier()); in onUserSwitching()
398 int userId = to.getUserIdentifier(); in onUserSwitching()
/frameworks/opt/car/services/tests/src/com/android/internal/car/
DCarServiceProxyTest.java196 mFromUser.getUserIdentifier(), mToUser.getUserIdentifier()); in verifySendLifecycleEventCalled()
DCarServiceHelperServiceTest.java226 when(targetUser.getUserIdentifier()).thenReturn(userId); in newTargetUser()
281 return user == null || user.getUserIdentifier() == userId; in isTargetUser()
/frameworks/base/services/core/java/com/android/server/rollback/
DRollbackManagerService.java49 mService.onUnlockUser(user.getUserIdentifier()); in onUserUnlocking()
/frameworks/base/services/core/java/com/android/server/search/
DSearchManagerService.java75 mService.mHandler.post(() -> mService.onUnlockUser(user.getUserIdentifier())); in onUserUnlocking()
80 mService.onCleanupUser(user.getUserIdentifier()); in onUserStopped()
/frameworks/base/services/core/java/com/android/server/appbinding/
DAppBindingService.java130 mService.onStartUser(user.getUserIdentifier()); in onUserStarting()
135 mService.onUnlockUser(user.getUserIdentifier()); in onUserUnlocking()
140 mService.onStopUser(user.getUserIdentifier()); in onUserStopping()
/frameworks/base/services/core/java/com/android/server/app/
DGameManagerService.java495 mService.onUserStarting(user.getUserIdentifier()); in onUserStarting()
500 mService.onUserStopping(user.getUserIdentifier()); in onUserStopping()
505 mService.onUserSwitching(from, to.getUserIdentifier()); in onUserSwitching()
673 final int fromUserId = from.getUserIdentifier(); in onUserSwitching()
/frameworks/base/services/core/java/com/android/server/textclassifier/
DTextClassificationManagerService.java126 updatePackageStateForUser(user.getUserIdentifier()); in onUserStarting()
127 processAnyPendingWork(user.getUserIdentifier()); in onUserStarting()
133 updatePackageStateForUser(user.getUserIdentifier()); in onUserUnlocking()
135 processAnyPendingWork(user.getUserIdentifier()); in onUserUnlocking()
154 int userId = user.getUserIdentifier(); in onUserStopping()
/frameworks/base/services/people/java/com/android/server/people/
DPeopleService.java107 mDataManager.onUserUnlocked(user.getUserIdentifier()); in onUserUnlocked()
112 mDataManager.onUserStopping(user.getUserIdentifier()); in onUserStopping()
/frameworks/base/services/core/java/com/android/server/trust/
DTrustManagerService.java1061 mHandler.obtainMessage(MSG_START_USER, user.getUserIdentifier(), 0, null).sendToTarget(); in onUserStarting()
1066 mHandler.obtainMessage(MSG_CLEANUP_USER, user.getUserIdentifier(), 0, null).sendToTarget(); in onUserStopped()
1071 mHandler.obtainMessage(MSG_SWITCH_USER, to.getUserIdentifier(), 0, null).sendToTarget(); in onUserSwitching()
1076 mHandler.obtainMessage(MSG_UNLOCK_USER, user.getUserIdentifier(), 0, null).sendToTarget(); in onUserUnlocking()
1081 mHandler.obtainMessage(MSG_STOP_USER, user.getUserIdentifier(), 0, null).sendToTarget(); in onUserStopping()
/frameworks/base/services/core/java/com/android/server/infra/
DAbstractMasterSystemService.java304 updateCachedServiceLocked(user.getUserIdentifier()); in onUserUnlocking()
311 removeCachedServiceLocked(user.getUserIdentifier()); in onUserStopped()
/frameworks/base/services/core/java/com/android/server/slice/
DSliceManagerService.java679 mService.onUnlockUser(user.getUserIdentifier()); in onUserUnlocking()
684 mService.onStopUser(user.getUserIdentifier()); in onUserStopping()
/frameworks/base/services/core/java/com/android/server/content/
DContentService.java130 mService.onStartUser(user.getUserIdentifier()); in onUserStarting()
135 mService.onUnlockUser(user.getUserIdentifier()); in onUserUnlocking()
140 mService.onStopUser(user.getUserIdentifier()); in onUserStopping()
146 mService.mCache.remove(user.getUserIdentifier()); in onUserStopped()
/frameworks/base/services/core/java/com/android/server/camera/
DCameraServiceProxy.java567 switchUserLocked(user.getUserIdentifier()); in onUserStarting()
575 switchUserLocked(to.getUserIdentifier()); in onUserSwitching()
/frameworks/base/services/core/java/com/android/server/location/
DLocationManagerService.java199 mUserInfoHelper.onUserStarted(user.getUserIdentifier()); in onUserStarting()
204 mUserInfoHelper.onCurrentUserChanged(from.getUserIdentifier(), in onUserSwitching()
205 to.getUserIdentifier()); in onUserSwitching()
210 mUserInfoHelper.onUserStopped(user.getUserIdentifier()); in onUserStopped()
/frameworks/base/services/core/java/com/android/server/apphibernation/
DAppHibernationService.java574 int userId = user.getUserIdentifier(); in onUserUnlocking()
600 int userId = user.getUserIdentifier(); in onUserStopping()
/frameworks/base/services/core/java/com/android/server/policy/
DPermissionPolicyService.java358 onStartUser(user.getUserIdentifier()); in onUserStarting()
391 mIsStarted.delete(user.getUserIdentifier()); in onUserStopping()
/frameworks/base/services/print/java/com/android/server/print/
DPrintManagerService.java106 mPrintManagerImpl.handleUserUnlocked(user.getUserIdentifier()); in onUserUnlocking()
111 mPrintManagerImpl.handleUserStopped(user.getUserIdentifier()); in onUserStopping()

123