Home
last modified time | relevance | path

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

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DOccupantZoneHelper.java63 private final SparseIntArray mZoneToUser = new SparseIntArray(); // key: zone, value: user id field in OccupantZoneHelper
136 int existingIndex = mZoneToUser.indexOfValue(userId); in setUpOccupantZones()
138 int preassignedZone = mZoneToUser.keyAt(existingIndex); in setUpOccupantZones()
145 mZoneToUser.append(zoneId, userId); in setUpOccupantZones()
158 int existingIndex = mZoneToUser.indexOfKey(zoneId); in setUpOccupantZones()
160 mZoneToUser.delete(zoneId); in setUpOccupantZones()
168 for (int i = 0; i < mZoneToUser.size(); i++) { in setUpOccupantZones()
169 int user = mZoneToUser.valueAt(i); in setUpOccupantZones()
170 int zoneId = mZoneToUser.keyAt(i); in setUpOccupantZones()
181 int existingIndex = mZoneToUser.indexOfKey(zoneId); in setUpOccupantZones()
[all …]