Home
last modified time | relevance | path

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

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DResourceUtils.java58 final ArrayList<String> keyValuePairs = new ArrayList<>();
65 keyValuePairs.add(key + '=' + value);
67 sBuildKeyValuesDebugString = "[" + TextUtils.join(" ", keyValuePairs) + "]";
125 static String findConstantForKeyValuePairs(final HashMap<String, String> keyValuePairs, in findConstantForKeyValuePairs() argument
127 if (conditionConstantArray == null || keyValuePairs == null) { in findConstantForKeyValuePairs()
143 if (fulfillsCondition(keyValuePairs, condition)) { in findConstantForKeyValuePairs()
157 private static boolean fulfillsCondition(final HashMap<String,String> keyValuePairs, in fulfillsCondition() argument
168 final String value = keyValuePairs.get(key); in fulfillsCondition()
/packages/services/Car/service/src/com/android/car/hal/
DBidirectionalSparseIntArray.java34 static BidirectionalSparseIntArray create(int[] keyValuePairs) { in create() argument
35 int inputLength = keyValuePairs.length; in create()
41 for (int i = 0; i < keyValuePairs.length; i += 2) { in create()
42 biMap.put(keyValuePairs[i], keyValuePairs[i + 1]); in create()
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
DHeadsetStateMachine.java1479 String keyValuePairs = String.join(";", new String[]{ in setAudioParameters() local
1486 Log.i(TAG, "setAudioParameters for " + mDevice + ": " + keyValuePairs); in setAudioParameters()
1487 mSystemInterface.getAudioManager().setParameters(keyValuePairs); in setAudioParameters()