Home
last modified time | relevance | path

Searched refs:oldUser (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/job/
DGracePeriodObserverTest.java83 final int oldUser = FIRST_USER; in testGracePeriod() local
87 assertTrue(mGracePeriodObserver.isWithinGracePeriodForUser(oldUser)); in testGracePeriod()
91 assertFalse(mGracePeriodObserver.isWithinGracePeriodForUser(oldUser)); in testGracePeriod()
/frameworks/base/services/core/java/com/android/server/am/
DUserSwitchingDialog.java88 UserSwitchingDialog(Context context, UserInfo oldUser, UserInfo newUser, in UserSwitchingDialog() argument
94 mOldUser = oldUser; in UserSwitchingDialog()
102 mTraceCookie = UserHandle.MAX_SECONDARY_USER_ID * oldUser.id + newUser.id; in UserSwitchingDialog()
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java10158 private void killBackgroundUserProcessesWithRecordAudioPermission(UserInfo oldUser) { in killBackgroundUserProcessesWithRecordAudioPermission() argument
10163 if (!oldUser.isManagedProfile()) { in killBackgroundUserProcessesWithRecordAudioPermission()
10165 ActivityTaskManagerInternal.class).getHomeActivityForUser(oldUser.id); in killBackgroundUserProcessesWithRecordAudioPermission()
10171 .getPackagesHoldingPermissions(permissions, 0, oldUser.id).getList(); in killBackgroundUserProcessesWithRecordAudioPermission()