Home
last modified time | relevance | path

Searched refs:joiner (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/core/java/com/android/internal/inputmethod/
DInputMethodDebug.java106 final StringJoiner joiner = new StringJoiner("|"); in softInputModeToString() local
114 joiner.add("STATE_UNSPECIFIED"); in softInputModeToString()
117 joiner.add("STATE_UNCHANGED"); in softInputModeToString()
120 joiner.add("STATE_HIDDEN"); in softInputModeToString()
123 joiner.add("STATE_ALWAYS_HIDDEN"); in softInputModeToString()
126 joiner.add("STATE_VISIBLE"); in softInputModeToString()
129 joiner.add("STATE_ALWAYS_VISIBLE"); in softInputModeToString()
132 joiner.add("STATE_UNKNOWN(" + state + ")"); in softInputModeToString()
138 joiner.add("ADJUST_UNSPECIFIED"); in softInputModeToString()
141 joiner.add("ADJUST_RESIZE"); in softInputModeToString()
[all …]
/frameworks/base/tests/utils/testutils/java/com/android/test/filters/
DSelectTest.java249 StringJoiner joiner = new StringJoiner(ARGUMENT_ITEM_SEPARATOR); in toString() local
252 joiner.add(classSet == null in toString()
255 return joiner.toString(); in toString()
313 StringJoiner joiner = new StringJoiner(ARGUMENT_ITEM_SEPARATOR); in toString() local
315 joiner.add(toString(className, mMethodSetMap.get(className))); in toString()
317 return joiner.toString(); in toString()
324 StringJoiner joiner = new StringJoiner(ARGUMENT_ITEM_SEPARATOR); in toString() local
326 joiner.add(className + METHOD_SEPARATOR + methodName); in toString()
328 return joiner.toString(); in toString()
341 StringJoiner joiner = new StringJoiner(ARGUMENT_ITEM_SEPARATOR); in join() local
[all …]
DSelectTestTests.java112 StringJoiner joiner = new StringJoiner(","); in putTestOption() local
114 joiner.add(arg); in putTestOption()
116 mTestArgs.putString(option, joiner.toString()); in putTestOption()
/frameworks/base/core/java/com/android/internal/accessibility/util/
DShortcutUtils.java53 final StringJoiner joiner = new StringJoiner(String.valueOf(SERVICES_SEPARATOR)); in optInValueToSettings() local
63 joiner.add(targetString); in optInValueToSettings()
65 joiner.add(componentId); in optInValueToSettings()
67 Settings.Secure.putString(context.getContentResolver(), targetKey, joiner.toString()); in optInValueToSettings()
80 final StringJoiner joiner = new StringJoiner(String.valueOf(SERVICES_SEPARATOR)); in optOutValueFromSettings() local
95 joiner.add(id); in optOutValueFromSettings()
98 Settings.Secure.putString(context.getContentResolver(), targetsKey, joiner.toString()); in optOutValueFromSettings()
/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/
DUtils.java81 StringBuilder joiner = new StringBuilder(); in joinStrings() local
87 joiner.append(separator); in joinStrings()
89 joiner.append(field); in joinStrings()
91 return joiner.toString(); in joinStrings()
/frameworks/base/core/java/android/hardware/usb/
DUsbManager.java976 StringJoiner joiner = new StringJoiner(","); in usbFunctionsToString() local
978 joiner.add(UsbManager.USB_FUNCTION_MTP); in usbFunctionsToString()
981 joiner.add(UsbManager.USB_FUNCTION_PTP); in usbFunctionsToString()
984 joiner.add(UsbManager.USB_FUNCTION_RNDIS); in usbFunctionsToString()
987 joiner.add(UsbManager.USB_FUNCTION_MIDI); in usbFunctionsToString()
990 joiner.add(UsbManager.USB_FUNCTION_ACCESSORY); in usbFunctionsToString()
993 joiner.add(UsbManager.USB_FUNCTION_AUDIO_SOURCE); in usbFunctionsToString()
996 joiner.add(UsbManager.USB_FUNCTION_NCM); in usbFunctionsToString()
999 joiner.add(UsbManager.USB_FUNCTION_ADB); in usbFunctionsToString()
1001 return joiner.toString(); in usbFunctionsToString()
/frameworks/base/core/java/android/net/
DNetworkCapabilities.java1622 StringJoiner joiner = new StringJoiner(", "); in describeImmutableDifferences() local
1632 joiner.add(String.format("immutable capabilities changed: %s -> %s", before, after)); in describeImmutableDifferences()
1638 joiner.add(String.format("specifier changed: %s -> %s", before, after)); in describeImmutableDifferences()
1644 joiner.add(String.format("transports changed: %s -> %s", before, after)); in describeImmutableDifferences()
1647 return joiner.toString(); in describeImmutableDifferences()
1877 StringJoiner joiner = new StringJoiner("|"); in capabilityNamesOf() local
1880 joiner.add(capabilityNameOf(c)); in capabilityNamesOf()
1883 return joiner.toString(); in capabilityNamesOf()
1926 StringJoiner joiner = new StringJoiner("|"); in transportNamesOf() local
1929 joiner.add(transportNameOf(t)); in transportNamesOf()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiCandidates.java637 StringJoiner joiner = new StringJoiner(","); in failure() local
639 joiner.add("" + c); in failure()
641 return failWithException(new IllegalArgumentException(joiner.toString())); in failure()
/frameworks/base/core/java/com/android/internal/widget/
DLockPatternUtils.java824 StringJoiner joiner = new StringJoiner(HISTORY_DELIMITER); in updatePasswordHistory() local
825 joiner.add(hash); in updatePasswordHistory()
827 joiner.add(history[i]); in updatePasswordHistory()
829 passwordHistory = joiner.toString(); in updatePasswordHistory()
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/storage/
DRecoverableKeyStoreDb.java623 StringJoiner joiner = new StringJoiner(","); in setRecoverySecretTypes() local
624 Arrays.stream(secretTypes).forEach(i -> joiner.add(Integer.toString(i))); in setRecoverySecretTypes()
625 String typesAsCsv = joiner.toString(); in setRecoverySecretTypes()
/frameworks/base/core/java/android/app/
DDownloadManager.java1022 private String joinStrings(String joiner, Iterable<String> parts) { in joinStrings() argument
1027 builder.append(joiner); in joinStrings()