Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/util/
DStatsEventTest.java292 final SparseLongArray longMap = new SparseLongArray(); in testKeyValuePairs() local
304 .writeKeyValuePairs(intMap, longMap, stringMap, floatMap) in testKeyValuePairs()
337 (byte) (intMap.size() + longMap.size() + stringMap.size() in testKeyValuePairs()
349 for (int i = 0; i < longMap.size(); i++) { in testKeyValuePairs()
351 .that(buffer.getInt()).isEqualTo(longMap.keyAt(i)); in testKeyValuePairs()
355 .that(buffer.getLong()).isEqualTo(longMap.valueAt(i)); in testKeyValuePairs()
/frameworks/base/core/java/android/util/
DStatsEvent.java504 @NonNull final SparseLongArray longMap, in writeKeyValuePairs() argument
508 final int longMapSize = longMap.size(); in writeKeyValuePairs()
528 final int key = longMap.keyAt(i); in writeKeyValuePairs()
529 final long value = longMap.valueAt(i); in writeKeyValuePairs()