Home
last modified time | relevance | path

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

/frameworks/base/apex/statsd/framework/java/android/util/
DStatsEvent.java521 @Nullable final SparseLongArray longMap, in writeKeyValuePairs() argument
525 final int longMapSize = null == longMap ? 0 : longMap.size(); in writeKeyValuePairs()
545 final int key = longMap.keyAt(i); in writeKeyValuePairs()
546 final long value = longMap.valueAt(i); in writeKeyValuePairs()
/frameworks/base/apex/statsd/framework/test/src/android/util/
DStatsEventTest.java332 final SparseLongArray longMap = new SparseLongArray(); in testKeyValuePairs() local
344 .writeKeyValuePairs(intMap, longMap, stringMap, floatMap) in testKeyValuePairs()
377 (byte) (intMap.size() + longMap.size() + stringMap.size() in testKeyValuePairs()
389 for (int i = 0; i < longMap.size(); i++) { in testKeyValuePairs()
391 .that(buffer.getInt()).isEqualTo(longMap.keyAt(i)); in testKeyValuePairs()
395 .that(buffer.getLong()).isEqualTo(longMap.valueAt(i)); in testKeyValuePairs()