/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 …]
|
/tools/tradefederation/core/src/com/android/tradefed/result/ |
D | ConsoleResultReporter.java | 79 StringBuilder sb = new StringBuilder(); in getInvocationSummary() local 81 sb.append(getTestRunSummary(testRunResult)); in getInvocationSummary() 84 sb.append("Log Files:\n"); in getInvocationSummary() 87 sb.append(String.format(" %s\n", url != null ? url : logFile.getPath())); in getInvocationSummary() 90 return "Test results:\n" + sb.toString().trim() + "\n"; in getInvocationSummary() 97 StringBuilder sb = new StringBuilder(); in getTestRunSummary() local 98 sb.append(String.format("%s:", testRunResult.getName())); in getTestRunSummary() 100 sb.append(String.format(" %d Test%s, %d Passed, %d Failed, %d Ignored", in getTestRunSummary() 107 sb.append(" No results"); in getTestRunSummary() 109 sb.append("\n"); in getTestRunSummary() [all …]
|
/tools/loganalysis/tests/src/com/android/loganalysis/parser/ |
D | MonkeyLogParserFuncTest.java | 82 StringBuffer sb = new StringBuffer(); in testParse() local 83 sb.append("Stats for monkey log:\n"); in testParse() 84 sb.append(String.format(" Start time: %s\n", monkeyLog.getStartTime())); in testParse() 85 sb.append(String.format(" Stop time: %s\n", monkeyLog.getStopTime())); in testParse() 86 sb.append(String.format(" Parameters: target-count=%d, throttle=%d, seed=%d, " + in testParse() 90 sb.append(String.format(" Packages: %s\n", monkeyLog.getPackages())); in testParse() 91 sb.append(String.format(" Categories: %s\n", monkeyLog.getCategories())); in testParse() 93 sb.append(" Status: no-activities=true\n"); in testParse() 95 sb.append(String.format(" Status: finished=%b, final-count=%d, " + in testParse() 99 sb.append(" Dropped events:"); in testParse() [all …]
|
/tools/metalava/src/main/java/com/android/tools/lint/checks/infrastructure/ |
D | ClassName.kt | 42 val sb = StringBuilder(source.length) in packageNameWithDefault() constant 61 sb.append(c) in packageNameWithDefault() 65 sb.append(c) in packageNameWithDefault() 67 else -> sb.append(c) in packageNameWithDefault() 76 sb.append('/') // because we skipped it in init in packageNameWithDefault() 77 sb.append(c) in packageNameWithDefault() 103 sb.append(c) in packageNameWithDefault() 106 sb.append(c) in packageNameWithDefault() 113 sb.append(c) in packageNameWithDefault() 116 sb.append(c) in packageNameWithDefault() [all …]
|
/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 | AdbScreenrecordTest.java | 329 StringBuilder sb = new StringBuilder(128); in generateAdbScreenRecordCommand() local 330 sb.append("screenrecord --verbose ").append(getAbsoluteFilename()); in generateAdbScreenRecordCommand() 335 sb.append(SPACE).append(OPTION_TIME_LIMIT).append(SPACE).append(timeLimit); in generateAdbScreenRecordCommand() 339 sb.append(SPACE).append(OPTION_SIZE).append(SPACE).append(mVideoSize); in generateAdbScreenRecordCommand() 343 sb.append(SPACE).append(OPTION_BITRATE).append(SPACE).append(mBitRate); in generateAdbScreenRecordCommand() 346 return sb.toString(); in generateAdbScreenRecordCommand()
|
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/ |
D | PsiMethodItem.kt | 247 val sb = StringBuilder(100) in <lambda>() constant 255 sb.append(modifierString.toString()) in <lambda>() 259 sb.append(' ') in <lambda>() 260 sb.append(TypeItem.convertTypeString(typeParameters, replacementMap)) in <lambda>() 264 sb.append(returnType?.convertTypeString(replacementMap)) in <lambda>() 266 sb.append(' ') in <lambda>() 267 sb.append(method.name()) in <lambda>() 269 sb.append("(") in <lambda>() 272 sb.append(", ") in <lambda>() 275 sb.append(parameter.type().convertTypeString(replacementMap)) in <lambda>() [all …]
|
D | PsiItem.kt | 160 val sb = StringBuilder(documentation.length) in fullyQualifiedDocumentation() constant 164 sb.append(getExpanded(curr)) in fullyQualifiedDocumentation() 166 sb.append(curr.text) in fullyQualifiedDocumentation() 171 return sb.toString() in fullyQualifiedDocumentation() 312 val sb = StringBuilder() in javadoc() constant 313 comments.asSequence().joinTo(buffer = sb, separator = "\n") in javadoc() 314 return sb.toString() in javadoc()
|
/tools/tradefederation/core/src/com/android/tradefed/util/ |
D | QuotationAwareTokenizer.java | 132 StringBuilder sb = new StringBuilder(); in combineTokens() local 137 sb.append('"'); in combineTokens() 138 sb.append(token); in combineTokens() 139 sb.append('"'); in combineTokens() 141 sb.append(token); in combineTokens() 145 sb.append(' '); in combineTokens() 148 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 | 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()
|
D | SubprocessTestResultsParser.java | 213 StringBuilder sb = new StringBuilder(); in SubprocessTestResultsParser() local 214 sb.append(StatusKeys.INVOCATION_FAILED).append("|"); in SubprocessTestResultsParser() 215 sb.append(StatusKeys.TEST_ASSUMPTION_FAILURE).append("|"); in SubprocessTestResultsParser() 216 sb.append(StatusKeys.TEST_ENDED).append("|"); in SubprocessTestResultsParser() 217 sb.append(StatusKeys.TEST_FAILED).append("|"); in SubprocessTestResultsParser() 218 sb.append(StatusKeys.TEST_IGNORED).append("|"); in SubprocessTestResultsParser() 219 sb.append(StatusKeys.TEST_STARTED).append("|"); in SubprocessTestResultsParser() 220 sb.append(StatusKeys.TEST_RUN_ENDED).append("|"); in SubprocessTestResultsParser() 221 sb.append(StatusKeys.TEST_RUN_FAILED).append("|"); in SubprocessTestResultsParser() 222 sb.append(StatusKeys.TEST_RUN_STARTED).append("|"); in SubprocessTestResultsParser() [all …]
|
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 | StreamUtil.java | 337 StringBuilder sb = new StringBuilder(2 * bytes.length); in bytesToHexString() local 340 sb.append(HEX_CHARS[b]); in bytesToHexString() 342 sb.append(HEX_CHARS[b]); in bytesToHexString() 344 return sb.toString(); in bytesToHexString()
|
/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 …]
|
D | Fat16BootSector.java | 103 final StringBuilder sb = new StringBuilder(); in getVolumeLabel() local 109 sb.append(c); in getVolumeLabel() 115 return sb.toString(); in getVolumeLabel()
|
D | Dummy83BufferGenerator.java | 90 final StringBuilder sb = new StringBuilder(str.length()); in stripLeadingPeriods() local 94 sb.append(str.substring(i)); in stripLeadingPeriods() 99 return sb.toString(); in stripLeadingPeriods()
|
D | ShortName.java | 179 StringBuilder sb = new StringBuilder(); in toString() local 181 sb.append(Integer.toHexString(name[i])); in toString() 182 sb.append(' '); in toString() 187 sb.toString() + "]"; // NOI18N in toString()
|
/tools/metalava/src/main/java/com/android/tools/metalava/apilevels/ |
D | ApiElement.java | 205 StringBuilder sb = new StringBuilder(); in encodeAttribute() local 212 sb.append("""); //$NON-NLS-1$ in encodeAttribute() 214 sb.append("<"); //$NON-NLS-1$ in encodeAttribute() 216 sb.append("'"); //$NON-NLS-1$ in encodeAttribute() 218 sb.append("&"); //$NON-NLS-1$ in encodeAttribute() 220 sb.append(c); in encodeAttribute() 224 return sb.toString(); in encodeAttribute()
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/ |
D | GTestListTestParser.java | 85 StringBuilder sb = new StringBuilder(); in getTestClass() local 86 sb.append(mTestRunName); in getTestClass() 87 sb.append("."); in getTestClass() 88 sb.append(name); in getTestClass() 89 return sb.toString(); in getTestClass()
|
D | PythonUnitTestRunner.java | 129 StringBuilder sb = new StringBuilder(); in setPythonPath() local 130 sb.append(System.getenv(PYTHONPATH)); in setPythonPath() 136 sb.append(":"); in setPythonPath() 137 sb.append(pathdir.getAbsolutePath()); in setPythonPath() 140 sb.append(":"); in setPythonPath() 141 sb.append(getBuild().getFile(PYTHONPATH).getAbsolutePath()); in setPythonPath() 143 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()
|
D | StreamUtilTest.java | 163 StringBuilder sb = new StringBuilder(); in getLargeText() local 165 sb.append(text); in getLargeText() 167 return sb.toString(); in getLargeText()
|
/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/src/com/android/tradefed/device/ |
D | WifiHelper.java | 539 StringBuilder sb = new StringBuilder("am instrument"); in buildWifiUtilCmdFromMap() local 542 sb.append(" -e "); in buildWifiUtilCmdFromMap() 543 sb.append(arg.getKey()); in buildWifiUtilCmdFromMap() 544 sb.append(" "); in buildWifiUtilCmdFromMap() 545 sb.append(quote(arg.getValue())); in buildWifiUtilCmdFromMap() 548 sb.append(" -w "); in buildWifiUtilCmdFromMap() 549 sb.append(INSTRUMENTATION_PKG); in buildWifiUtilCmdFromMap() 550 sb.append("/"); in buildWifiUtilCmdFromMap() 551 sb.append(INSTRUMENTATION_CLASS); in buildWifiUtilCmdFromMap() 553 return sb.toString(); in buildWifiUtilCmdFromMap()
|