Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/util/
DStatsEventTest.java293 final SparseArray<String> stringMap = new SparseArray<>(); in testKeyValuePairs() local
297 stringMap.put(3, "abc"); in testKeyValuePairs()
298 stringMap.put(4, "2h"); in testKeyValuePairs()
304 .writeKeyValuePairs(intMap, longMap, stringMap, floatMap) in testKeyValuePairs()
337 (byte) (intMap.size() + longMap.size() + stringMap.size() in testKeyValuePairs()
358 for (int i = 0; i < stringMap.size(); i++) { in testKeyValuePairs()
360 .that(buffer.getInt()).isEqualTo(stringMap.keyAt(i)); in testKeyValuePairs()
365 .that(value).isEqualTo(stringMap.valueAt(i)); in testKeyValuePairs()
/frameworks/base/core/java/android/util/
DStatsEvent.java505 @NonNull final SparseArray<String> stringMap, in writeKeyValuePairs() argument
509 final int stringMapSize = stringMap.size(); in writeKeyValuePairs()
536 final int key = stringMap.keyAt(i); in writeKeyValuePairs()
537 final String value = stringMap.valueAt(i); in writeKeyValuePairs()