Searched refs:unitId (Results 1 – 4 of 4) sorted by relevance
119 for (int unitId : availableUnitsId) { in getUnitsSupportedByProperty()120 if (UnitsMap.MAP.get(unitId) != null) { in getUnitsSupportedByProperty()121 Unit unit = UnitsMap.MAP.get(unitId); in getUnitsSupportedByProperty()126 int unitId = availableUnitsId.get(i); in getUnitsSupportedByProperty() local127 if (UnitsMap.MAP.get(unitId) != null) { in getUnitsSupportedByProperty()128 Unit unit = UnitsMap.MAP.get(unitId); in getUnitsSupportedByProperty()137 int unitId = mCarPropertyManager.getIntProperty(propertyId, AREA_ID); in getUnitUsedByProperty() local138 if (UnitsMap.MAP.get(unitId) != null) { in getUnitUsedByProperty()139 return UnitsMap.MAP.get(unitId); in getUnitUsedByProperty()149 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()
128 int unitId = Integer.parseInt((String) newValue); in handlePreferenceChanged() local129 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()