Home
last modified time | relevance | path

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

12345678910>>...13

/tools/tradefederation/core/prod-tests/src/com/android/graphics/tests/
DOpenGlPerformanceTest.java172 runner.addInstrumentationArg("iterations", Integer.toString(mIterations)); in run()
266 CLog.v("caputre.get[%d]: %s", i, capture.get(i).toString()); in parseOutputFile()
270 key, capture.toString()); in parseOutputFile()
356 return sb.toString(); in join()
406 assertEquals("97.65624", mTestInstance.mTestResults.get("text1")[0].toString()); in testParseOutputFile()
407 assertEquals("36.576443", mTestInstance.mTestResults.get("text2")[0].toString()); in testParseOutputFile()
408 assertEquals("12.382367", mTestInstance.mTestResults.get("text3")[0].toString()); in testParseOutputFile()
412 mTestInstance.mTestResults.get("10xSingleTexture")[0].toString()); in testParseOutputFile()
414 mTestInstance.mTestResults.get("Multitexture")[0].toString()); in testParseOutputFile()
416 mTestInstance.mTestResults.get("BlendedSingleTexture")[0].toString()); in testParseOutputFile()
[all …]
/tools/metalava/src/test/java/com/android/tools/metalava/model/text/
DTextTypeParameterItemTest.kt25 Truth.assertThat(TextTypeParameterItem.bounds(null).toString()).isEqualTo("[]") in testTypeParameterNames()
26 Truth.assertThat(TextTypeParameterItem.bounds("").toString()).isEqualTo("[]") in testTypeParameterNames()
27 Truth.assertThat(TextTypeParameterItem.bounds("X").toString()).isEqualTo("[]") in testTypeParameterNames()
28 Truth.assertThat(TextTypeParameterItem.bounds("DEF extends T").toString()).isEqualTo("[T]") in testTypeParameterNames()
29 …th.assertThat(TextTypeParameterItem.bounds("T extends java.lang.Comparable<? super T>").toString()) in testTypeParameterNames()
31 …xtTypeParameterItem.bounds("T extends java.util.List<Number> & java.util.RandomAccess").toString()) 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/prod-tests/src/com/android/performance/tests/
DStartupMetricsTest.java96 runMetrics.put("init-boot", Double.toString(initUnavailDuration / 1000.0)); in executeRebootTest()
111 runMetrics.put("online", Double.toString(offlineDuration/1000.0)); in executeRebootTest()
112 runMetrics.put("bootcomplete", Double.toString(unavailDuration/1000.0)); in executeRebootTest()
164 output.put(key, item.get(key).toString()); in convertMap()
209 pssOutput.put(procrank.getProcessName(pid), pss.toString()); in parseProcRankMap()
213 rssOutput.put(procrank.getProcessName(pid), rss.toString()); in parseProcRankMap()
217 ussOutput.put(procrank.getProcessName(pid), uss.toString()); in parseProcRankMap()
221 pssOutput.put("count", numProcess.toString()); in parseProcRankMap()
222 pssOutput.put("total", pssTotal.toString()); in parseProcRankMap()
223 rssOutput.put("count", numProcess.toString()); in parseProcRankMap()
[all …]
/tools/metalava/src/test/java/com/android/tools/metalava/
DOptionsTest.kt209 assertEquals(BANNER + "\n\n", stdout.toString()) in Test invalid arguments()
217 """.trimIndent(), stderr.toString() in Test invalid arguments()
232 assertEquals("", stderr.toString()) in Test help()
242 """.trimIndent(), stdout.toString() in Test help()
/tools/tradefederation/core/src/com/android/tradefed/util/
DQuotationAwareTokenizer.java80 Log.d(LOG_TAG, String.format("Finished token '%s'", token.toString())); in tokenizeLine()
81 tokens.add(token.toString()); in tokenizeLine()
104 Log.v(LOG_TAG, String.format("Finished final token '%s'", token.toString())); in tokenizeLine()
105 tokens.add(token.toString()); in tokenizeLine()
148 return sb.toString(); in combineTokens()
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/tradefederation/core/src/com/android/tradefed/testtype/host/
DPrettyTestEventLogger.java49 test.toString(), date.toString()); in testStarted()
60 test.toString(), date.toString()); in testEnded()
/tools/loganalysis/src/com/android/loganalysis/item/
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/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()
314 e.toString(), getPackageName(), mRemoteDevice.getSerialNumber())); in run()
316 mParser.handleTestRunFailed(e.toString()); in run()
320 e.toString(), getPackageName(), mRemoteDevice.getSerialNumber()); in run()
329 mParser.handleTestRunFailed(e.toString()); in run()
333 e.toString(), getPackageName(), mRemoteDevice.getSerialNumber()); in run()
334 mParser.handleTestRunFailed(e.toString()); in run()
/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/loganalysis/src/com/android/loganalysis/parser/
DJavaCrashParser.java108 addMessageStack(jc, message.toString(), stack.toString()); in parse()
120 addMessageStack(jc, message.toString(), stack.toString()); in parse()
/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/loganalysis/tests/src/com/android/loganalysis/parser/
DLogcatParserFuncTest.java53 fail(String.format("IOException: %s", e.toString())); in testParse()
71 logcat.getStartTime().toString(), in testParse()
72 logcat.getStopTime().toString(), in testParse()
DBugreportParserFuncTest.java53 fail(String.format("IOException: %s", e.toString())); in testParse()
96 bugreport.getSystemLog().getStartTime().toString(), in testParse()
97 bugreport.getSystemLog().getStopTime().toString(), in testParse()
/tools/metalava/src/main/java/com/android/tools/metalava/model/
DTypeParameterList.kt31 override fun toString(): String in toString() method
45 override fun toString(): String = "" in toString() method
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
DAndroidJUnitTestTest.java86 Long.toString(SHELL_TIMEOUT)); in setUp()
96 mMockRemoteRunner.addInstrumentationArg("class", TEST1.toString()); in testRun_includeFilterClass()
99 mAndroidJUnitTest.addIncludeFilter(TEST1.toString()); in testRun_includeFilterClass()
109 mMockRemoteRunner.addInstrumentationArg("notClass", TEST1.toString()); in testRun_excludeFilterClass()
112 mAndroidJUnitTest.addExcludeFilter(TEST1.toString()); in testRun_excludeFilterClass()
123 mMockRemoteRunner.addInstrumentationArg("notClass", TEST2.toString()); in testRun_includeAndExcludeFilterClass()
127 mAndroidJUnitTest.addExcludeFilter(TEST2.toString()); in testRun_includeAndExcludeFilterClass()
179 mMockRemoteRunner.addInstrumentationArg("notClass", TEST2.toString()); in testRun_includeAndExcludeFilters()
185 mAndroidJUnitTest.addExcludeFilter(TEST2.toString()); in testRun_includeAndExcludeFilters()
251 mMockRemoteRunner.addInstrumentationArg("notClass", TEST2.toString()); in testRun_testFileAndFilters()
[all …]
/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/tradefederation/core/src/com/android/tradefed/util/keystore/
DJSONFileKeyStoreClient.java49 mJsonFile.toString())); in JSONFileKeyStoreClient()
56 mJsonFile.toString(), e)); in JSONFileKeyStoreClient()
60 mJsonFile.toString(), e)); in JSONFileKeyStoreClient()
/tools/tradefederation/core/src/com/android/tradefed/config/
DConfigurationUtil.java106 dumpOptionToXml(serializer, option.name(), null, entry.toString()); in dumpOptionsToXml()
115 entry.getKey().toString(), in dumpOptionsToXml()
116 entry.getValue().toString()); in dumpOptionsToXml()
123 serializer, option.name(), keyObj.toString(), valueObj.toString()); in dumpOptionsToXml()
127 dumpOptionToXml(serializer, option.name(), null, fieldVal.toString()); in dumpOptionsToXml()
/tools/metalava/src/test/java/com/android/tools/metalava/model/
DTextBackedAnnotationItemTest.kt61 assertEquals("20", annotation.findAttribute("from")?.value.toString()) in testIntRange()
63 assertEquals("40", annotation.findAttribute("to")?.value.toString()) in testIntRange()
83 annotation.findAttribute("value")?.value.toString() in testIntDef()
/tools/apksig/src/main/java/com/android/apksig/internal/jar/
DManifestWriter.java54 namedAttributes.remove(Attributes.Name.MANIFEST_VERSION.toString()); in writeMainSection()
76 writeAttribute(out, name.toString(), value); in writeAttribute()
112 String attrName = attribute.getKey().toString(); in getAttributesSortedByName()
113 String attrValue = attribute.getValue().toString(); in getAttributesSortedByName()
/tools/tradefederation/core/src/com/android/tradefed/result/
DEmailResultReporter.java153 subj.append(build.toString()); in generateEmailSubject()
158 return subj.toString(); in generateEmailSubject()
184 return invStatus.toString(); in getInvocationOrTestStatus()
189 return invStatus.toString(); // should be success at this point in getInvocationOrTestStatus()
269 bodyBuilder.append(summary.getKvEntries().toString()); in generateEmailBody()
273 return bodyBuilder.toString(); in generateEmailBody()
/tools/tradefederation/core/tests/src/com/android/tradefed/sandbox/
DSandboxConfigDumpTest.java57 new String[] {DumpCmd.FULL_XML.toString(), mOutputFile.getAbsolutePath(), "empty"}; in testParseCommandLine()
77 DumpCmd.NON_VERSIONED_CONFIG.toString(), mOutputFile.getAbsolutePath(), "empty" in testParseCommandLine_filtered()
98 DumpCmd.RUN_CONFIG.toString(), mOutputFile.getAbsolutePath(), "empty" in testParseCommandLine_run()

12345678910>>...13