Home
last modified time | relevance | path

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

/packages/services/Car/service/src/com/android/car/
DCarOccupantZoneService.java188 static class OccupantConfig { class in CarOccupantZoneService
216 private final SparseArray<OccupantConfig> mActiveOccupantConfigs = new SparseArray<>();
339 OccupantConfig zoneConfig = mActiveOccupantConfigs.get(zoneId); in init()
358 OccupantConfig config = mActiveOccupantConfigs.valueAt(i); in init()
445 public SparseArray<OccupantConfig> getActiveOccupantConfigs() { in getActiveOccupantConfigs()
547 OccupantConfig config = mActiveOccupantConfigs.get(occupantZoneId); in getAllDisplaysForOccupantZone()
567 OccupantConfig config = mActiveOccupantConfigs.get(occupantZoneId); in areDisplaysOnForOccupantZone()
584 OccupantConfig config = mActiveOccupantConfigs.get(occupantZoneId); in getDisplayForOccupant()
599 OccupantConfig config = mActiveOccupantConfigs.get(mDriverZoneId); in getAllDisplayIdsForDriver()
633 OccupantConfig config = mActiveOccupantConfigs.get(zoneInfo.zoneId); in findDisplayForDriverLocked()
[all …]
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DCarOccupantZoneServiceTest.java62 import com.android.car.CarOccupantZoneService.OccupantConfig;
717 private void assertOccupantConfig(OccupantConfig c, int userId, Display[] displays, in assertOccupantConfig()
810 SparseArray<OccupantConfig> configs = mService.getActiveOccupantConfigs(); in testActiveOccupantConfigs()
839 SparseArray<OccupantConfig> configs = mService.getActiveOccupantConfigs(); in testActiveOccupantConfigsAfterDisplayAdd()
867 SparseArray<OccupantConfig> configs = mService.getActiveOccupantConfigs(); in testActiveOccupantConfigsAfterDisplayRemoval()
879 SparseArray<OccupantConfig> configs = mService.getActiveOccupantConfigs(); in assertUserForThreeZones()