Home
last modified time | relevance | path

Searched refs:valuePair (Results 1 – 2 of 2) sorted by relevance

/frameworks/native/services/inputflinger/tests/
DMultiTouchInputMapper_test.cpp134 for (const auto& [slotIndex, valuePair] : slotValues) { in mockSlotValues()
135 outMtSlotValues[slotIndex] = valuePair.first.x; in mockSlotValues()
139 for (const auto& [slotIndex, valuePair] : slotValues) { in mockSlotValues()
140 outMtSlotValues[slotIndex] = valuePair.first.y; in mockSlotValues()
144 for (const auto& [slotIndex, valuePair] : slotValues) { in mockSlotValues()
145 outMtSlotValues[slotIndex] = valuePair.second; in mockSlotValues()
/frameworks/base/media/java/android/media/
DAudioMetadata.java330 Pair<Key<?>, Object> valuePair = mHashMap.get(pairFromKey(key)); in containsKey() local
331 return valuePair != null; in containsKey()
345 Pair<Key<?>, Object> valuePair = mHashMap.get(pairFromKey(key)); in get() local
346 return (T) getValueFromValuePair(valuePair); in get()
362 Pair<Key<?>, Object> valuePair = mHashMap.remove(pairFromKey(key)); in remove() local
363 return (T) getValueFromValuePair(valuePair); in remove()
370 Pair<Key<?>, Object> valuePair = mHashMap in set() local
372 return (T) getValueFromValuePair(valuePair); in set()
420 private static Object getValueFromValuePair(@Nullable Pair<Key<?>, Object> valuePair) { in getValueFromValuePair() argument
421 if (valuePair == null) { in getValueFromValuePair()
[all …]