Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/accessibilityservice/
DAccessibilityServiceInfo.java1317 StringBuilder stringBuilder = new StringBuilder(); in toString() local
1318 appendEventTypes(stringBuilder, eventTypes); in toString()
1319 stringBuilder.append(", "); in toString()
1320 appendPackageNames(stringBuilder, packageNames); in toString()
1321 stringBuilder.append(", "); in toString()
1322 appendFeedbackTypes(stringBuilder, feedbackType); in toString()
1323 stringBuilder.append(", "); in toString()
1324 stringBuilder.append("notificationTimeout: ").append(notificationTimeout); in toString()
1325 stringBuilder.append(", "); in toString()
1326 stringBuilder.append("nonInteractiveUiTimeout: ").append(mNonInteractiveUiTimeout); in toString()
[all …]
DMagnificationConfig.java147 StringBuilder stringBuilder = new StringBuilder("MagnificationConfig["); in toString() local
148 stringBuilder.append("mode: ").append(getMode()); in toString()
149 stringBuilder.append(", "); in toString()
150 stringBuilder.append("activated: ").append(isActivated()); in toString()
151 stringBuilder.append(", "); in toString()
152 stringBuilder.append("scale: ").append(getScale()); in toString()
153 stringBuilder.append(", "); in toString()
154 stringBuilder.append("centerX: ").append(getCenterX()); in toString()
155 stringBuilder.append(", "); in toString()
156 stringBuilder.append("centerY: ").append(getCenterY()); in toString()
[all …]
DAccessibilityGestureEvent.java211 StringBuilder stringBuilder = new StringBuilder("AccessibilityGestureEvent["); in toString() local
212 stringBuilder.append("gestureId: ").append(gestureIdToString(mGestureId)); in toString()
213 stringBuilder.append(", "); in toString()
214 stringBuilder.append("displayId: ").append(mDisplayId); in toString()
215 stringBuilder.append(", "); in toString()
216 stringBuilder.append("Motion Events: ["); in toString()
219 stringBuilder.append(action); in toString()
221 stringBuilder.append(", "); in toString()
223 stringBuilder.append("]"); in toString()
226 stringBuilder.append(']'); in toString()
[all …]
DAccessibilityShortcutInfo.java351 StringBuilder stringBuilder = new StringBuilder(); in toString() local
352 stringBuilder.append("AccessibilityShortcutInfo["); in toString()
353 stringBuilder.append("activityInfo: ").append(mActivityInfo); in toString()
354 stringBuilder.append("]"); in toString()
355 return stringBuilder.toString(); in toString()
/frameworks/base/services/core/java/com/android/server/display/
DDisplayBrightnessState.java92 StringBuilder stringBuilder = new StringBuilder("DisplayBrightnessState:"); in toString() local
93 stringBuilder.append("\n brightness:"); in toString()
94 stringBuilder.append(getBrightness()); in toString()
95 stringBuilder.append("\n sdrBrightness:"); in toString()
96 stringBuilder.append(getSdrBrightness()); in toString()
97 stringBuilder.append("\n brightnessReason:"); in toString()
98 stringBuilder.append(getBrightnessReason()); in toString()
99 stringBuilder.append("\n shouldUseAutoBrightness:"); in toString()
100 stringBuilder.append(getShouldUseAutoBrightness()); in toString()
101 stringBuilder.append("\n isSlowChange:"); in toString()
[all …]
/frameworks/base/tools/codegen/src/com/android/codegen/
DPrinter.kt25 val stringBuilder: StringBuilder in <lambda>() constant
41 fun backspace() = stringBuilder.setLength(stringBuilder.length - 1) in <lambda>()
42 val lastChar get() = stringBuilder[stringBuilder.length - 1] in <lambda>()
45 stringBuilder.append(s) in <lambda>()
DMain.kt128 file.writeText(fileInfo.stringBuilder.toString().mapLines { trimEnd() }) in feature()
DClassPrinter.kt91 override val stringBuilder get() = fileInfo.stringBuilder in <lambda>() constant
DFileInfo.kt40 override val stringBuilder = StringBuilder() in <lambda>() constant in com.android.codegen.FileInfo
129 is CodeChunk.Code -> chunk.lines.forEach { stringBuilder.appendln(it) } in <lambda>()
/frameworks/base/core/java/android/text/format/
DTimeFormatter.java122 StringBuilder stringBuilder = new StringBuilder(19); in formatMillisWithFixedFormat() local
126 stringBuilder.append(localDateTime.getYear()); in formatMillisWithFixedFormat()
127 stringBuilder.append('-'); in formatMillisWithFixedFormat()
128 append2DigitNumber(stringBuilder, localDateTime.getMonthValue()); in formatMillisWithFixedFormat()
129 stringBuilder.append('-'); in formatMillisWithFixedFormat()
130 append2DigitNumber(stringBuilder, localDateTime.getDayOfMonth()); in formatMillisWithFixedFormat()
131 stringBuilder.append(' '); in formatMillisWithFixedFormat()
132 append2DigitNumber(stringBuilder, localDateTime.getHour()); in formatMillisWithFixedFormat()
133 stringBuilder.append(':'); in formatMillisWithFixedFormat()
134 append2DigitNumber(stringBuilder, localDateTime.getMinute()); in formatMillisWithFixedFormat()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/integrity/utils/
DTestUtils.java27 StringBuilder stringBuilder = new StringBuilder(); in getValueBits() local
29 stringBuilder.append(getBits(valueByte, /* numOfBits= */ 8)); in getValueBits()
31 return stringBuilder.toString(); in getValueBits()
/frameworks/base/apct-tests/perftests/core/src/android/libcore/regression/
DStringReplaceAllPerfTest.java60 StringBuilder stringBuilder = new StringBuilder(length); in makeString() local
64 stringBuilder.append(sequence8); in makeString()
68 stringBuilder.append("qrstuvwx"); in makeString()
70 return stringBuilder.toString(); in makeString()
DStringReplacePerfTest.java55 StringBuilder stringBuilder = new StringBuilder(length); in makeString() local
59 stringBuilder.append(sequence8); in makeString()
63 stringBuilder.append("qrstuvwx"); in makeString()
65 return stringBuilder.toString(); in makeString()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DWifiUtils.java276 StringBuilder stringBuilder = new StringBuilder(); in verboseScanResultSummary() local
277 stringBuilder.append(" \n{").append(result.BSSID); in verboseScanResultSummary()
279 stringBuilder.append("*"); in verboseScanResultSummary()
281 stringBuilder.append("=").append(result.frequency); in verboseScanResultSummary()
282 stringBuilder.append(",").append(result.level); in verboseScanResultSummary()
285 stringBuilder.append(",") in verboseScanResultSummary()
289 stringBuilder.append(",").append(ageSeconds).append("s"); in verboseScanResultSummary()
290 stringBuilder.append("}"); in verboseScanResultSummary()
291 return stringBuilder.toString(); in verboseScanResultSummary()
/frameworks/base/core/java/android/net/
DUrlQuerySanitizer.java329 StringBuilder stringBuilder = new StringBuilder(length); in sanitize() local
340 stringBuilder.append(c); in sanitize()
342 return stringBuilder.toString(); in sanitize()
851 StringBuilder stringBuilder = new StringBuilder(length); in unescape() local
852 stringBuilder.append(string.substring(0, firstEscape)); in unescape()
865 stringBuilder.append(c); in unescape()
867 return stringBuilder.toString(); in unescape()
/frameworks/base/services/usb/java/com/android/server/usb/descriptors/report/
DTextReportCanvas.java37 public TextReportCanvas(UsbDescriptorParser parser, StringBuilder stringBuilder) { in TextReportCanvas() argument
40 mStringBuilder = stringBuilder; in TextReportCanvas()
DHTMLReportCanvas.java35 public HTMLReportCanvas(UsbDescriptorParser parser, StringBuilder stringBuilder) { in HTMLReportCanvas() argument
38 mStringBuilder = stringBuilder; in HTMLReportCanvas()
/frameworks/base/core/tests/coretests/src/android/text/
DDynamicLayoutOffsetMappingTest.java336 StringBuilder stringBuilder = new StringBuilder(); in subSequence() local
338 stringBuilder.append(charAt(index)); in subSequence()
340 return stringBuilder.toString(); in subSequence()
345 StringBuilder stringBuilder = new StringBuilder(); in toString() local
347 stringBuilder.append(charAt(index)); in toString()
349 return stringBuilder.toString(); in toString()
/frameworks/base/services/core/java/com/android/server/notification/
DZenLog.java268 StringBuilder stringBuilder = new StringBuilder(); in componentListToString() local
272 stringBuilder.append(", "); in componentListToString()
274 stringBuilder.append(componentToString(components.get(i))); in componentListToString()
277 return stringBuilder.toString(); in componentListToString()
/frameworks/base/packages/SettingsLib/DeviceStateRotationLock/src/com.android.settingslib.devicestate/
DDeviceStateRotationLockSettingsManager.java272 StringBuilder stringBuilder = new StringBuilder(); in persistSettings() local
273 stringBuilder in persistSettings()
279 stringBuilder in persistSettings()
285 persistSettingIfChanged(stringBuilder.toString()); in persistSettings()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbHostManager.java184 StringBuilder stringBuilder = new StringBuilder(); in dumpTree() local
187 descriptorTree.report(new TextReportCanvas(parser, stringBuilder)); in dumpTree()
188 stringBuilder.append("isHeadset[in: " + parser.isInputHeadset() in dumpTree()
190 pw.println(stringBuilder.toString()); in dumpTree()
200 StringBuilder stringBuilder = new StringBuilder(); in dumpList() local
201 TextReportCanvas canvas = new TextReportCanvas(parser, stringBuilder); in dumpList()
205 pw.println(stringBuilder.toString()); in dumpList()
/frameworks/base/core/java/android/content/
DContentCaptureOptions.java396 StringBuilder stringBuilder = new StringBuilder("ContentProtectionOptions ["); in toString() local
397 stringBuilder in toString()
402 return stringBuilder.append(']').toString(); in toString()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DResourceHelper.java556 StringBuilder stringBuilder = new StringBuilder(str.substring(0, firstTagIndex)); in parseHtml() local
566 tag.mStart = stringBuilder.length(); in parseHtml()
576 tag.mEnd = stringBuilder.length(); in parseHtml()
583 stringBuilder.append(ch, start, length); in parseHtml()
595 stringBuilder.append(str.substring(lastTagIndex + 1)); in parseHtml()
596 return applyStyles(stringBuilder, tagList); in parseHtml()
605 private static SpannedString applyStyles(@NonNull StringBuilder stringBuilder, in applyStyles() argument
607 SpannableString spannableString = new SpannableString(stringBuilder); in applyStyles()
/frameworks/base/core/java/android/app/
DUiAutomation.java1643 final StringBuilder stringBuilder = new StringBuilder(); in toString() local
1644 stringBuilder.append("UiAutomation@").append(Integer.toHexString(hashCode())); in toString()
1645 stringBuilder.append("[id=").append(mConnectionId); in toString()
1646 stringBuilder.append(", displayId=").append(mDisplayId); in toString()
1647 stringBuilder.append(", flags=").append(mFlags); in toString()
1648 stringBuilder.append("]"); in toString()
1649 return stringBuilder.toString(); in toString()
/frameworks/base/media/java/android/media/
DExifInterface.java882 StringBuilder stringBuilder = new StringBuilder(); in getValue() local
889 stringBuilder.append((char) ch); in getValue()
891 stringBuilder.append('?'); in getValue()
895 return stringBuilder.toString(); in getValue()
1039 final StringBuilder stringBuilder = new StringBuilder(); in getStringValue() local
1043 stringBuilder.append(array[i]); in getStringValue()
1045 stringBuilder.append(","); in getStringValue()
1048 return stringBuilder.toString(); in getStringValue()
1053 stringBuilder.append(array[i]); in getStringValue()
1055 stringBuilder.append(","); in getStringValue()
[all …]

12