Home
last modified time | relevance | path

Searched refs:stringBuilder (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/core/java/android/accessibilityservice/
DAccessibilityServiceInfo.java920 StringBuilder stringBuilder = new StringBuilder(); in toString() local
921 appendEventTypes(stringBuilder, eventTypes); in toString()
922 stringBuilder.append(", "); in toString()
923 appendPackageNames(stringBuilder, packageNames); in toString()
924 stringBuilder.append(", "); in toString()
925 appendFeedbackTypes(stringBuilder, feedbackType); in toString()
926 stringBuilder.append(", "); in toString()
927 stringBuilder.append("notificationTimeout: ").append(notificationTimeout); in toString()
928 stringBuilder.append(", "); in toString()
929 stringBuilder.append("nonInteractiveUiTimeout: ").append(mNonInteractiveUiTimeout); in toString()
[all …]
/frameworks/base/services/contentcapture/java/com/android/server/contentcapture/
DContentCaptureMetricsLogger.java64 StringBuilder stringBuilder = new StringBuilder(); in writeSetWhitelistEvent() local
67 stringBuilder.append(packages.get(0)); in writeSetWhitelistEvent()
69 stringBuilder.append(" "); in writeSetWhitelistEvent()
70 stringBuilder.append(packages.get(i)); in writeSetWhitelistEvent()
74 stringBuilder.append(" "); in writeSetWhitelistEvent()
75 stringBuilder.append(activities.get(0).flattenToShortString()); in writeSetWhitelistEvent()
78 stringBuilder.append(" "); in writeSetWhitelistEvent()
79 stringBuilder.append(activities.get(i).flattenToShortString()); in writeSetWhitelistEvent()
84 serviceName, stringBuilder.toString()); in writeSetWhitelistEvent()
/frameworks/base/core/java/android/text/format/
DTimeFormatter.java121 StringBuilder stringBuilder = new StringBuilder(19); in formatMillisWithFixedFormat() local
125 stringBuilder.append(localDateTime.getYear()); in formatMillisWithFixedFormat()
126 stringBuilder.append('-'); in formatMillisWithFixedFormat()
127 append2DigitNumber(stringBuilder, localDateTime.getMonthValue()); in formatMillisWithFixedFormat()
128 stringBuilder.append('-'); in formatMillisWithFixedFormat()
129 append2DigitNumber(stringBuilder, localDateTime.getDayOfMonth()); in formatMillisWithFixedFormat()
130 stringBuilder.append(' '); in formatMillisWithFixedFormat()
131 append2DigitNumber(stringBuilder, localDateTime.getHour()); in formatMillisWithFixedFormat()
132 stringBuilder.append(':'); in formatMillisWithFixedFormat()
133 append2DigitNumber(stringBuilder, localDateTime.getMinute()); in formatMillisWithFixedFormat()
[all …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DWifiUtils.java176 StringBuilder stringBuilder = new StringBuilder(); in verboseScanResultSummary() local
177 stringBuilder.append(" \n{").append(result.BSSID); in verboseScanResultSummary()
179 stringBuilder.append("*"); in verboseScanResultSummary()
181 stringBuilder.append("=").append(result.frequency); in verboseScanResultSummary()
182 stringBuilder.append(",").append(result.level); in verboseScanResultSummary()
185 stringBuilder.append(",") in verboseScanResultSummary()
189 stringBuilder.append(",").append(ageSeconds).append("s"); in verboseScanResultSummary()
190 stringBuilder.append("}"); in verboseScanResultSummary()
191 return stringBuilder.toString(); in verboseScanResultSummary()
/frameworks/base/core/java/android/net/
DUrlQuerySanitizer.java328 StringBuilder stringBuilder = new StringBuilder(length); in sanitize() local
339 stringBuilder.append(c); in sanitize()
341 return stringBuilder.toString(); in sanitize()
850 StringBuilder stringBuilder = new StringBuilder(length); in unescape() local
851 stringBuilder.append(string.substring(0, firstEscape)); in unescape()
864 stringBuilder.append(c); in unescape()
866 return stringBuilder.toString(); in unescape()
/frameworks/base/apct-tests/perftests/textclassifier/src/android/view/textclassifier/
DTextClassifierPerfTest.java103 StringBuilder stringBuilder = new StringBuilder(length); in generateRandomString() local
106 stringBuilder.append(RANDOM_CHAR_SET.charAt(index)); in generateRandomString()
108 return stringBuilder.toString(); in generateRandomString()
/frameworks/base/services/usb/java/com/android/server/usb/descriptors/report/
DHTMLReportCanvas.java35 public HTMLReportCanvas(UsbDescriptorParser parser, StringBuilder stringBuilder) { in HTMLReportCanvas() argument
38 mStringBuilder = stringBuilder; in HTMLReportCanvas()
DTextReportCanvas.java37 public TextReportCanvas(UsbDescriptorParser parser, StringBuilder stringBuilder) { in TextReportCanvas() argument
40 mStringBuilder = stringBuilder; in TextReportCanvas()
/frameworks/base/services/core/java/com/android/server/notification/
DZenLog.java224 StringBuilder stringBuilder = new StringBuilder(); in componentListToString() local
228 stringBuilder.append(", "); in componentListToString()
230 stringBuilder.append(componentToString(components.get(i))); in componentListToString()
233 return stringBuilder.toString(); in componentListToString()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbHostManager.java168 StringBuilder stringBuilder = new StringBuilder(); in dumpTree() local
171 descriptorTree.report(new TextReportCanvas(parser, stringBuilder)); in dumpTree()
173 stringBuilder.append("isHeadset[in: " + parser.isInputHeadset() in dumpTree()
175 pw.println(stringBuilder.toString()); in dumpTree()
185 StringBuilder stringBuilder = new StringBuilder(); in dumpList() local
186 TextReportCanvas canvas = new TextReportCanvas(parser, stringBuilder); in dumpList()
190 pw.println(stringBuilder.toString()); in dumpList()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiApConfigStoreTest.java578 StringBuilder stringBuilder = new StringBuilder(length); in generateRandomString() local
580 while (stringBuilder.length() < length) { in generateRandomString()
582 stringBuilder.append(TEST_CHAR_SET_AS_STRING.charAt(index)); in generateRandomString()
584 return stringBuilder.toString(); in generateRandomString()
/frameworks/base/media/java/android/media/
DExifInterface.java760 StringBuilder stringBuilder = new StringBuilder(); in getValue() local
767 stringBuilder.append((char) ch); in getValue()
769 stringBuilder.append('?'); in getValue()
773 return stringBuilder.toString(); in getValue()
917 final StringBuilder stringBuilder = new StringBuilder(); in getStringValue() local
921 stringBuilder.append(array[i]); in getStringValue()
923 stringBuilder.append(","); in getStringValue()
926 return stringBuilder.toString(); in getStringValue()
931 stringBuilder.append(array[i]); in getStringValue()
933 stringBuilder.append(","); in getStringValue()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DPasswordTextView.java269 StringBuilder stringBuilder = new StringBuilder(textLength); in getTransformedText() local
277 stringBuilder.append(charState.isCharVisibleForA11y() ? charState.whichChar : DOT); in getTransformedText()
279 return stringBuilder; in getTransformedText()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerService.java21233 StringBuilder stringBuilder = new StringBuilder(128);
21234 stringBuilder.append('[');
21237 if (i > 0) stringBuilder.append(", ");
21238 stringBuilder.append(array[i]);
21241 stringBuilder.append(']');
21242 return stringBuilder.toString();