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.java190 public final ArrayList<DisplayInfo> displayInfos = new ArrayList<>(); field in CarOccupantZoneService.OccupantConfig
200 for (int i = 0; i < displayInfos.size(); i++) { in toString()
201 b.append(displayInfos.get(i).toString()); in toString()
551 int[] displayIds = new int[config.displayInfos.size()]; in getAllDisplaysForOccupantZone()
552 for (int i = 0; i < config.displayInfos.size(); i++) { in getAllDisplaysForOccupantZone()
553 displayIds[i] = config.displayInfos.get(i).display.getDisplayId(); in getAllDisplaysForOccupantZone()
571 for (int i = 0; i < config.displayInfos.size(); i++) { in areDisplaysOnForOccupantZone()
572 if (config.displayInfos.get(i).display.getState() != STATE_ON) { in areDisplaysOnForOccupantZone()
588 for (int i = 0; i < config.displayInfos.size(); i++) { in getDisplayForOccupant()
589 if (displayType == config.displayInfos.get(i).displayType) { in getDisplayForOccupant()
[all …]
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DCarOccupantZoneServiceTest.java708 ArrayList<DisplayInfo> displayInfos, Display display, int displayType) { in assertDisplayInfoIncluded() argument
709 for (DisplayInfo info : displayInfos) { in assertDisplayInfoIncluded()
720 assertThat(c.displayInfos).hasSize(displays.length); in assertOccupantConfig()
721 assertThat(c.displayInfos).hasSize(displayTypes.length); in assertOccupantConfig()
723 assertDisplayInfoIncluded(c.displayInfos, displays[i], displayTypes[i]); in assertOccupantConfig()