/tools/test/graphicsbenchmark/performance_tests/hostside/src/com/android/game/qualification/reporter/ |
D | GameQualificationResultReporter.java | 130 StringBuilder sb = new StringBuilder(); in getInvocationSummary() local 134 sb.append("Log Files:\n"); in getInvocationSummary() 137 sb.append(String.format(" %s\n", url != null ? url : logFile.getPath())); in getInvocationSummary() 139 sb.append("\n"); in getInvocationSummary() 144 sb.append("Unable to certify device. Invocation failed:\n"); in getInvocationSummary() 146 sb.append(" "); in getInvocationSummary() 147 sb.append(t.getMessage()); in getInvocationSummary() 148 sb.append("\n"); in getInvocationSummary() 150 return sb.toString(); in getInvocationSummary() 154 sb.append("Test Results:\n"); in getInvocationSummary() [all …]
|
/tools/metalava/src/main/java/com/android/tools/metalava/ |
D | Terminal.kt | 39 val sb = StringBuilder() in terminalAttributes() constant 40 sb.append("\u001B[") in terminalAttributes() 42 sb.append('3').append('0' + foreground.value) in terminalAttributes() 45 if (sb.last().isDigit()) in terminalAttributes() 46 sb.append(';') in terminalAttributes() 47 sb.append('4').append('0' + background.value) in terminalAttributes() 51 if (sb.last().isDigit()) in terminalAttributes() 52 sb.append(';') in terminalAttributes() 53 sb.append('1') in terminalAttributes() 56 if (sb.last().isDigit()) in terminalAttributes() [all …]
|
D | Reporter.kt | 335 val sb = StringBuilder(100) in format() constant 338 sb.append(terminalAttributes(bold = true)) in format() 341 sb.append(it).append(": ") in format() 345 … LINT -> sb.append(terminalAttributes(foreground = TerminalColor.CYAN)).append("lint: ") in format() 346 … INFO -> sb.append(terminalAttributes(foreground = TerminalColor.CYAN)).append("info: ") in format() 347 … WARNING -> sb.append(terminalAttributes(foreground = TerminalColor.YELLOW)).append("warning: ") in format() 348 … ERROR -> sb.append(terminalAttributes(foreground = TerminalColor.RED)).append("error: ") in format() 352 sb.append(resetTerminal()) in format() 353 sb.append(message) in format() 355 sb.append(" [").append(it.name).append("]") in format() [all …]
|
/tools/tradefederation/core/src/com/android/tradefed/result/ |
D | ConsoleResultReporter.java | 109 StringBuilder sb = new StringBuilder(tag); in testRunEnded() local 110 sb.append(": "); in testRunEnded() 111 sb.append(runName); in testRunEnded() 112 sb.append(": "); in testRunEnded() 116 sb.append(String.format("%s=%s\n", metricKey, metrics.get(metricKey))); in testRunEnded() 118 print(sb.toString()); in testRunEnded() 127 StringBuilder sb = new StringBuilder(); in invocationEnded() local 128 sb.append("========== Result Summary =========="); in invocationEnded() 129 sb.append(String.format("\nResults summary for test-tag '%s': ", mTestTag)); in invocationEnded() 130 sb.append(mResultCountListener.getTotalTests()); in invocationEnded() [all …]
|
/tools/loganalysis/tests/src/com/android/loganalysis/parser/ |
D | MonkeyLogParserFuncTest.java | 74 StringBuffer sb = new StringBuffer(); in testParse() local 75 sb.append("Stats for monkey log:\n"); in testParse() 76 sb.append(String.format(" Start time: %s\n", monkeyLog.getStartTime())); in testParse() 77 sb.append(String.format(" Stop time: %s\n", monkeyLog.getStopTime())); in testParse() 78 sb.append(String.format(" Parameters: target-count=%d, throttle=%d, seed=%d, " + in testParse() 82 sb.append(String.format(" Packages: %s\n", monkeyLog.getPackages())); in testParse() 83 sb.append(String.format(" Categories: %s\n", monkeyLog.getCategories())); in testParse() 85 sb.append(" Status: no-activities=true\n"); in testParse() 87 sb.append(String.format(" Status: finished=%b, final-count=%d, " + in testParse() 91 sb.append(" Dropped events:"); in testParse() [all …]
|
/tools/metalava/src/main/java/com/android/tools/metalava/doclava1/ |
D | ApiParseException.kt | 33 val sb = StringBuilder() constant in com.android.tools.metalava.doclava1.ApiParseException 35 sb.append(file).append(':') 38 sb.append(line).append(':') 40 if (sb.isNotEmpty()) { 41 sb.append(' ') 43 sb.append(super.message) 44 return sb.toString()
|
/tools/test/graphicsbenchmark/performance_tests/hostside/src/com/android/game/qualification/metric/ |
D | MetricSummary.java | 128 StringBuilder sb = new StringBuilder(); in toString() local 130 sb.append("Summary\n"); in toString() 131 sb.append("-------\n"); in toString() 132 sb.append("Load time: "); in toString() 134 sb.append("unknown"); in toString() 136 sb.append(getLoadTimeMs()); in toString() 137 sb.append(" ms\n"); in toString() 139 sb.append("\n"); in toString() 142 sb.append("Details\n"); in toString() 143 sb.append("-------\n"); in toString() [all …]
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/ |
D | SuiteTestFilter.java | 98 StringBuilder sb = new StringBuilder(); in toString() local 100 sb.append(mAbi.trim()); in toString() 101 sb.append(" "); in toString() 104 sb.append(mName.trim()); in toString() 107 sb.append(" "); in toString() 108 sb.append(mTest.trim()); in toString() 110 return sb.toString(); in toString()
|
/tools/tradefederation/contrib/src/com/android/media/tests/ |
D | AudioLoopbackTestHelper.java | 290 final StringBuilder sb = new StringBuilder(512); in toString() local 291 sb.append("{").append(NL); in toString() 292 sb.append("{\nlatencyMs=").append(mLatencyMs).append(NL); in toString() 293 sb.append("latencyConfidence=").append(mLatencyConfidence).append(NL); in toString() 294 sb.append("isTimedOut=").append(mIsTimedOut).append(NL); in toString() 295 sb.append("iteration=").append(mIteration).append(NL); in toString() 296 sb.append("logs=").append(Arrays.toString(mLogs.values().toArray())).append(NL); in toString() 297 sb.append("audioLevel=").append(mAudioLevel).append(NL); in toString() 298 sb.append("deviceTestStartTime=").append(mDeviceTestStartTime).append(NL); in toString() 299 sb.append("rms=").append(mRms).append(NL); in toString() [all …]
|
D | CameraTestMetricsCollectionListener.java | 179 StringBuilder sb = new StringBuilder(); in getErrorMessage() local 181 sb.append(error.getKey()); in getErrorMessage() 182 sb.append(" : "); in getErrorMessage() 183 sb.append(error.getValue()); in getErrorMessage() 184 sb.append("\n"); in getErrorMessage() 186 return sb.toString(); in getErrorMessage()
|
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/fat/ |
D | Fat.java | 459 final StringBuilder sb = new StringBuilder(); in toString() local 461 sb.append(this.getClass().getSimpleName()); in toString() 462 sb.append("[type="); in toString() 463 sb.append(fatType); in toString() 464 sb.append(", mediumDescriptor=0x"); in toString() 465 sb.append(Integer.toHexString(getMediumDescriptor())); in toString() 466 sb.append(", sectorCount="); in toString() 467 sb.append(sectorCount); in toString() 468 sb.append(", sectorSize="); in toString() 469 sb.append(sectorSize); in toString() [all …]
|
/tools/tradefederation/core/src/com/android/tradefed/util/ |
D | StringUtil.java | 42 final StringBuffer sb = new StringBuffer(); in expand() local 48 m.appendReplacement(sb, Matcher.quoteReplacement(value)); in expand() 50 m.appendTail(sb); in expand() 51 return sb.toString(); in expand()
|
D | QuotationAwareTokenizer.java | 153 StringBuilder sb = new StringBuilder(); in combineTokens() local 158 sb.append('"'); in combineTokens() 159 sb.append(token); in combineTokens() 160 sb.append('"'); in combineTokens() 162 sb.append(token); in combineTokens() 166 sb.append(' '); in combineTokens() 169 return sb.toString(); in combineTokens()
|
D | AbiFormatter.java | 58 StringBuffer sb = new StringBuffer(); in formatCmdForAbi() local 62 m.appendReplacement(sb, ""); in formatCmdForAbi() 64 m.appendReplacement(sb, abi); in formatCmdForAbi() 67 m.appendTail(sb); in formatCmdForAbi() 68 return sb.toString(); in formatCmdForAbi()
|
D | SimplePerfUtil.java | 147 StringBuilder sb = new StringBuilder("simpleperf "); in commandPrependPreparer() local 148 sb.append(mType.toString()).append(" "); in commandPrependPreparer() 151 sb.append(argu).append(" "); in commandPrependPreparer() 154 mCachedCommandPrepend = sb; in commandPrependPreparer()
|
D | SubprocessTestResultsParser.java | 272 StringBuilder sb = new StringBuilder(); in SubprocessTestResultsParser() local 273 sb.append(StatusKeys.INVOCATION_FAILED).append("|"); in SubprocessTestResultsParser() 274 sb.append(StatusKeys.TEST_ASSUMPTION_FAILURE).append("|"); in SubprocessTestResultsParser() 275 sb.append(StatusKeys.TEST_ENDED).append("|"); in SubprocessTestResultsParser() 276 sb.append(StatusKeys.TEST_FAILED).append("|"); in SubprocessTestResultsParser() 277 sb.append(StatusKeys.TEST_IGNORED).append("|"); in SubprocessTestResultsParser() 278 sb.append(StatusKeys.TEST_STARTED).append("|"); in SubprocessTestResultsParser() 279 sb.append(StatusKeys.TEST_RUN_ENDED).append("|"); in SubprocessTestResultsParser() 280 sb.append(StatusKeys.TEST_RUN_FAILED).append("|"); in SubprocessTestResultsParser() 281 sb.append(StatusKeys.TEST_RUN_STARTED).append("|"); in SubprocessTestResultsParser() [all …]
|
/tools/loganalysis/src/com/android/loganalysis/util/ |
D | ArrayUtil.java | 76 StringBuilder sb = new StringBuilder(); in internalJoin() local 83 sb.append(sep); in internalJoin() 88 sb.append("null"); in internalJoin() 90 sb.append(obj.toString()); in internalJoin() 93 return sb.toString(); in internalJoin()
|
/tools/tradefederation/core/common_util/com/android/tradefed/util/ |
D | ArrayUtil.java | 75 StringBuilder sb = new StringBuilder(); in internalJoin() local 82 sb.append(sep); in internalJoin() 87 sb.append("null"); in internalJoin() 89 sb.append(obj.toString()); in internalJoin() 92 return sb.toString(); in internalJoin()
|
/tools/metalava/src/main/java/com/android/tools/metalava/apilevels/ |
D | ApiElement.java | 209 StringBuilder sb = new StringBuilder(); in encodeAttribute() local 216 sb.append("""); //$NON-NLS-1$ in encodeAttribute() 218 sb.append("<"); //$NON-NLS-1$ in encodeAttribute() 220 sb.append("'"); //$NON-NLS-1$ in encodeAttribute() 222 sb.append("&"); //$NON-NLS-1$ in encodeAttribute() 224 sb.append(c); in encodeAttribute() 228 return sb.toString(); in encodeAttribute()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/ |
D | GTestListTestParser.java | 90 StringBuilder sb = new StringBuilder(); in getTestClass() local 91 sb.append(mTestRunName); in getTestClass() 92 sb.append("."); in getTestClass() 93 sb.append(name); in getTestClass() 94 return sb.toString(); in getTestClass()
|
D | PythonUnitTestRunner.java | 133 StringBuilder sb = new StringBuilder(); in setPythonPath() local 134 sb.append(System.getenv(PYTHONPATH)); in setPythonPath() 140 sb.append(":"); in setPythonPath() 141 sb.append(pathdir.getAbsolutePath()); in setPythonPath() 144 sb.append(":"); in setPythonPath() 145 sb.append(getBuild().getFile(PYTHONPATH).getAbsolutePath()); in setPythonPath() 147 mPythonPath = sb.toString(); in setPythonPath()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/util/ |
D | TableBuilderTest.java | 80 StringBuilder sb = new StringBuilder(); in generateString() local 82 sb.append(c); in generateString() 84 return sb.toString(); in generateString()
|
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/util/ |
D | RamDisk.java | 120 final StringBuilder sb = new StringBuilder(); in read() local 121 sb.append("read at ").append(devOffset); in read() 122 sb.append(" is off size (").append(getSize()).append(")"); in read() 124 throw new IllegalArgumentException(sb.toString()); in read()
|
/tools/tradefederation/core/test_result_interfaces/com/android/tradefed/result/ |
D | MultiFailureDescription.java | 117 StringBuilder sb = in toString() local 120 sb.append(String.format("\n %s", f.toString())); in toString() 122 return sb.toString(); in toString()
|
/tools/tradefederation/core/src/com/android/tradefed/cluster/ |
D | ClusterHostUtil.java | 98 StringBuffer sb = new StringBuffer(); in getRunTarget() local 154 m.appendReplacement(sb, Matcher.quoteReplacement(txt)); in getRunTarget() 156 m.appendTail(sb); in getRunTarget() 157 return sb.toString(); in getRunTarget()
|