Home
last modified time | relevance | path

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

/packages/modules/StatsD/framework/java/android/util/
DStatsEvent.java535 @Nullable final SparseArray<String> stringMap, in writeKeyValuePairs() argument
539 final int stringMapSize = null == stringMap ? 0 : stringMap.size(); in writeKeyValuePairs()
566 final int key = stringMap.keyAt(i); in writeKeyValuePairs()
567 final String value = stringMap.valueAt(i); in writeKeyValuePairs()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/js/
DJSScriptArgument.java87 public static JSScriptArgument stringMapToRecordArg(String name, Map<String, String> stringMap) in stringMapToRecordArg() argument
90 for (Map.Entry<String, String> signal : stringMap.entrySet()) { in stringMapToRecordArg()
/packages/modules/StatsD/framework/test/unittests/src/android/util/
DStatsEventTest.java329 final SparseArray<String> stringMap = new SparseArray<>(); in testKeyValuePairs() local
333 stringMap.put(3, "abc"); in testKeyValuePairs()
334 stringMap.put(4, "2h"); in testKeyValuePairs()
340 .writeKeyValuePairs(intMap, longMap, stringMap, floatMap) in testKeyValuePairs()
373 (byte) (intMap.size() + longMap.size() + stringMap.size() in testKeyValuePairs()
394 for (int i = 0; i < stringMap.size(); i++) { in testKeyValuePairs()
396 .that(buffer.getInt()).isEqualTo(stringMap.keyAt(i)); in testKeyValuePairs()
401 .that(value).isEqualTo(stringMap.valueAt(i)); in testKeyValuePairs()