Home
last modified time | relevance | path

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

/packages/apps/Car/SystemUI/src/com/android/systemui/car/userpicker/
DUserPickerController.java396 int prevUserId = mCarServiceMediator.getUserForDisplay(mDisplayId);
397 if ((userId != INVALID_USER_ID && userId == prevUserId)
398 || (userRecord.mIsStartGuestSession && isGuestUser(prevUserId))) {
446 boolean isFgUserStart = prevUserId == ActivityManager.getCurrentUser();
447 if (!isFgUserStart && !stopUserAssignedToDisplay(prevUserId)) {
452 result = mUserEventManager.startUserForDisplay(prevUserId, userId, mDisplayId,
474 boolean stopUserAssignedToDisplay(@UserIdInt int prevUserId) {
476 if (prevUserId == INVALID_USER_ID) {
483 if (prevUserId == currentUser) {
489 if (!mUserEventManager.isUserRunning(prevUserId)) {
[all …]
/packages/services/Car/service/src/com/android/car/audio/
DCarAudioService.java3562 int prevUserId = getUserIdForZoneLocked(audioZoneId);
3564 if (userId == prevUserId) {
3573 removePrimaryZoneRequestForOccupantLocked(occupantZoneId, prevUserId);
3582 removeUserIdDeviceAffinitiesLocked(prevUserId);
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DCarAudioServiceUnitTest.java2061 int prevUserId = service.getUserIdForZone(PRIMARY_AUDIO_ZONE); in onOccupantZoneConfigChanged_noUserAssignedToPrimaryZone() local
2067 .isEqualTo(prevUserId); in onOccupantZoneConfigChanged_noUserAssignedToPrimaryZone()