Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/am/
DUserController.java191 Integer oldUserId = mUserLru.get(i); in stopRunningUsersLocked() local
192 UserState oldUss = mStartedUsers.get(oldUserId); in stopRunningUsersLocked()
206 if (oldUserId == UserHandle.USER_SYSTEM || oldUserId == mCurrentUserId) { in stopRunningUsersLocked()
209 if (UserInfo.isSystemOnly(oldUserId)) { in stopRunningUsersLocked()
216 if (stopUsersLocked(oldUserId, false, null) != USER_OP_SUCCESS) { in stopRunningUsersLocked()
683 Integer oldUserId = mUserLru.get(i); in stopGuestOrEphemeralUserIfBackground() local
684 UserState oldUss = mStartedUsers.get(oldUserId); in stopGuestOrEphemeralUserIfBackground()
685 if (oldUserId == UserHandle.USER_SYSTEM || oldUserId == mCurrentUserId in stopGuestOrEphemeralUserIfBackground()
690 UserInfo userInfo = getUserInfo(oldUserId); in stopGuestOrEphemeralUserIfBackground()
693 .onEphemeralUserStop(oldUserId); in stopGuestOrEphemeralUserIfBackground()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/
DCurrentUserTracker.java41 int oldUserId = mCurrentUserId; in onReceive() local
43 if (oldUserId != mCurrentUserId) { in onReceive()
/frameworks/base/services/core/java/com/android/server/vr/
DVrManagerService.java460 private void updateOverlayStateLocked(String exemptedPackage, int newUserId, int oldUserId) { in updateOverlayStateLocked() argument
464 if (oldUserId != newUserId) { in updateOverlayStateLocked()
466 false, mOverlayToken, null, oldUserId); in updateOverlayStateLocked()
478 String oldVrServicePackage, int oldUserId) { in updateDependentAppOpsLocked() argument
486 updateOverlayStateLocked(newVrServicePackage, newUserId, oldUserId); in updateDependentAppOpsLocked()
521 final int oldUserId = mCurrentVrModeUser; in updateCurrentVrServiceLocked() local
568 oldVrServicePackage, oldUserId); in updateCurrentVrServiceLocked()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiConfigManagerTest.java683 private void verifyHandleUserSwitch(int oldUserId, int newUserId, in verifyHandleUserSwitch() argument
686 switchUser(oldUserId); in verifyHandleUserSwitch()
699 if (WifiConfigurationUtil.isVisibleToAnyProfile(config, USER_PROFILES.get(oldUserId))) { in verifyHandleUserSwitch()
/frameworks/base/services/core/java/com/android/server/media/
DMediaRouterService.java288 final int oldUserId = mCurrentUserId; in switchUser() local
291 UserRecord oldUser = mUserRecords.get(oldUserId); in switchUser()