Searched refs:oldUser (Results 1 – 3 of 3) sorted by relevance
83 final int oldUser = FIRST_USER; in testGracePeriod() local87 assertTrue(mGracePeriodObserver.isWithinGracePeriodForUser(oldUser)); in testGracePeriod()91 assertFalse(mGracePeriodObserver.isWithinGracePeriodForUser(oldUser)); in testGracePeriod()
88 UserSwitchingDialog(Context context, UserInfo oldUser, UserInfo newUser, in UserSwitchingDialog() argument94 mOldUser = oldUser; in UserSwitchingDialog()102 mTraceCookie = UserHandle.MAX_SECONDARY_USER_ID * oldUser.id + newUser.id; in UserSwitchingDialog()
10158 private void killBackgroundUserProcessesWithRecordAudioPermission(UserInfo oldUser) { in killBackgroundUserProcessesWithRecordAudioPermission() argument10163 if (!oldUser.isManagedProfile()) { in killBackgroundUserProcessesWithRecordAudioPermission()10165 ActivityTaskManagerInternal.class).getHomeActivityForUser(oldUser.id); in killBackgroundUserProcessesWithRecordAudioPermission()10171 .getPackagesHoldingPermissions(permissions, 0, oldUser.id).getList(); in killBackgroundUserProcessesWithRecordAudioPermission()