Home
last modified time | relevance | path

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

/test/suite_harness/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/result/suite/
DPreviousResultLoaderTest.java245 StringBuilder sb = new StringBuilder(); in createBasicResults() local
246 sb.append("<?xml version='1.0' encoding='UTF-8' standalone='no' ?>\n"); in createBasicResults()
247 sb.append("<?xml-stylesheet type=\"text/xsl\" href=\"compatibility_result.xsl\"?>\n"); in createBasicResults()
248 sb.append( in createBasicResults()
257 sb.append( in createBasicResults()
263 sb.append(" <Summary pass=\"0\" failed=\"0\" modules_done=\"2\" modules_total=\"2\" />\n"); in createBasicResults()
265 sb.append(" <Module name=\"CtsGestureTestCases\" abi=\"arm64-v8a\" runtime=\"2776\" " in createBasicResults()
267 sb.append(" <Module name=\"CtsGestureTestCases\" abi=\"armeabi-v7a\" runtime=\"2776\" " in createBasicResults()
270 sb.append("</Result>"); in createBasicResults()
271 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/mlts/benchmark/src/com/android/nn/benchmark/core/
DBenchmarkResult.java285 StringBuilder sb = new StringBuilder(); in toCsvLine() local
286 sb.append(mTestInfo).append(',').append(mBackendType); in toCsvLine()
288 mLatencyInference.appendToCsvLine(sb); in toCsvLine()
290 sb.append(',').append(String.join(",", in toCsvLine()
297 sb.append(',').append(mEvaluatorKeys[i]); in toCsvLine()
301 sb.append(',').append(mEvaluatorResults[i]); in toCsvLine()
305 sb.append(',').append(validationError.replace(',', ' ')); in toCsvLine()
308 sb.append(',').append(mLatencyCompileWithoutCache != null); in toCsvLine()
310 mLatencyCompileWithoutCache.appendToCsvLine(sb); in toCsvLine()
312 sb.append(',').append(mLatencySaveToCache != null); in toCsvLine()
[all …]
DLatencyResult.java138 public void appendToCsvLine(StringBuilder sb) { in appendToCsvLine() argument
139 sb.append(',').append(String.join(",", in appendToCsvLine()
147 sb.append(',').append(value); in appendToCsvLine()
DTestModelsListLoader.java158 StringBuilder sb = new StringBuilder(); in readAssetsFileAsString() local
162 sb.append(buffer, 0, len); in readAssetsFileAsString()
165 return sb.toString(); in readAssetsFileAsString()
/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.java63 StringBuilder sb = new StringBuilder(); in deviceInfoCsvLine() local
64 sb.append(sdf.format(new Date())).append(','); in deviceInfoCsvLine()
65 sb.append(android.os.Build.DISPLAY).append('\n'); in deviceInfoCsvLine()
66 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/vts-testcase/kernel/encryption/
Dutils.cpp152 struct ext4_super_block sb; in GetFilesystemUuid() local
154 if (pread(fd, &sb, sizeof(sb), kExt4SuperBlockOffset) != sizeof(sb)) { in GetFilesystemUuid()
159 if (sb.s_magic != cpu_to_le16(EXT4_SUPER_MAGIC)) { in GetFilesystemUuid()
163 static_assert(sizeof(sb.s_uuid) == kFilesystemUuidSize); in GetFilesystemUuid()
164 memcpy(fs_uuid->bytes, sb.s_uuid, kFilesystemUuidSize); in GetFilesystemUuid()
/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()