Home
last modified time | relevance | path

Searched refs:append (Results 1 – 25 of 83) sorted by relevance

1234

/platform_testing/libraries/audio-test-harness/utilities/src/com/android/media/audiotestharness/utilities/
DAudioSystemDiagnostic.java44 diagnosticStringBuilder.append("===== Java Audio System Diagnostic =====\n\n"); in buildAudioSystemDiagnosticString()
46 diagnosticStringBuilder.append("----- Java Version Information -----\n"); in buildAudioSystemDiagnosticString()
47 diagnosticStringBuilder.append( in buildAudioSystemDiagnosticString()
50 diagnosticStringBuilder.append("----- Java Audio System Output -----\n"); in buildAudioSystemDiagnosticString()
54 diagnosticStringBuilder.append("Mixers Array = " + Arrays.toString(mixers) + "\n"); in buildAudioSystemDiagnosticString()
55 diagnosticStringBuilder.append("Number of Mixers = " + mixers.length + "\n"); in buildAudioSystemDiagnosticString()
59 diagnosticStringBuilder.append("\n"); in buildAudioSystemDiagnosticString()
60 diagnosticStringBuilder.append( in buildAudioSystemDiagnosticString()
62 diagnosticStringBuilder.append("Mixer Name = " + currentMixer.getName() + "\n"); in buildAudioSystemDiagnosticString()
63 diagnosticStringBuilder.append("Mixer Vendor = " + currentMixer.getVendor() + "\n"); in buildAudioSystemDiagnosticString()
[all …]
/platform_testing/libraries/health/rules/src/android/platform/test/rule/
DSystemHealthRule.java73 ret.append(lines[i]);
74 ret.append('\n');
77 ret.append("... ");
78 ret.append(lines.length - maxLines);
79 ret.append(" more lines truncated ...\n");
92 errorDetails.append("------------------------------\n");
94 errorDetails.append(new Date(timestamp));
95 errorDetails.append(": ");
96 errorDetails.append(entry.getTag());
97 errorDetails.append(": ");
[all …]
DFailureWatcher.java70 sb.append("TITLE: ").append(object.getText());
75 sb.append(" PACKAGE: ")
76 .append(object.getApplicationPackage())
77 .append(" MESSAGE: ")
78 .append(object.getText());
DCoolDownRule.java207 result.append(escape_char); in unescapeOptionStr()
209 result.append(space_char); in unescapeOptionStr()
210 result.append(character); in unescapeOptionStr()
216 result.append(character); in unescapeOptionStr()
221 result.append(space_char); in unescapeOptionStr()
/platform_testing/libraries/flicker/utils/src/android/tools/traces/wm/
DTransitionChange.kt62 append("TransitionChange(") in format()
63 append("transitMode=${change.transitMode}, ") in format()
64 append("layerId=${change.layerId}, ") in format()
66 append("layerName=$layerName, ") in format()
68 append("windowId=${change.windowId}, ") in format()
70 append("windowName=$windowName, ") in format()
72 append(")") in format()
/platform_testing/libraries/flicker/utils/src/android/tools/io/
DRunStatus.kt31 append(prefix) in <lambda>()
32 append("__") in <lambda>()
33 append(scenario) in <lambda>()
35 append("_") in <lambda>()
36 append(counter) in <lambda>()
38 append(".zip") in <lambda>()
DResultArtifactDescriptor.kt34 append(tag) in <lambda>()
35 append("__") in <lambda>()
37 append(traceType.fileName) in <lambda>()
/platform_testing/libraries/compatibility-common-util/src/com/android/compatibility/common/util/
DChecksumReporter.java282 sb.append(buildFingerprint).append(SEPARATOR) in generateTestResultSignature()
283 .append(module.getId()).append(SEPARATOR) in generateTestResultSignature()
284 .append(testResult.getFullName()).append(SEPARATOR) in generateTestResultSignature()
285 .append(testResult.getResultStatus().getValue()).append(SEPARATOR) in generateTestResultSignature()
286 .append(stacktrace).append(SEPARATOR); in generateTestResultSignature()
303 sb.append(buildFingerprint) in generateTestResultSignature()
304 .append(SEPARATOR) in generateTestResultSignature()
305 .append(packageName) in generateTestResultSignature()
306 .append(SEPARATOR) in generateTestResultSignature()
307 .append(testId) in generateTestResultSignature()
[all …]
DStacktrace.java63 builder.append(elements[depth].getClassName()).append("#") in buildClassMethodName()
64 .append(elements[depth].getMethodName()); in buildClassMethodName()
66 builder.append(":").append(elements[depth].getLineNumber()); in buildClassMethodName()
DMultipartForm.java148 writer.append("--").append(FORM_DATA_BOUNDARY).println("--"); in getContentBody()
155 writer.append("--").println(FORM_DATA_BOUNDARY); in writeFormField()
156 writer.append("Content-Disposition: form-data; name=\"").append(name).println("\""); in writeFormField()
162 writer.append("--").println(FORM_DATA_BOUNDARY); in writeFormFileHeader()
163 writer.append("Content-Disposition: form-data; name=\"").append(name); in writeFormFileHeader()
164 writer.append("\"; filename=\"").append(fileName).println("\""); in writeFormFileHeader()
/platform_testing/libraries/flicker/utils/src/android/tools/traces/io/
DResultData.kt58 append(artifact) in <lambda>()
59 append(" (status=") in <lambda>()
60 append(runStatus) in <lambda>()
62 append(", error=") in <lambda>()
63 append(it.message) in <lambda>()
65 append(") ") in <lambda>()
DFileArtifact.kt152 append(file) in withZipFile()
154 append("Found ") in withZipFile()
155 append(files?.joinToString()?.ifEmpty { "no files" }) in withZipFile()
156 append(" in ") in withZipFile()
157 append(directory?.absolutePath) in withZipFile()
/platform_testing/libraries/flicker/utils/src/android/tools/traces/parsers/
DWaitForValidActivityState.kt53 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()
/platform_testing/tests/functional/devicehealthchecks/src/com/android/devicehealthchecks/
DCrashCheckBase.java78 errorDetails.append("go/how-to-triage-devicehealthchecks\n"); in checkCrash()
79 errorDetails.append("Error Details:\n"); in checkCrash()
94 errorDetails.append(label); in checkCrash()
95 errorDetails.append(": (missing details)\n"); in checkCrash()
107 errorDetails.append(label); in checkCrash()
108 errorDetails.append(": "); in checkCrash()
116 errorDetails.append(line); in checkCrash()
118 errorDetails.append("\n"); in checkCrash()
119 errorDetails.append(scanner.nextLine()); in checkCrash()
128 errorDetails.append(truncate(dropboxSnippet, MAX_CRASH_SNIPPET_LINES)); in checkCrash()
[all …]
/platform_testing/host_runners/utils/src/com/android/runner/utils/
DNohupCommandHelper.java56 builder.append("nohup"); in executeAdbNohupCommand()
57 builder.append(" "); in executeAdbNohupCommand()
58 builder.append(cmd); in executeAdbNohupCommand()
59 builder.append(" "); in executeAdbNohupCommand()
62 builder.append(String.format(">> %s", logPath)); in executeAdbNohupCommand()
63 builder.append(" "); in executeAdbNohupCommand()
66 builder.append("2>&1"); in executeAdbNohupCommand()
/platform_testing/libraries/flicker/utils/src/android/tools/datatypes/
DMatrix33.kt44 append("dsdx:${FloatFormatter.format(dsdx)} ") in doPrintValue()
45 append("dtdx:${FloatFormatter.format(dtdx)} ") in doPrintValue()
46 append("dsdy:${FloatFormatter.format(dsdy)} ") in doPrintValue()
47 append("dtdy:${FloatFormatter.format(dtdy)} ") in doPrintValue()
48 append("tx:${FloatFormatter.format(tx)} ") in doPrintValue()
49 append("ty:${FloatFormatter.format(ty)}") in doPrintValue()
/platform_testing/libraries/flicker/utils/src/android/tools/
DScenarioBuilder.kt47 append(startRotation.description) in build()
49 append("_${endRotation.description}") in build()
51 append("_${navBarMode.description}") in build()
84 append(startOrientation.description) in createEmptyScenario()
86 append("_${endOrientation.description}") in createEmptyScenario()
88 append("_${navBarMode.description}") in createEmptyScenario()
/platform_testing/libraries/flicker/utils/src/android/tools/traces/component/
DComponentName.kt91 sb.append(packageName).append('/') in appendShortString()
100 sb.append(className, packageNameLength, classNameLength) in appendShortClassName()
104 sb.append(className) in appendShortClassName()
/platform_testing/libraries/collectors-helper/utilities/src/com/android/helpers/
DMetricUtility.java51 new StringBuilder().append(metric) : value.append(METRIC_SEPARATOR).append(metric)); in addMetric()
66 (value == null ? new StringBuilder() : value.append(METRIC_SEPARATOR)) in addMetric()
67 .append(DOUBLE_FORMAT.format(metric))); in addMetric()
155 builder.append(new String(buffer)); in readStringFromFile()
/platform_testing/libraries/device-collectors/src/main/java/android/device/collectors/
DScreenRecordCollector.java180 builder.append("."); in getOutputFile()
181 builder.append(description.getMethodName()); in getOutputFile()
186 builder.append("-"); in getOutputFile()
187 builder.append(iteration); in getOutputFile()
189 builder.append("-video"); in getOutputFile()
192 builder.append(part); in getOutputFile()
194 builder.append(".mp4"); in getOutputFile()
/platform_testing/libraries/media-helper/src/android/test/mediahelper/
DMediaStoreHelper.java149 selectionBuilder.append(MediaStore.MediaColumns.IS_PENDING + "=?"); in getMediaFileDescriptors()
152 selectionBuilder.append(" AND "); in getMediaFileDescriptors()
153 selectionBuilder.append(MediaStore.MediaColumns.MIME_TYPE + "=?"); in getMediaFileDescriptors()
157 selectionBuilder.append(" AND "); in getMediaFileDescriptors()
158 selectionBuilder.append(selection); in getMediaFileDescriptors()
/platform_testing/tests/bettertogether/quickstart/performance_test/
Dquick_start_stress_test.py37 sys.path.append(_performance_test_dir)
280 self._quick_start_test_metrics.first_discovery_latencies.append(
283 self._quick_start_test_metrics.first_connection_latencies.append(
286 self._quick_start_test_metrics.bt_transfer_throughputs_kbps.append(
290 self._quick_start_test_metrics.second_discovery_latencies.append(
293 self._quick_start_test_metrics.second_connection_latencies.append(
296 self._quick_start_test_metrics.medium_upgrade_latencies.append(
299 self._quick_start_test_metrics.upgraded_wifi_transfer_mediums.append(
301 self._quick_start_test_metrics.wifi_transfer_throughputs_kbps.append(
304 self._quick_start_test_metrics.discoverer_wifi_wlan_latencies.append(
[all …]
/platform_testing/libraries/flag-helpers/junit/src_base/android/platform/test/flag/junit/
DFlagsParameterization.java46 sb.append(','); in toString()
48 sb.append(entry.getKey()).append('=').append(entry.getValue()); in toString()
/platform_testing/utils/esimutility/src/com/android/test/util/esimutility/
DESimUtilityInstrumentation.java64 builder.append(System.lineSeparator()); in updateWithException()
65 builder.append(" ").append(element.toString()); in updateWithException()
/platform_testing/tests/bettertogether/betocq/
Dd2d_performance_test_base.py532 self._test_results.append(self._current_test_result)
536 quality_info.append(
540 quality_info.append(
544 quality_info.append(
550 quality_info.append(
560 quality_info.append(f'src_sta: {src_connection_latency}s')
565 quality_info.append(f'tgt_sta: {tgt_connection_latency}s')
654 self._performance_test_metrics.prior_bt_discovery_latencies.append(
657 self._performance_test_metrics.prior_bt_connection_latencies.append(
661 self._performance_test_metrics.file_transfer_discovery_latencies.append(
[all …]

1234