Home
last modified time | relevance | path

Searched refs:occupantZoneInfo (Results 1 – 14 of 14) sorted by relevance

/packages/apps/Car/SystemUI/src/com/android/systemui/car/statusicon/ui/
DMediaVolumeStatusIconController.java73 CarOccupantZoneManager.OccupantZoneInfo occupantZoneInfo = null;
78 occupantZoneInfo = carOccupantZoneManager.getMyOccupantZone();
81 occupantZoneInfo != null ? occupantZoneInfo.zoneId : PRIMARY_AUDIO_ZONE;
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/
DOccupantZoneStartActivity.java87 OccupantZoneInfo occupantZoneInfo = occupantZoneInfos.get(index); in getOccupantZoneForDisplay() local
89 occupantZoneInfo); in getOccupantZoneForDisplay()
92 return occupantZoneInfo; in getOccupantZoneForDisplay()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/audio/
DAudioUserAssignmentFragment.java375 for (OccupantZoneInfo occupantZoneInfo : occupantZones) { in setUserInfo()
376 int userId = mCarOccupantZoneManager.getUserForOccupant(occupantZoneInfo); in setUserInfo()
379 occupantZoneInfo)); in setUserInfo()
384 if (occupantZoneInfo.occupantType == OCCUPANT_TYPE_DRIVER) { in setUserInfo()
388 occupantZoneInfo, userId)); in setUserInfo()
390 if (myInfo.equals(occupantZoneInfo)) { in setUserInfo()
DVolumeKeyEventsButtonManager.java31 CarOccupantZoneManager.OccupantZoneInfo occupantZoneInfo = in sendClickEvent() local
33 InjectKeyEventUtils.injectKeyByShell(occupantZoneInfo, keyCode); in sendClickEvent()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/qc/
DQCLogoutButtonController.java198 CarOccupantZoneManager.OccupantZoneInfo occupantZoneInfo = occupantZoneInfos.get(index); in getOccupantZoneForDisplayId() local
200 occupantZoneInfo); in getOccupantZoneForDisplayId()
203 return occupantZoneInfo; in getOccupantZoneForDisplayId()
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/qc/
DQCLogoutButtonControllerTest.java215 OccupantZoneInfo occupantZoneInfo = new OccupantZoneInfo(displayId, in setOccupantZoneForDisplay() local
218 new ArrayList<OccupantZoneInfo>(Arrays.asList(occupantZoneInfo)); in setOccupantZoneForDisplay()
222 when(mCarOccupantZoneManager.getAllDisplaysForOccupant(occupantZoneInfo)) in setOccupantZoneForDisplay()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/userpicker/
DCarServiceMediator.java156 CarOccupantZoneManager.OccupantZoneInfo occupantZoneInfo = occupantZoneInfos.get(index); in getOccupantZoneForDisplayId() local
158 occupantZoneInfo); in getOccupantZoneForDisplayId()
161 return occupantZoneInfo; in getOccupantZoneForDisplayId()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DCarOccupantZoneServiceTest.java633 OccupantZoneInfo occupantZoneInfo = in testGetOccupantZoneForDisplayId_invalidDisplayId() local
637 .that(occupantZoneInfo) in testGetOccupantZoneForDisplayId_invalidDisplayId()
645 OccupantZoneInfo occupantZoneInfo = in testGetOccupantZoneForDisplayId_displayIdForDriver() local
649 .that(occupantZoneInfo) in testGetOccupantZoneForDisplayId_displayIdForDriver()
658 OccupantZoneInfo occupantZoneInfo = in testGetOccupantZoneForDisplayId_displayIdForPassenger() local
662 .that(occupantZoneInfo) in testGetOccupantZoneForDisplayId_displayIdForPassenger()
673 OccupantZoneInfo occupantZoneInfo = in testGetOccupantZoneForUser_invalidUser() local
677 .that(occupantZoneInfo) in testGetOccupantZoneForUser_invalidUser()
687 OccupantZoneInfo occupantZoneInfo = in testGetOccupantZoneForUser_validUser() local
691 .that(occupantZoneInfo) in testGetOccupantZoneForUser_validUser()
/packages/services/Car/service/src/com/android/car/audio/
DMediaRequestHandler.java233 CarOccupantZoneManager.OccupantZoneInfo occupantZoneInfo = null; in getAssignedRequestIdForOccupantZoneId() local
240 occupantZoneInfo = info; in getAssignedRequestIdForOccupantZoneId()
245 return occupantZoneInfo == null in getAssignedRequestIdForOccupantZoneId()
246 ? INVALID_REQUEST_ID : getRequestIdForOccupant(occupantZoneInfo); in getAssignedRequestIdForOccupantZoneId()
/packages/services/Car/car-lib/src/android/car/
DCarOccupantZoneManager.java900 public List<Integer> getSupportedInputTypes(@NonNull OccupantZoneInfo occupantZoneInfo, in getSupportedInputTypes() argument
902 assertNonNullOccupant(occupantZoneInfo); in getSupportedInputTypes()
905 int[] ints = mService.getSupportedInputTypes(occupantZoneInfo.zoneId, displayType); in getSupportedInputTypes()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/users/
DSimpleUserPickerFragment.java401 OccupantZoneInfo occupantZoneInfo = occupantZoneInfos.get(index); in getOccupantZoneForDisplayId() local
403 occupantZoneInfo); in getOccupantZoneForDisplayId()
406 return occupantZoneInfo; in getOccupantZoneForDisplayId()
/packages/services/Car/service/src/com/android/car/
DCarUxRestrictionsManagerService.java271 OccupantZoneInfo occupantZoneInfo = occupantZoneInfos.get(i);
272 int zoneId = occupantZoneInfo.zoneId;
1130 CarOccupantZoneManager.OccupantZoneInfo occupantZoneInfo = occupantZoneInfos.get(i); in initDisplayIdsLocked() local
1131 int zoneId = occupantZoneInfo.zoneId; in initDisplayIdsLocked()
/packages/services/Car/service/src/com/android/car/pm/
DCarPackageManagerService.java739 CarOccupantZoneManager.OccupantZoneInfo occupantZoneInfo = in doHandleInit() local
741 int zoneId = occupantZoneInfo.zoneId; in doHandleInit()
782 CarOccupantZoneManager.OccupantZoneInfo occupantZoneInfo =
784 int zoneId = occupantZoneInfo.zoneId;
/packages/services/Car/service/src/com/android/car/user/
DCarUserService.java514 OccupantZoneInfo occupantZoneInfo = occupantZoneInfos.get(index); in getOccupantZoneForDisplayId() local
516 occupantZoneInfo.zoneId); in getOccupantZoneForDisplayId()
519 return occupantZoneInfo; in getOccupantZoneForDisplayId()
2466 OccupantZoneInfo occupantZoneInfo = occupantZoneInfos.get(i); in startUserPicker() local
2467 int zoneId = occupantZoneInfo.zoneId; in startUserPicker()