Home
last modified time | relevance | path

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

/test/suite_harness/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/result/suite/
DPreviousResultLoaderTest.java187 StringBuilder sb = new StringBuilder(); in createBasicResults() local
188 sb.append("<?xml version='1.0' encoding='UTF-8' standalone='no' ?>\n"); in createBasicResults()
189 sb.append("<?xml-stylesheet type=\"text/xsl\" href=\"compatibility_result.xsl\"?>\n"); in createBasicResults()
190 sb.append("<Result start=\"1530218251501\" end=\"1530218261061\" " in createBasicResults()
197 sb.append( in createBasicResults()
203 sb.append(" <Summary pass=\"0\" failed=\"0\" modules_done=\"2\" modules_total=\"2\" />\n"); in createBasicResults()
205 sb.append(" <Module name=\"CtsGestureTestCases\" abi=\"arm64-v8a\" runtime=\"2776\" " in createBasicResults()
207 sb.append(" <Module name=\"CtsGestureTestCases\" abi=\"armeabi-v7a\" runtime=\"2776\" " in createBasicResults()
210 sb.append("</Result>"); in createBasicResults()
211 return sb.toString(); in createBasicResults()
[all …]
/test/suite_harness/common/host-side/util/src/com/android/compatibility/common/util/
DTestFilter.java97 StringBuilder sb = new StringBuilder(); in toString() local
99 sb.append(mAbi.trim()); in toString()
100 sb.append(" "); in toString()
103 sb.append(mName.trim()); in toString()
106 sb.append(" "); in toString()
107 sb.append(mTest.trim()); in toString()
109 return sb.toString(); in toString()
/test/suite_harness/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.java249 StringBuilder sb = new StringBuilder((int) f.length()); in readFile() local
253 sb.append(scanner.nextLine() + lineSeparator); in readFile()
255 return sb.toString(); in readFile()
/test/vti/dashboard/src/main/java/com/android/vts/util/
DEmailHelper.java70 StringBuilder sb = new StringBuilder(); in getEmailFooter() local
71 sb.append("<br><br>"); in getEmailFooter()
74 sb.append("Device: " + device.getFingerprint() + "<br>"); in getEmailFooter()
79 sb.append("VTS Build ID: " + testRun.getTestBuildId() + "<br>"); in getEmailFooter()
80 sb.append("Start Time: " + TimeUtil.getDateTimeZoneString(testRun.getStartTimestamp())); in getEmailFooter()
81 sb.append("<br>End Time: " + TimeUtil.getDateTimeZoneString(testRun.getEndTimestamp())); in getEmailFooter()
83 sb.append( in getEmailFooter()
89 return sb.toString(); in getEmailFooter()
/test/mlts/benchmark/src/com/android/nn/benchmark/util/
DCSVWriter.java48 StringBuilder sb = new StringBuilder(); in deviceInfoCsvLine() local
49 sb.append(sdf.format(new Date())).append(','); in deviceInfoCsvLine()
50 sb.append(android.os.Build.DISPLAY).append('\n'); in deviceInfoCsvLine()
51 return sb.toString(); in deviceInfoCsvLine()
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/result/suite/
DCertificationChecksumHelper.java196 StringBuilder sb = new StringBuilder(); in generateModuleResultSignature() local
197 sb.append(buildFingerprint).append(SEPARATOR) in generateModuleResultSignature()
201 return sb.toString(); in generateModuleResultSignature()
206 StringBuilder sb = new StringBuilder(); in generateModuleSummarySignature() local
207 sb.append(buildFingerprint).append(SEPARATOR) in generateModuleSummarySignature()
210 return sb.toString(); in generateModuleSummarySignature()
216 StringBuilder sb = new StringBuilder(); in generateTestResultSignature() local
223 sb.append(buildFingerprint).append(SEPARATOR) in generateTestResultSignature()
228 return sb.toString(); in generateTestResultSignature()
/test/suite_harness/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()
/test/vti/dashboard/src/main/java/com/android/vts/entity/
DProfilingPointSummaryEntity.java200 StringBuilder sb = new StringBuilder(); in createKey() local
201 sb.append(branch); in createKey()
202 sb.append(DELIMITER); in createKey()
203 sb.append(buildFlavor); in createKey()
204 sb.append(DELIMITER); in createKey()
205 sb.append(series); in createKey()
206 sb.append(DELIMITER); in createKey()
207 sb.append(startTime); in createKey()
208 return KeyFactory.createKey(parentKey, KIND, sb.toString()); in createKey()
/test/mlts/benchmark/src/com/android/nn/benchmark/core/
DBenchmarkResult.java274 StringBuilder sb = new StringBuilder(); in toCsvLine() local
275 sb.append(String.join(",", in toCsvLine()
289 sb.append(',').append(mEvaluatorKeys[i]); in toCsvLine()
293 sb.append(',').append(mEvaluatorResults[i]); in toCsvLine()
297 sb.append(',').append(value); in toCsvLine()
301 sb.append(',').append(validationError.replace(',', ' ')); in toCsvLine()
304 sb.append('\n'); in toCsvLine()
305 return sb.toString(); in toCsvLine()
DTestModelsListLoader.java156 StringBuilder sb = new StringBuilder(); in readAssetsFileAsString() local
160 sb.append(buffer, 0, len); in readAssetsFileAsString()
163 return sb.toString(); in readAssetsFileAsString()
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/result/
DTestRunHandler.java82 StringBuilder sb = new StringBuilder(""); in mapToString() local
84 sb.append(String.format("%s%s%d\n", entry.getKey(), MAP_DELIMITER, entry.getValue())); in mapToString()
86 return sb.toString(); in mapToString()
DSubPlanHelper.java428 StringBuilder sb = new StringBuilder(); in createPlanName() local
429 sb.append(String.join("_", mResultTypes)); in createPlanName()
430 sb.append("_"); in createPlanName()
432 sb.append(Integer.toString(mSessionId)); in createPlanName()
433 sb.append("_"); in createPlanName()
436 sb.append(CompatibilityBuildHelper.getDirSuffix(mResult.getStartTime())); in createPlanName()
437 return sb.toString(); in createPlanName()
/test/vts/harnesses/tradefed/src/com/android/tradefed/testtype/
DVtsMultiDeviceTestResultParser.java358 StringBuilder sb = new StringBuilder(name + "\n"); in printJsonTable() local
364 sb.append(" "); in printJsonTable()
368 sb.append(" "); in printJsonTable()
370 sb.append(cell); in printJsonTable()
372 sb.append("\n"); in printJsonTable()
374 CLog.d("JSON table: %s", sb.toString()); in printJsonTable()
/test/vti/dashboard/src/main/java/com/android/vts/api/
DTestAcknowledgmentRestServlet.java84 StringBuilder sb = new StringBuilder(); in doPost() local
88 sb.append(str); in doPost()
92 json = new JsonParser().parse(sb.toString()).getAsJsonObject(); in doPost()
/test/vti/dashboard/src/test/java/com/android/vts/job/
DVtsPerformanceJobServletTest.java93 StringBuilder sb = new StringBuilder(); in compareToBaseline() local
97 sb.append(line); in compareToBaseline()
100 baseline = sb.toString(); in compareToBaseline()
/test/framework/harnesses/cts-tradefed/
Dtradefed-cts-prebuilt.jarMETA-INF/ META-INF/MANIFEST.MF com/android/compatibility/common/ ...