Home
last modified time | relevance | path

Searched refs:sb (Results 1 – 10 of 10) sorted by relevance

/platform_testing/libraries/flicker/utils/src/android/tools/traces/component/
DComponentName.kt38 val sb = StringBuilder(packageName.length + className.length) in toActivityName() constant
39 appendShortString(sb, packageName, className) in toActivityName()
40 return sb.toString() in toActivityName()
90 private fun appendShortString(sb: StringBuilder, packageName: String, className: String) { in appendShortString()
91 sb.append(packageName).append('/') in appendShortString()
92 appendShortClassName(sb, packageName, className) in appendShortString()
95 private fun appendShortClassName(sb: StringBuilder, packageName: String, className: String) { in appendShortClassName()
100 sb.append(className, packageNameLength, classNameLength) in appendShortClassName()
104 sb.append(className) in appendShortClassName()
/platform_testing/libraries/flicker/utils/src/android/tools/traces/parsers/
DWaitForValidActivityState.kt51 val sb = StringBuilder("wait:") in toString() constant
53 sb.append(" activity=").append(activityMatcher.toActivityIdentifier()) in toString()
56 sb.append(" type=").append(activityTypeName(activityType)) in toString()
59 sb.append(" window=").append(windowIdentifier) in toString()
62 sb.append(" mode=").append(windowingModeName(windowingMode)) in toString()
65 sb.append(" stack=").append(stackId) in toString()
67 return sb.toString() in toString()
/platform_testing/libraries/health/rules/src/android/platform/test/rule/
DFailureWatcher.java66 final StringBuilder sb = new StringBuilder();
70 sb.append("TITLE: ").append(object.getText());
75 sb.append(" PACKAGE: ")
81 if (sb.length() != 0) {
82 return "System alert popup is visible: " + sb;
/platform_testing/libraries/audio-test-harness/tradefed/src/main/java/com/android/media/audiotestharness/tradefed/
DAudioTestHarnessServerLogForwardingHandler.java86 StringBuilder sb = new StringBuilder(); in buildLogOutputLine() local
88 sb.append(logRecord.getLoggerName()); in buildLogOutputLine()
89 sb.append(LOG_LINE_ITEM_SEPARATOR); in buildLogOutputLine()
90 sb.append(logRecord.getMessage()); in buildLogOutputLine()
92 return sb.toString(); in buildLogOutputLine()
/platform_testing/libraries/flag-helpers/junit/src_base/android/platform/test/flag/junit/
DFlagsParameterization.java43 StringBuilder sb = new StringBuilder(); in toString() local
45 if (sb.length() != 0) { in toString()
46 sb.append(','); in toString()
48 sb.append(entry.getKey()).append('=').append(entry.getValue()); in toString()
50 return sb.toString(); in toString()
/platform_testing/libraries/compatibility-common-util/tests/src/com/android/compatibility/common/util/
DReportLogTest.java114 StringBuilder sb = new StringBuilder(); in testLimits_source() local
116 for (int i = 0; i < 40; i++) sb.append(SOURCE); in testLimits_source()
117 String source = sb.toString(); in testLimits_source()
129 StringBuilder sb = new StringBuilder(); in testLimits_message() local
131 for (int i = 0; i < 40; i++) sb.append(MESSAGE); in testLimits_message()
132 String message = sb.toString(); in testLimits_message()
/platform_testing/libraries/compatibility-common-util/src/com/android/compatibility/common/util/
DChecksumReporter.java275 StringBuilder sb = new StringBuilder(); in generateTestResultSignature() local
282 sb.append(buildFingerprint).append(SEPARATOR) in generateTestResultSignature()
287 return sb.toString(); in generateTestResultSignature()
297 StringBuilder sb = new StringBuilder(); in generateTestResultSignature() local
303 sb.append(buildFingerprint) in generateTestResultSignature()
313 return sb.toString(); in generateTestResultSignature()
330 StringBuilder sb = new StringBuilder(); in generateModuleResultSignature() local
331 sb.append(buildFingerprint).append(SEPARATOR) in generateModuleResultSignature()
335 return sb.toString(); in generateModuleResultSignature()
340 StringBuilder sb = new StringBuilder(); in generateModuleSummarySignature() local
[all …]
DBusinessLogicFactory.java263 StringBuilder sb = new StringBuilder((int) f.length()); in readFile() local
267 sb.append(scanner.nextLine() + lineSeparator); in readFile()
269 return sb.toString(); in readFile()
/platform_testing/libraries/aupt-lib/src/android/support/test/aupt/
DAuptTestRunner.java595 StringBuilder sb = new StringBuilder();
598 sb.append(t.toString()).append('\n');
600 sb.append("\tat ").append(ste.toString()).append('\n');
602 sb.append('\n');
604 return sb.toString();
/platform_testing/libraries/sts-common-util/host-side/src/com/android/sts/common/util/
DTombstoneParser.java200 (sb, line) -> { in parseLogcat()
201 sb.append(line); in parseLogcat()
202 sb.append('\n'); in parseLogcat()