/tools/test/graphicsbenchmark/performance_tests/hostside/src/com/android/game/qualification/reporter/ |
D | GameQualificationResultReporter.java | 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() 154 sb.append("Test Results:\n"); in getInvocationSummary() 156 sb.append(getTestRunSummary(testRunResult)); in getInvocationSummary() 161 sb.append(String.format("\n%s Metrics:\n%s\n", entry.getKey(), entry.getValue())); in getInvocationSummary() [all …]
|
/tools/test/connectivity/acts/framework/acts/test_utils/instrumentation/device/command/ |
D | instrumentation_command_builder.py | 41 self._flags.append(param) 67 call.append('{}/{}'.format(self._manifest_package_name, self._runner)) 70 call.append('>>') 71 call.append(os.path.join('$EXTERNAL_STORAGE', self._nohup_log_path)) 72 call.append('2>&1') 78 errors.append('manifest package cannot be none') 80 errors.append('instrumentation runner cannot be none') 86 call.append(flag) 87 call.append('-f') 89 call.append(self._proto_path) [all …]
|
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/fat/ |
D | BootSector.java | 183 sb.append ((char) get8(getFileSystemTypeLabelOffset() + i)); in getFileSystemTypeLabel() 240 b.append((char) v); in getOemName() 482 res.append("Bootsector :\n"); in toString() 483 res.append("oemName="); in toString() 484 res.append(getOemName()); in toString() 485 res.append('\n'); in toString() 486 res.append("medium descriptor = "); in toString() 487 res.append(getMediumDescriptor()); in toString() 488 res.append('\n'); in toString() 489 res.append("Nr heads = "); in toString() [all …]
|
/tools/metalava/src/main/java/com/android/tools/metalava/ |
D | Terminal.kt | 40 sb.append("\u001B[") in terminalAttributes() 42 sb.append('3').append('0' + foreground.value) in terminalAttributes() 46 sb.append(';') in terminalAttributes() 47 sb.append('4').append('0' + background.value) in terminalAttributes() 52 sb.append(';') in terminalAttributes() 53 sb.append('1') in terminalAttributes() 57 sb.append(';') in terminalAttributes() 58 sb.append('4') in terminalAttributes() 62 sb.append(';') in terminalAttributes() 63 sb.append('7') in terminalAttributes() [all …]
|
D | Reporter.kt | 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() 359 location?.let { sb.append(it).append(": ") } in format() [all …]
|
/tools/tradefederation/core/src/com/android/tradefed/result/ |
D | EmailResultReporter.java | 145 subj.append(" result for "); in generateEmailSubject() 148 subj.append("(unknown suite)"); in generateEmailSubject() 151 subj.append(" on "); in generateEmailSubject() 153 subj.append(build.toString()); in generateEmailSubject() 156 subj.append(": "); in generateEmailSubject() 157 subj.append(getInvocationOrTestStatus()); in generateEmailSubject() 169 builder.append(str); in appendUnlessNull() 170 builder.append(" "); in appendUnlessNull() 222 bodyBuilder.append(String.format("Device %s:\n", build.getDeviceSerial())); in generateEmailBody() 224 bodyBuilder.append(buildAttr.getKey()); in generateEmailBody() [all …]
|
D | ConsoleResultReporter.java | 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() 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() 131 sb.append(" Tests ["); in invocationEnded() 132 sb.append(results[TestStatus.PASSED.ordinal()]); in invocationEnded() 133 sb.append(" Passed"); in invocationEnded() [all …]
|
/tools/tradefederation/contrib/src/com/android/media/tests/ |
D | AudioLoopbackTestHelper.java | 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() 300 sb.append("rmsAverage=").append(mRmsAverage).append(NL); in toString() [all …]
|
/tools/tradefederation/core/common_util/com/android/tradefed/util/net/ |
D | HttpMultipartPost.java | 64 mBuilder.append(HYPHENS + BOUNDARY + CRLF); in addParameter() 65 mBuilder.append(String.format( in addParameter() 68 mBuilder.append(value); in addParameter() 69 mBuilder.append(CRLF); in addParameter() 101 mBuilder.append(HYPHENS + BOUNDARY + CRLF); in addTextFile() 102 mBuilder.append(String.format( in addTextFile() 105 mBuilder.append(String.format("Content-Type: %s%s", CONTENT_TYPE, CRLF)); in addTextFile() 106 mBuilder.append(CRLF); in addTextFile() 108 mBuilder.append(StreamUtil.getStringFromStream(in)); in addTextFile() 110 mBuilder.append(CRLF); in addTextFile() [all …]
|
/tools/tradefederation/core/src/com/android/tradefed/util/ |
D | TableBuilder.java | 74 mBuilder.append(mEnd); in build() 77 mBuilder.append(mPipe); in build() 79 mBuilder.append(mText); in build() 81 mBuilder.append(mPipe); in build() 85 mBuilder.append(mPipe); in build() 87 mBuilder.append(mEnd).append('\n'); in build() 104 mBuilder.append('|'); in build() 107 mBuilder.append(text.substring(0, width)); in build() 110 mBuilder.append(text); in build() 115 mBuilder.append("|\n"); in build() [all …]
|
D | LocalRunInstructionBuilder.java | 79 instruction.append("Run following command to try the test in a local setup:\n"); in getAtestInstruction() 80 instruction.append(getCommand(configDescriptor, testId, LocalTestRunner.ATEST)); in getAtestInstruction() 103 testName.append(String.format(":%s", testId.getClassName())); in getCommand() 107 testName.append(String.format("#%s", testId.getTestName())); in getCommand() 112 instruction.append(String.format("atest %s --", testName)); in getCommand() 114 instruction.append(String.format(" --abi %s", configDescriptor.getAbi().getName())); in getCommand() 124 option.append(String.format("%s", optionDef.value)); in getCommand() 126 option.append(String.format("%s:=%s", optionDef.key, optionDef.value)); in getCommand() 128 instruction.append(" " + option); in getCommand() 137 instruction.append(" --instant"); in getCommand()
|
/tools/test/connectivity/acts/framework/acts/controllers/ap_lib/ |
D | radvd.py | 171 lines.append('\t%s %s;' % 173 lines.append('\tprefix %s' % conf['prefix']) 174 lines.append('\t{') 176 lines.append('\t\t%s;' % ' '.join(map(str, prefix_option))) 177 lines.append('\t};') 179 lines.append('\tclients') 180 lines.append('\t{') 182 lines.append('\t\t%s;' % client) 183 lines.append('\t};') 185 lines.append('\troute %s {' % conf['route']) [all …]
|
D | dhcp_server.py | 192 lines.append('default-lease-time %d;' % config.default_lease_time) 194 lines.append('max-lease-time %s;' % config.max_lease_time) 204 lines.append('subnet %s netmask %s {' % (address, mask)) 205 lines.append('\toption subnet-mask %s;' % mask) 206 lines.append('\toption routers %s;' % router) 207 lines.append('\toption domain-name-servers %s;' % _ROUTER_DNS) 208 lines.append('\trange %s %s;' % (start, end)) 210 lines.append('\tdefault-lease-time %d;' % lease_time) 211 lines.append('\tmax-lease-time %d;' % lease_time) 212 lines.append('}') [all …]
|
/tools/loganalysis/tests/src/com/android/loganalysis/parser/ |
D | MonkeyLogParserFuncTest.java | 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() 93 sb.append(String.format(" %s=%d,", drop.toString(), in testParse() [all …]
|
/tools/test/connectivity/tools/ |
D | read_acts_results.py | 54 results_pass.append(result['Test Name']) 55 results_pass.append(result['Result']) 56 master_results_pass.append(results_pass) 59 results_fail.append(result['Test Name']) 60 results_fail.append(result['Result']) 61 master_results_fail.append(results_fail) 64 results_unknown.append(result['Test Name']) 65 results_unknown.append(result['Result']) 66 master_results_unknown.append(results_unknown) 68 results_data.append(result['Test Name']) [all …]
|
/tools/tradefederation/core/src/com/android/tradefed/result/suite/ |
D | SuiteResultReporter.java | 168 mSummary.append("\n============================================\n"); in invocationEnded() 169 mSummary.append("================= Results ==================\n"); in invocationEnded() 175 mSummary.append("=============== Summary ===============\n"); in invocationEnded() 177 mSummary.append( in invocationEnded() 180 mSummary.append( in invocationEnded() 183 mSummary.append("Module(s) with run failure(s):\n"); in invocationEnded() 185 mSummary.append(String.format(" %s: %s\n", e.getKey(), e.getValue())); in invocationEnded() 188 mSummary.append(String.format("Total Tests : %s\n", mTotalTests)); in invocationEnded() 189 mSummary.append(String.format("PASSED : %s\n", mPassedTests)); in invocationEnded() 190 mSummary.append(String.format("FAILED : %s\n", mFailedTests)); in invocationEnded() [all …]
|
/tools/tradefederation/core/atest/test_runners/ |
D | atest_tf_test_runner.py | 204 inputs.append(conn) 353 args_to_append.append('--wait-for-debugger') 356 args_to_append.append('--disable-target-preparers') 359 args_to_append.append('--serial') 360 args_to_append.append(extra_args[arg]) 363 args_to_append.append('--shard-count') 364 args_to_append.append(str(extra_args[arg])) 367 args_to_append.append('--disable-teardown') 370 args_to_append.append('-n') 371 args_to_append.append('--prioritize-host-config') [all …]
|
/tools/asuite/atest/test_runners/ |
D | atest_tf_test_runner.py | 208 inputs.append(conn) 364 args_to_append.append('--wait-for-debugger') 367 args_to_append.append('--disable-target-preparers') 370 args_to_append.append('--serial') 371 args_to_append.append(extra_args[arg]) 374 args_to_append.append('--shard-count') 375 args_to_append.append(str(extra_args[arg])) 378 args_to_append.append('--disable-teardown') 381 args_to_append.append('-n') 382 args_to_append.append('--prioritize-host-config') [all …]
|
/tools/metalava/src/main/java/com/android/tools/metalava/doclava1/ |
D | ApiParseException.kt | 35 sb.append(file).append(':') 38 sb.append(line).append(':') 41 sb.append(' ') 43 sb.append(super.message)
|
/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/device/ |
D | AndroidDebugBridgeWrapper.java | 95 version.append(m.group(1)); in getAdbVersion() 96 version.append("."); in getAdbVersion() 97 version.append(m.group(2)); in getAdbVersion() 98 version.append("."); in getAdbVersion() 99 version.append(m.group(3)); in getAdbVersion() 105 version.append("-"); in getAdbVersion() 106 version.append(revision.group(2)); in getAdbVersion() 110 version.append(" subVersion: "); in getAdbVersion() 111 version.append(subVersion.group(2)); in getAdbVersion() 115 version.append(" install path: "); in getAdbVersion() [all …]
|
/tools/platform-compat/java/android/processor/compat/unsupportedappusage/ |
D | SignatureConverter.java | 116 signature.append(((PackageElement) enclosing) in getClassSignature() 120 signature.append('/'); in getClassSignature() 124 signature.append(enclosing.getSimpleName()).append('$'); in getClassSignature() 132 .append(clazz.getSimpleName()) in getClassSignature() 133 .append(";") in getClassSignature() 181 signature.append(getClassSignature((TypeElement) method.getEnclosingElement())) in getExecutableSignature() 182 .append("->") in getExecutableSignature() 183 .append(name) in getExecutableSignature() 184 .append("("); in getExecutableSignature() 186 signature.append(getTypeSignature(param.asType())); in getExecutableSignature() [all …]
|
/tools/test/graphicsbenchmark/performance_tests/hostside/src/com/android/game/qualification/metric/ |
D | MetricSummary.java | 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() 150 sb.append("Loop "); in toString() [all …]
|
/tools/tradefederation/core/src/com/android/tradefed/log/ |
D | TerribleFailureEmailHandler.java | 144 subj.append(mSubjectPrefix); in generateEmailSubject() 145 subj.append(" on "); in generateEmailSubject() 146 subj.append(getLocalHostName()); in generateEmailSubject() 161 bodyBuilder.append("host: "); in generateEmailBody() 162 bodyBuilder.append(getLocalHostName()); in generateEmailBody() 163 bodyBuilder.append("\n\n"); in generateEmailBody() 165 bodyBuilder.append("What a Terrible Failure! "); in generateEmailBody() 166 bodyBuilder.append(message); in generateEmailBody() 167 bodyBuilder.append("\n\n"); in generateEmailBody() 170 bodyBuilder.append("Invocation failed: "); in generateEmailBody() [all …]
|
/tools/apksig/src/test/java/com/android/apksig/ |
D | ApkVerifierTest.java | 1164 msg.append('\n'); in assertVerified() 1166 msg.append(issue); in assertVerified() 1172 msg.append('\n'); in assertVerified() 1174 msg.append("JAR signer ") in assertVerified() 1175 .append(signerName) in assertVerified() 1176 .append(": ") in assertVerified() 1177 .append(issue.getIssue()) in assertVerified() 1178 .append(": ") in assertVerified() 1179 .append(issue); in assertVerified() 1186 msg.append('\n'); in assertVerified() [all …]
|
/tools/test/connectivity/acts/tests/google/fuchsia/wlan/ |
D | WlanPhyCompliance11NTest.py | 59 ret.append(hostapd_constants.N_CAPABILITIES_MAPPING[cap]) 88 self.tests.append('test_11n_capabilities_debug') 141 n_capabilities.append(n_capability) 168 n_capabilities.append(extended_channel) 199 test_list.append({ 218 test_list.append({ 237 test_list.append({ 256 test_list.append({ 275 test_list.append({ 294 test_list.append({ [all …]
|