Searched refs:oldUserId (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/injector/ |
D | FakeUserInfoHelper.java | 77 int oldUserId = mCurrentUserId; in setCurrentUserIds() local 87 if (oldUserId != mCurrentUserId) { in setCurrentUserIds() 88 dispatchOnCurrentUserChanged(oldUserId, mCurrentUserId); in setCurrentUserIds()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | UserController.java | 1230 private void stopGuestOrEphemeralUserIfBackground(int oldUserId) { 1231 if (DEBUG_MU) Slogf.i(TAG, "Stop guest or ephemeral user if background: " + oldUserId); 1233 UserState oldUss = mStartedUsers.get(oldUserId); 1234 if (oldUserId == UserHandle.USER_SYSTEM || oldUserId == mCurrentUserId || oldUss == null 1241 UserInfo userInfo = getUserInfo(oldUserId); 1243 LocalServices.getService(UserManagerInternal.class).onEphemeralUserStop(oldUserId); 1248 stopUsersLU(oldUserId, /* force= */ true, /* allowDelayedLocking= */ false, 1389 final int oldUserId = getCurrentUserId(); 1390 if (oldUserId == userId) { 1553 mHandler.sendMessage(mHandler.obtainMessage(USER_CURRENT_MSG, userId, oldUserId)); [all …]
|
D | EventLogTags.logtags | 107 30079 uc_dispatch_user_switch (oldUserId|1|5),(newUserId|1|5) 108 30080 uc_continue_user_switch (oldUserId|1|5),(newUserId|1|5) 113 30083 ssm_user_switching (oldUserId|1|5),(newUserId|1|5)
|
/frameworks/base/services/tests/servicestests/src/com/android/server/am/ |
D | UserControllerTest.java | 287 int oldUserId = reportMsg.arg1; in testDispatchUserSwitch() local 291 mUserController.dispatchUserSwitch(userState, oldUserId, newUserId); in testDispatchUserSwitch() 317 int oldUserId = reportMsg.arg1; in testDispatchUserSwitchBadReceiver() local 321 mUserController.dispatchUserSwitch(userState, oldUserId, newUserId); in testDispatchUserSwitchBadReceiver() 335 int oldUserId = reportMsg.arg1; in testContinueUserSwitch() local 339 mUserController.continueUserSwitch(userState, oldUserId, newUserId); in testContinueUserSwitch() 354 int oldUserId = reportMsg.arg1; in testContinueUserSwitchUIDisabled() local 358 mUserController.continueUserSwitch(userState, oldUserId, newUserId); in testContinueUserSwitchUIDisabled() 643 int oldUserId = reportMsg.arg1; in addForegroundUserAndContinueUserSwitch() local 644 assertEquals(expectedOldUserId, oldUserId); in addForegroundUserAndContinueUserSwitch() [all …]
|
/frameworks/base/services/core/java/com/android/server/vr/ |
D | VrManagerService.java | 853 private void updateOverlayStateLocked(String exemptedPackage, int newUserId, int oldUserId) { in updateOverlayStateLocked() argument 857 if (oldUserId != newUserId) { in updateOverlayStateLocked() 859 false, mOverlayToken, null, oldUserId); in updateOverlayStateLocked() 873 String oldVrServicePackage, int oldUserId) { in updateDependentAppOpsLocked() argument 881 updateOverlayStateLocked(newVrServicePackage, newUserId, oldUserId); in updateDependentAppOpsLocked() 919 final int oldUserId = mCurrentVrModeUser; in updateCurrentVrServiceLocked() local 982 oldVrServicePackage, oldUserId); in updateCurrentVrServiceLocked()
|
/frameworks/base/services/core/java/com/android/server/media/ |
D | MediaRouterService.java | 661 final int oldUserId = mCurrentUserId; in switchUser() local 664 UserRecord oldUser = mUserRecords.get(oldUserId); in switchUser()
|
D | MediaRouter2ServiceImpl.java | 598 final int oldUserId = mCurrentUserId; in switchUser() local 601 UserRecord oldUser = mUserRecords.get(oldUserId); in switchUser()
|