Home
last modified time | relevance | path

Searched refs:displayInfos (Results 1 – 2 of 2) sorted by relevance

/packages/services/Car/service/src/com/android/car/
DCarOccupantZoneService.java152 public final ArrayList<DisplayInfo> displayInfos = new ArrayList<>(); field in CarOccupantZoneService.OccupantConfig
162 for (int i = 0; i < displayInfos.size(); i++) { in toString()
163 b.append(displayInfos.get(i).toString()); in toString()
448 int[] displayIds = new int[config.displayInfos.size()]; in getAllDisplaysForOccupantZone()
449 for (int i = 0; i < config.displayInfos.size(); i++) { in getAllDisplaysForOccupantZone()
450 displayIds[i] = config.displayInfos.get(i).display.getDisplayId(); in getAllDisplaysForOccupantZone()
463 for (int i = 0; i < config.displayInfos.size(); i++) { in getDisplayForOccupant()
464 if (displayType == config.displayInfos.get(i).displayType) { in getDisplayForOccupant()
465 return config.displayInfos.get(i).display.getDisplayId(); in getDisplayForOccupant()
713 for (int i = 0; i < config.displayInfos.size(); i++) { in getAllActivePassengerDisplaysLocked()
[all …]
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DCarOccupantZoneServiceTest.java458 ArrayList<DisplayInfo> displayInfos, Display display, int displayType) { in assertDisplayInfoIncluded() argument
459 for (DisplayInfo info : displayInfos) { in assertDisplayInfoIncluded()
470 assertThat(c.displayInfos).hasSize(displays.length); in assertOccupantConfig()
471 assertThat(c.displayInfos).hasSize(displayTypes.length); in assertOccupantConfig()
473 assertDisplayInfoIncluded(c.displayInfos, displays[i], displayTypes[i]); in assertOccupantConfig()