Searched refs:unitId (Results 1 – 5 of 5) sorted by relevance
100 for (int unitId : availableUnitsId) { in getUnitsSupportedByProperty()101 if (UnitsMap.MAP.get(unitId) != null) { in getUnitsSupportedByProperty()102 Unit unit = UnitsMap.MAP.get(unitId); in getUnitsSupportedByProperty()107 int unitId = availableUnitsId.get(i); in getUnitsSupportedByProperty() local108 if (UnitsMap.MAP.get(unitId) != null) { in getUnitsSupportedByProperty()109 Unit unit = UnitsMap.MAP.get(unitId); in getUnitsSupportedByProperty()118 int unitId = mCarPropertyManager.getIntProperty(propertyId, AREA_ID); in getUnitUsedByProperty() local119 if (UnitsMap.MAP.get(unitId) != null) { in getUnitUsedByProperty()120 return UnitsMap.MAP.get(unitId); in getUnitUsedByProperty()130 protected void setUnitUsedByProperty(int propertyId, int unitId) { in setUnitUsedByProperty() argument[all …]
31 Unit(@VehicleUnit.Enum int unitId, @StringRes int unitAbbreviationResId, in Unit() argument33 mId = unitId; in Unit()
129 int unitId = Integer.parseInt((String) newValue); in handlePreferenceChanged() local130 mCarUnitsManager.setUnitUsedByProperty(getPropertyId(), unitId); in handlePreferenceChanged() local
60 protected static void setUnitUsedByProperty(int propertyId, int unitId) { in setUnitUsedByProperty() argument61 sUnitsBeingUsed.put(propertyId, UnitsMap.MAP.get(unitId)); in setUnitUsedByProperty()
215 int unitId = Integer.parseInt((String) newValue); in handlePreferenceChanged() local216 Unit newUnit = UnitsMap.MAP.get(unitId); in handlePreferenceChanged()