Home
last modified time | relevance | path

Searched refs:toString (Results 1 – 25 of 458) sorted by relevance

12345678910>>...19

/tools/tradefederation/contrib/src/com/android/graphics/tests/
DOpenGlPerformanceTest.java211 runner.addInstrumentationArg("iterations", Integer.toString(mIterations)); in run()
304 CLog.v("caputre.get[%d]: %s", i, capture.get(i).toString()); in parseOutputFile()
307 CLog.v("Retrieve key: %s, catpure: %s", key, capture.toString()); in parseOutputFile()
390 return sb.toString(); in join()
441 assertEquals("97.65624", mTestInstance.mTestResults.get("text1")[0].toString()); in testParseOutputFile()
442 assertEquals("36.576443", mTestInstance.mTestResults.get("text2")[0].toString()); in testParseOutputFile()
443 assertEquals("12.382367", mTestInstance.mTestResults.get("text3")[0].toString()); in testParseOutputFile()
447 "40.617382", mTestInstance.mTestResults.get("10xSingleTexture")[0].toString()); in testParseOutputFile()
448 assertEquals("28.32861", mTestInstance.mTestResults.get("Multitexture")[0].toString()); in testParseOutputFile()
451 mTestInstance.mTestResults.get("BlendedSingleTexture")[0].toString()); in testParseOutputFile()
[all …]
/tools/tradefederation/core/src/com/android/tradefed/util/
DSubprocessEventHelper.java89 public String toString() { in toString() method in SubprocessEventHelper.TestRunStartedEventInfo
104 return tags.toString(); in toString()
123 public String toString() { in toString() method in SubprocessEventHelper.TestRunFailedEventInfo
132 return tags.toString(); in toString()
155 mRunMetrics.put(key, jsonObject.get(key).toString()); in TestRunEndedEventInfo()
160 public String toString() { in toString() method in SubprocessEventHelper.TestRunEndedEventInfo
174 return tags.toString(); in toString()
194 public String toString() { in toString() method in SubprocessEventHelper.InvocationFailedEventInfo
201 tags.put(CAUSE_KEY, sw.toString()); in toString()
206 return tags.toString(); in toString()
[all …]
DBundletoolUtil.java74 return specFilePath.toString(); in generateDeviceSpecFile()
77 String outputDirArg = DEVICE_SPEC_OUTPUT_FLAG + specFilePath.toString(); in generateDeviceSpecFile()
94 Arrays.toString(cmd), res.getStderr()); in generateDeviceSpecFile()
97 return specFilePath.toString(); in generateDeviceSpecFile()
140 Arrays.toString(extractApkCmd), res.getStderr()); in extractSplitsFromApks()
169 Arrays.toString(installApksCmd), res.getStderr()), in installApks()
DRegexTrie.java88 return mPattern.toString().equals(otherPat.toString()); in equals()
93 return mPattern.toString().hashCode(); in hashCode()
97 public String toString() { in toString() method in RegexTrie.CompPattern
98 return String.format("CP(%s)", mPattern.toString()); in toString()
289 public String toString() { in toString() method in RegexTrie
DQuotationAwareTokenizer.java86 log(String.format("Finished token '%s'", token.toString()), logging); in tokenizeLine()
87 tokens.add(token.toString()); in tokenizeLine()
110 log(String.format("Finished final token '%s'", token.toString()), logging); in tokenizeLine()
111 tokens.add(token.toString()); in tokenizeLine()
169 return sb.toString(); in combineTokens()
/tools/loganalysis/src/com/android/loganalysis/item/
DAnrItem.java55 CpuUsageCategory.TOTAL.toString(),
56 CpuUsageCategory.USER.toString(),
57 CpuUsageCategory.KERNEL.toString(),
58 CpuUsageCategory.IOWAIT.toString(),
59 LoadCategory.LOAD_1.toString(),
60 LoadCategory.LOAD_5.toString(),
61 LoadCategory.LOAD_15.toString(),
76 return (Double) getAttribute(category.toString()); in getCpuUsage()
83 setAttribute(category.toString(), usage); in setCpuUsage()
90 return (Double) getAttribute(category.toString()); in getLoad()
[all …]
DMonkeyLogItem.java79 DroppedCategory.KEYS.toString(),
80 DroppedCategory.POINTERS.toString(),
81 DroppedCategory.TRACKBALLS.toString(),
82 DroppedCategory.FLIPS.toString(),
83 DroppedCategory.ROTATIONS.toString()));
323 return (Integer) getAttribute(category.toString()); in getDroppedCount()
330 setAttribute(category.toString(), count); in setDroppedCount()
/tools/trebuchet/core/common/src/test/kotlin/trebuchet/extractors/
DSystraceExtractorTest.kt37 assertEquals("one", result[0].toString()) in <lambda>()
45 assertEquals("first", result[0].toString()) in <lambda>()
46 assertEquals("second", result[1].toString()) in <lambda>()
47 assertEquals("third", result[2].toString()) in <lambda>()
53 .joinToString(separator = "").asIterable().map { it.toString() } in <lambda>()
56 assertEquals("1", result[0].toString()) in <lambda>()
57 assertEquals("2", result[1].toString()) in <lambda>()
58 assertEquals("3", result[2].toString()) in <lambda>()
59 assertEquals("4", result[3].toString()) in <lambda>()
60 assertEquals("5", result[4].toString()) in <lambda>()
[all …]
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/
DCodePrinter.kt80 return sb.toString() in toSourceExpression()
146 sb.toString() in toSourceString()
382 sb.append(literalValue.toString()) in appendLiteralValue()
386 XmlUtils.appendXmlAttributeValue(sb, literalValue.toString()) in appendLiteralValue()
400 return value.toString() in constantToSource()
406 return value.toString() + "L" in constantToSource()
409 return value.toString() in constantToSource()
412 return value.toString() in constantToSource()
415 return value.toString() in constantToSource()
423 canonicalizeFloatingPointString(value.toString()) + "f" in constantToSource()
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
DAndroidJUnitTestTest.java111 Long.toString(SHELL_TIMEOUT)); in setUp()
126 mMockRemoteRunner.addInstrumentationArg("class", TEST1.toString()); in testRun_includeFilterClass()
129 mAndroidJUnitTest.addIncludeFilter(TEST1.toString()); in testRun_includeFilterClass()
138 mMockRemoteRunner.addInstrumentationArg("notClass", TEST1.toString()); in testRun_excludeFilterClass()
141 mAndroidJUnitTest.addExcludeFilter(TEST1.toString()); in testRun_excludeFilterClass()
151 mMockRemoteRunner.addInstrumentationArg("notClass", TEST2.toString()); in testRun_includeAndExcludeFilterClass()
155 mAndroidJUnitTest.addExcludeFilter(TEST2.toString()); in testRun_includeAndExcludeFilterClass()
244 mMockRemoteRunner.addInstrumentationArg("notClass", TEST2.toString()); in testRun_includeAndExcludeFilters()
250 mAndroidJUnitTest.addExcludeFilter(TEST2.toString()); in testRun_includeAndExcludeFilters()
272 FileUtil.writeToFile(TEST1.toString(), tmpFile); in testRun_includeFile()
[all …]
/tools/tradefederation/contrib/src/com/android/performance/tests/
DStartupMetricsTest.java98 runMetrics.put("init-boot", Double.toString(initUnavailDuration / 1000.0)); in executeRebootTest()
114 runMetrics.put("online", Double.toString(offlineDuration / 1000.0)); in executeRebootTest()
115 runMetrics.put("bootcomplete", Double.toString(unavailDuration / 1000.0)); in executeRebootTest()
171 output.put(key, item.get(key).toString()); in convertMap()
216 pssOutput.put(procrank.getProcessName(pid), pss.toString()); in parseProcRankMap()
220 rssOutput.put(procrank.getProcessName(pid), rss.toString()); in parseProcRankMap()
224 ussOutput.put(procrank.getProcessName(pid), uss.toString()); in parseProcRankMap()
228 pssOutput.put("count", numProcess.toString()); in parseProcRankMap()
229 pssOutput.put("total", pssTotal.toString()); in parseProcRankMap()
230 rssOutput.put("count", numProcess.toString()); in parseProcRankMap()
[all …]
DAppTransitionTests.java334 runner.addInstrumentationArg("launch_iteration", Integer.toString(mLaunchIteration)); in createRemoteAndroidTestRunner()
396 runner.addInstrumentationArg("iteration_count", Integer.toString(mLatencyIteration)); in createTestRunner()
689 if (actionDelayListMap.containsKey(Integer.toString(delayItem.getActionId()))) { in analyzeLatencyInfo()
691 .get(Integer.toString(delayItem.getActionId())) in analyzeLatencyInfo()
696 actionDelayListMap.put(Integer.toString(delayItem.getActionId()), delayList); in analyzeLatencyInfo()
736 stats.add(Double.parseDouble(delay.toString())); in computeAndUploadResults()
738 activityMetrics.put(appNameKey + "_min", stats.min().toString()); in computeAndUploadResults()
739 activityMetrics.put(appNameKey + "_max", stats.max().toString()); in computeAndUploadResults()
740 activityMetrics.put(appNameKey + "_avg", stats.mean().toString()); in computeAndUploadResults()
741 activityMetrics.put(appNameKey + "_median", stats.median().toString()); in computeAndUploadResults()
[all …]
/tools/tradefederation/contrib/src/com/android/media/tests/
DAudioLoopbackTestHelper.java84 public String toString() { in toString() method in AudioLoopbackTestHelper.StatisticsData
288 public String toString() { in toString() method in AudioLoopbackTestHelper.ResultData
296 sb.append("logs=").append(Arrays.toString(mLogs.values().toArray())).append(NL); in toString()
302 return sb.toString(); in toString()
509 CLog.i("Latency: " + mLatencyStats.toString()); in processTestData()
510 CLog.i("Confidence: " + mConfidenceStats.toString()); in processTestData()
562 writer.println(sb.toString()); in writeAllResultsToCSVFile()
621 metrics.put(resultKeyPrefix + "total_nr_of_tests", Integer.toString(mAllResults.size())); in populateStressTestMetrics()
622 metrics.put(resultKeyPrefix + "nr_of_good_tests", Integer.toString(mGoodResults.size())); in populateStressTestMetrics()
623 metrics.put(resultKeyPrefix + "latency_max", Double.toString(mLatencyStats.mMax)); in populateStressTestMetrics()
[all …]
DCameraStressTest.java98 public String toString() { in toString() method in CameraStressTest.TestInfo
142 t.mInstrumentationArgs.put("image_iterations", Integer.toString(100)); in testInfoSetup()
151 t.mInstrumentationArgs.put("image_iterations", Integer.toString(100)); in testInfoSetup()
160 t.mInstrumentationArgs.put("video_iterations", Integer.toString(100)); in testInfoSetup()
306 runMetrics.put(key, Integer.toString(value)); in parseOutputFile()
315 test.mTestName, key, capture.toString())); in parseOutputFile()
327 runMetrics.put(key, Integer.toString(value)); in parseOutputFile()
388 return sb.toString(); in join()
437 Log.e(LOG_TAG, String.format("Got reported metrics: %s", mReportedMetrics.toString())); in testParse_old()
504 Log.e(LOG_TAG, String.format("Got reported metrics: %s", mReportedMetrics.toString())); in testParse_new()
/tools/tradefederation/contrib/src/com/android/uicd/tests/
DUiConductorTest.java139 String runId = UUID.randomUUID().toString(); in run()
140 baseFilePath = Paths.get(baseFilePath, runId).toString(); in run()
141 String jarFileDir = Paths.get(baseFilePath, BINARY_RELATIVE_PATH).toString(); in run()
142 String testFilesDir = Paths.get(baseFilePath, TESTS_RELATIVE_PATH).toString(); in run()
143 String binaryFilesDir = Paths.get(baseFilePath).toString(); in run()
199 String testId = UUID.randomUUID().toString(); in runTest()
213 .toString()); in runTest()
280 copyFile(file.getAbsolutePath(), Paths.get(destDirPath, file.getName()).toString()); in copyFile()
287 File destFile = new File(Paths.get(destDir.toString(), srcFile.getName()).toString()); in copyFile()
304 Paths.get(destDirPath, file.getName()).toString())); in copyFile()
[all …]
/tools/metalava/src/test/java/com/android/tools/metalava/model/text/
DTextTypeParameterItemTest.kt28 assertThat(bounds(null).toString()).isEqualTo("[]") in testTypeParameterNames()
29 assertThat(bounds("").toString()).isEqualTo("[]") in testTypeParameterNames()
30 assertThat(bounds("X").toString()).isEqualTo("[]") in testTypeParameterNames()
31 assertThat(bounds("DEF extends T").toString()).isEqualTo("[T]") in testTypeParameterNames()
32 assertThat(bounds("T extends java.lang.Comparable<? super T>").toString()) in testTypeParameterNames()
34 assertThat(bounds("T extends java.util.List<Number> & java.util.RandomAccess").toString()) in testTypeParameterNames()
55 assertThat(bounds("D", method).toString()).isEqualTo("[androidx.navigation.NavDestination]") in testTypeParameterNames()
DTextTypeParameterListTest.kt25 … Truth.assertThat(TextTypeParameterList.typeParameterStrings(null).toString()).isEqualTo("[]") in testTypeParameterStrings()
26 Truth.assertThat(TextTypeParameterList.typeParameterStrings("").toString()).isEqualTo("[]") in testTypeParameterStrings()
27 … Truth.assertThat(TextTypeParameterList.typeParameterStrings("<X>").toString()).isEqualTo("[X]") in testTypeParameterStrings()
28 … Truth.assertThat(TextTypeParameterList.typeParameterStrings("<ABC,DEF extends T>").toString()) in testTypeParameterStrings()
30 …xtTypeParameterList.typeParameterStrings("<T extends java.lang.Comparable<? super T>>").toString()) in testTypeParameterStrings()
/tools/tradefederation/core/tests/src/com/android/tradefed/command/remote/
DRemoteManagerTest.java85 out.toString()); in testProcessClientOperations_invalidAction()
101 assertEquals("{}\n", out.toString()); in testProcessClientOperations_initHandover()
120 assertEquals("{}\n", out.toString()); in testProcessClientOperations_addCommand()
136 assertEquals("{\"error\":\"Failed to add command\"}\n", out.toString()); in testProcessClientOperations_addCommand_fail()
157 out.toString()); in testProcessClientOperations_addCommand_config()
171 assertEquals("{\"error\":\"Failed to allocate device testserial\"}\n", out.toString()); in testProcessClientOperations_allocateDevice_fail()
188 assertEquals("{}\n", out.toString()); in testProcessClientOperations_allocateDevice()
205 assertEquals("{\"error\":\"Could not find device to free testserial\"}\n", out.toString()); in testProcessClientOperations_processFree_notFound()
226 assertEquals("{}\n", out.toString()); in testProcessClientOperations_processFree()
250 assertEquals("{}\n", out.toString()); in testProcessClientOperations_processFree_wildcard()
/tools/tradefederation/core/src/com/android/tradefed/testtype/
DUiAutomatorRunner.java141 return commandBuilder.toString(); in getArgsCommand()
172 setClassName(classArgBuilder.toString()); in setClassNames()
229 addInstrumentationArg(name, Boolean.toString(value)); in addBooleanArg()
324 e.toString(), getPackageName(), mRemoteDevice.getSerialNumber())); in run()
326 mParser.handleTestRunFailed(e.toString()); in run()
330 e.toString(), getPackageName(), mRemoteDevice.getSerialNumber()); in run()
339 mParser.handleTestRunFailed(e.toString()); in run()
343 e.toString(), getPackageName(), mRemoteDevice.getSerialNumber()); in run()
344 mParser.handleTestRunFailed(e.toString()); in run()
/tools/trebuchet/core/common/src/test/kotlin/trebuchet/importers/ftrace/
DFtraceLineTest.kt38 assertEquals("sched_switch", line.function.toString()) in <lambda>()
54 assertEquals("sched_blocked_reason", line.function.toString()) in <lambda>()
71 assertEquals("sched_switch", line.function.toString()) in <lambda>()
87 assertEquals("sched_switch", line.function.toString()) in <lambda>()
101 assertEquals("sched_wakeup", line.function.toString()) in <lambda>()
116 assertEquals("sched_wakeup", line.function.toString()) in <lambda>()
131 assertEquals("tracing_mark_write", line.function.toString()) in <lambda>()
/tools/test/graphicsbenchmark/performance_tests/hostside/src/com/android/game/qualification/reporter/
DGameQualificationResultReporter.java150 return sb.toString(); in getInvocationSummary()
186 sb.append(entry.getKey().toString()); in getInvocationSummary()
199 sb.append(test.toString()); in getInvocationSummary()
236 return "Test results:\n" + sb.toString().trim() + "\n"; in getInvocationSummary()
244 sb.append(test.toString()); in createFunctionalTestFailureReport()
255 new ByteArrayInputStream(sb.toString().getBytes())); in createFunctionalTestFailureReport()
283 return sb.toString(); in getTestRunSummary()
362 return new Report(success, text.toString()); in createPerformanceReport()
370 sb.append(String.format(" %s: %s (%dms)\n", testId.toString(), testResult.getStatus(), in getTestSummary()
380 return sb.toString(); in getTestSummary()
/tools/metalava/src/main/java/com/android/tools/metalava/
DDocAnalyzer.kt170 val perm = value.toString() in <lambda>()
173 it.initialValue(requireConstant = false)?.toString() == perm in <lambda>()
231 ?.value?.value()?.toString() ?: return in <lambda>()
323 val v = value.value()?.toString() ?: value.toSource() in <lambda>()
349 appendDocumentation(sb.toString(), item, false) in <lambda>()
434 appendDocumentation(sb.toString(), item, true) in <lambda>()
467 appendDocumentation(sb.toString(), item, false) in <lambda>()
564 return sb.toString() in <lambda>()
654 val relative = sb.toString() in <lambda>()
726 level.toString() in <lambda>()
[all …]
DNullabilityAnnotationsValidator.kt55 override fun toString(): String { in <lambda>() method in com.android.tools.metalava.NullabilityAnnotationsValidator.Error
69 override fun toString(): String { in <lambda>() method in com.android.tools.metalava.NullabilityAnnotationsValidator.Warning
95 … checkItem(parameter.containingMethod(), parameter.toString(), parameter.type(), parameter) in <lambda>()
187 errors.sortBy { it.toString() } in <lambda>()
188 warnings.sortBy { it.toString() } in <lambda>()
210 …Issues.forEach { reporter.report(Errors.INVALID_NULLABILITY_ANNOTATION, it.method, it.toString()) } in <lambda>()
/tools/loganalysis/src/com/android/loganalysis/util/
DRegexTrie.java88 return mPattern.toString().equals(otherPat.toString()); in equals()
93 return mPattern.toString().hashCode(); in hashCode()
97 public String toString() { in toString() method in RegexTrie.CompPattern
98 return String.format("CP(%s)", mPattern.toString()); in toString()
289 public String toString() { in toString() method in RegexTrie
/tools/test/connectivity/acts/framework/acts/test_utils/wifi/p2p/
Dwifi_p2p_test_utils.py318 serviceData[dns_service.toString()] = 1
328 serviceData[dns_service.toString()] = 1
460 expectServiceList[ipp_service.toString()] = 1
467 expectServiceList[ipp_service.toString()] = 1
475 expectServiceList[afp_service.toString()] = 1
482 expectServiceList[ipp_service.toString()] = 1
488 expectServiceList[ipp_service.toString()] = 1
495 expectServiceList[afp_service.toString()] = 1
501 expectServiceList[afp_service.toString()] = 1
603 def toString(self): member in WifiP2PEnums.WifiP2pDnsSdServiceResponse

12345678910>>...19