Searched refs:unitId (Results 1 – 5 of 5) sorted by relevance
106 for (int unitId : availableUnitsId) { in getUnitsSupportedByProperty()107 if (UnitsMap.MAP.get(unitId) != null) { in getUnitsSupportedByProperty()108 Unit unit = UnitsMap.MAP.get(unitId); in getUnitsSupportedByProperty()113 int unitId = availableUnitsId.get(i); in getUnitsSupportedByProperty() local114 if (UnitsMap.MAP.get(unitId) != null) { in getUnitsSupportedByProperty()115 Unit unit = UnitsMap.MAP.get(unitId); in getUnitsSupportedByProperty()124 int unitId = mCarPropertyManager.getIntProperty(propertyId, AREA_ID); in getUnitUsedByProperty() local125 if (UnitsMap.MAP.get(unitId) != null) { in getUnitUsedByProperty()126 return UnitsMap.MAP.get(unitId); in getUnitUsedByProperty()136 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()