Searched refs:existingValue (Results 1 – 3 of 3) sorted by relevance
1364 public static int getValueForVibrateSetting(int existingValue, int vibrateType, in getValueForVibrateSetting() argument1369 existingValue &= ~(3 << (vibrateType * 2)); in getValueForVibrateSetting()1372 existingValue |= (vibrateSetting & 3) << (vibrateType * 2); in getValueForVibrateSetting()1374 return existingValue; in getValueForVibrateSetting()
548 Object existingValue = mapToWriteToDisk.get(k); in commitToMemory() local549 if (existingValue != null && existingValue.equals(v)) { in commitToMemory()
661 V existingValue = map.putIfAbsent(key, newValue); in putIfAbsent() local662 return existingValue == null ? newValue : existingValue; in putIfAbsent()