Home
last modified time | relevance | path

Searched refs:oldUserId (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/services/core/java/com/android/server/am/
DUserController.java1133 private void stopGuestOrEphemeralUserIfBackground(int oldUserId) {
1134 if (DEBUG_MU) Slog.i(TAG, "Stop guest or ephemeral user if background: " + oldUserId);
1136 UserState oldUss = mStartedUsers.get(oldUserId);
1137 if (oldUserId == UserHandle.USER_SYSTEM || oldUserId == mCurrentUserId || oldUss == null
1144 UserInfo userInfo = getUserInfo(oldUserId);
1146 LocalServices.getService(UserManagerInternal.class).onEphemeralUserStop(oldUserId);
1151 stopUsersLU(oldUserId, /* force= */ true, /* allowDelayedLocking= */ false,
1254 final int oldUserId = getCurrentUserId();
1255 if (oldUserId == userId) {
1418 mHandler.sendMessage(mHandler.obtainMessage(USER_CURRENT_MSG, userId, oldUserId));
[all …]
DEventLogTags.logtags107 30079 uc_dispatch_user_switch (oldUserId|1|5) (newUserId|1|5)
108 30080 uc_continue_user_switch (oldUserId|1|5) (newUserId|1|5)
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DUserControllerTest.java280 int oldUserId = reportMsg.arg1; in testDispatchUserSwitch() local
284 mUserController.dispatchUserSwitch(userState, oldUserId, newUserId); in testDispatchUserSwitch()
310 int oldUserId = reportMsg.arg1; in testDispatchUserSwitchBadReceiver() local
314 mUserController.dispatchUserSwitch(userState, oldUserId, newUserId); in testDispatchUserSwitchBadReceiver()
328 int oldUserId = reportMsg.arg1; in testContinueUserSwitch() local
332 mUserController.continueUserSwitch(userState, oldUserId, newUserId); in testContinueUserSwitch()
347 int oldUserId = reportMsg.arg1; in testContinueUserSwitchUIDisabled() local
351 mUserController.continueUserSwitch(userState, oldUserId, newUserId); in testContinueUserSwitchUIDisabled()
580 int oldUserId = reportMsg.arg1; in addForegroundUserAndContinueUserSwitch() local
581 assertEquals(expectedOldUserId, oldUserId); in addForegroundUserAndContinueUserSwitch()
[all …]
/frameworks/base/services/core/java/com/android/server/vr/
DVrManagerService.java851 private void updateOverlayStateLocked(String exemptedPackage, int newUserId, int oldUserId) { in updateOverlayStateLocked() argument
855 if (oldUserId != newUserId) { in updateOverlayStateLocked()
857 false, mOverlayToken, null, oldUserId); in updateOverlayStateLocked()
869 String oldVrServicePackage, int oldUserId) { in updateDependentAppOpsLocked() argument
877 updateOverlayStateLocked(newVrServicePackage, newUserId, oldUserId); in updateDependentAppOpsLocked()
915 final int oldUserId = mCurrentVrModeUser; in updateCurrentVrServiceLocked() local
978 oldVrServicePackage, oldUserId); in updateCurrentVrServiceLocked()
/frameworks/base/services/core/java/com/android/server/media/
DMediaRouterService.java643 final int oldUserId = mCurrentUserId; in switchUser() local
646 UserRecord oldUser = mUserRecords.get(oldUserId); in switchUser()
DMediaRouter2ServiceImpl.java514 final int oldUserId = mCurrentUserId; in switchUser() local
517 UserRecord oldUser = mUserRecords.get(oldUserId); in switchUser()