Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/util/
DStatsEventTest.java294 final SparseArray<Float> floatMap = new SparseArray<>(); in testKeyValuePairs() local
299 floatMap.put(9, -234.344f); in testKeyValuePairs()
304 .writeKeyValuePairs(intMap, longMap, stringMap, floatMap) in testKeyValuePairs()
338 + floatMap.size())); in testKeyValuePairs()
368 for (int i = 0; i < floatMap.size(); i++) { in testKeyValuePairs()
370 .that(buffer.getInt()).isEqualTo(floatMap.keyAt(i)); in testKeyValuePairs()
374 .that(buffer.getFloat()).isEqualTo(floatMap.valueAt(i)); in testKeyValuePairs()
/frameworks/base/core/java/android/util/
DStatsEvent.java506 @NonNull final SparseArray<Float> floatMap) { in writeKeyValuePairs() argument
510 final int floatMapSize = floatMap.size(); in writeKeyValuePairs()
546 final int key = floatMap.keyAt(i); in writeKeyValuePairs()
547 final float value = floatMap.valueAt(i); in writeKeyValuePairs()