Searched refs:OccupantConfig (Results 1 – 2 of 2) sorted by relevance
/packages/services/Car/service/src/com/android/car/ |
D | CarOccupantZoneService.java | 150 static class OccupantConfig { class in CarOccupantZoneService 178 private final HashMap<Integer, OccupantConfig> mActiveOccupantConfigs = new HashMap<>(); 289 for (Map.Entry<Integer, OccupantConfig> entry : in init() 291 OccupantConfig config = entry.getValue(); in init() 297 OccupantConfig zoneConfig = mActiveOccupantConfigs.get(zoneId); in init() 314 for (OccupantConfig config : mActiveOccupantConfigs.values()) { in init() 383 public HashMap<Integer, OccupantConfig> getActiveOccupantConfigs() { in getActiveOccupantConfigs() 385 return (HashMap<Integer, OccupantConfig>) mActiveOccupantConfigs.clone(); in getActiveOccupantConfigs() 410 for (Map.Entry<Integer, OccupantConfig> entry : mActiveOccupantConfigs.entrySet()) { in dump() 444 OccupantConfig config = mActiveOccupantConfigs.get(occupantZoneId); in getAllDisplaysForOccupantZone() [all …]
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/ |
D | CarOccupantZoneServiceTest.java | 54 import com.android.car.CarOccupantZoneService.OccupantConfig; 467 private void assertOccupantConfig(OccupantConfig c, int userId, Display[] displays, in assertOccupantConfig() 560 HashMap<Integer, OccupantConfig> configs = mService.getActiveOccupantConfigs(); in testActiveOccupantConfigs() 587 HashMap<Integer, OccupantConfig> configs = mService.getActiveOccupantConfigs(); in testActiveOccupantConfigsAfterDisplayAdd() 612 HashMap<Integer, OccupantConfig> configs = mService.getActiveOccupantConfigs(); in testActiveOccupantConfigsAfterDisplayRemoval() 631 HashMap<Integer, OccupantConfig> configs = mService.getActiveOccupantConfigs(); in testActiveUserAfterUserSwitching()
|