Searched refs:unitId (Results 1 – 5 of 5) sorted by relevance
109 for (int unitId : availableUnitsId) { in getUnitsSupportedByProperty()110 if (UnitsMap.MAP.get(unitId) != null) { in getUnitsSupportedByProperty()111 Unit unit = UnitsMap.MAP.get(unitId); in getUnitsSupportedByProperty()116 int unitId = availableUnitsId.get(i); in getUnitsSupportedByProperty() local117 if (UnitsMap.MAP.get(unitId) != null) { in getUnitsSupportedByProperty()118 Unit unit = UnitsMap.MAP.get(unitId); in getUnitsSupportedByProperty()127 int unitId = mCarPropertyManager.getIntProperty(propertyId, AREA_ID); in getUnitUsedByProperty() local128 if (UnitsMap.MAP.get(unitId) != null) { in getUnitUsedByProperty()129 return UnitsMap.MAP.get(unitId); in getUnitUsedByProperty()139 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()
305 int unitId = Integer.parseInt((String) newValue); in handlePreferenceChanged() local306 Unit newUnit = UnitsMap.MAP.get(unitId); in handlePreferenceChanged()