Home
last modified time | relevance | path

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

1234567891011

/tools/tradefederation/core/prod-tests/src/com/android/graphics/tests/
DOpenGlPerformanceTest.java171 runner.addInstrumentationArg("iterations", Integer.toString(mIterations)); in run()
265 CLog.v("caputre.get[%d]: %s", i, capture.get(i).toString()); in parseOutputFile()
269 key, capture.toString()); in parseOutputFile()
355 return sb.toString(); in join()
405 assertEquals("97.65624", mTestInstance.mTestResults.get("text1")[0].toString()); in testParseOutputFile()
406 assertEquals("36.576443", mTestInstance.mTestResults.get("text2")[0].toString()); in testParseOutputFile()
407 assertEquals("12.382367", mTestInstance.mTestResults.get("text3")[0].toString()); in testParseOutputFile()
411 mTestInstance.mTestResults.get("10xSingleTexture")[0].toString()); in testParseOutputFile()
413 mTestInstance.mTestResults.get("Multitexture")[0].toString()); in testParseOutputFile()
415 mTestInstance.mTestResults.get("BlendedSingleTexture")[0].toString()); in testParseOutputFile()
[all …]
/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/tradefederation/core/src/com/android/tradefed/util/
DSubprocessEventHelper.java70 public String toString() { in toString() method in SubprocessEventHelper.TestRunStartedEventInfo
82 return tags.toString(); in toString()
101 public String toString() { in toString() method in SubprocessEventHelper.TestRunFailedEventInfo
110 return tags.toString(); in toString()
133 mRunMetrics.put(key, jsonObject.get(key).toString()); in TestRunEndedEventInfo()
138 public String toString() { in toString() method in SubprocessEventHelper.TestRunEndedEventInfo
152 return tags.toString(); in toString()
172 public String toString() { in toString() method in SubprocessEventHelper.InvocationFailedEventInfo
179 tags.put(CAUSE_KEY, sw.toString()); in toString()
184 return tags.toString(); in toString()
[all …]
DQuotationAwareTokenizer.java80 Log.v(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
DSimplePerfUtil.java142 return commandPrependPreparer().toString() + command; in commandStringPreparer()
148 sb.append(mType.toString()).append(" "); in commandPrependPreparer()
175 public String toString() { in toString() method in SimplePerfUtil.SimplePerfType
DEmail.java50 return builder.toString(); in join()
133 Arrays.toString(mailCmd))); in send()
141 mailerStdin.write(fullMsg.toString().getBytes("UTF-8")); in send()
160 Log.e(LOG_TAG, "Mailer output was: " + stdout.toString()); in send()
/tools/tradefederation/core/prod-tests/src/com/android/performance/tests/
DStartupMetricsTest.java95 runMetrics.put("init-boot", Double.toString(initUnavailDuration / 1000.0)); in executeRebootTest()
110 runMetrics.put("online", Double.toString(offlineDuration/1000.0)); in executeRebootTest()
111 runMetrics.put("bootcomplete", Double.toString(unavailDuration/1000.0)); in executeRebootTest()
166 output.put(key, item.get(key).toString()); in convertMap()
213 pssOutput.put(procrank.getProcessName(pid), pss.toString()); in parseProcRankMap()
217 rssOutput.put(procrank.getProcessName(pid), rss.toString()); in parseProcRankMap()
221 ussOutput.put(procrank.getProcessName(pid), uss.toString()); in parseProcRankMap()
225 pssOutput.put("count", numProcess.toString()); in parseProcRankMap()
226 pssOutput.put("total", pssTotal.toString()); in parseProcRankMap()
227 rssOutput.put("count", numProcess.toString()); in parseProcRankMap()
[all …]
/tools/tradefederation/core/prod-tests/src/com/android/encryption/tests/
DEncryptionCpuTest.java106 addMetric("total_mean" + keySuffix, TopHelper.getTotalAverage(stats).toString()); in addTopStats()
107 addMetric("user_mean" + keySuffix, TopHelper.getUserAverage(stats).toString()); in addTopStats()
108 addMetric("system_mean" + keySuffix, TopHelper.getSystemAverage(stats).toString()); in addTopStats()
109 addMetric("iow_mean" + keySuffix, TopHelper.getIowAverage(stats).toString()); in addTopStats()
110 addMetric("irq_mean" + keySuffix, TopHelper.getIrqAverage(stats).toString()); in addTopStats()
130 CpuStatsCollector.getTotalPercentageMean(totalStats).toString()); in addCpuStats()
132 CpuStatsCollector.getUserPercentageMean(totalStats).toString()); in addCpuStats()
134 CpuStatsCollector.getSystemPercentageMean(totalStats).toString()); in addCpuStats()
136 CpuStatsCollector.getIowPercentageMean(totalStats).toString()); in addCpuStats()
138 CpuStatsCollector.getIrqPercentageMean(totalStats).toString()); in addCpuStats()
[all …]
/tools/tradefederation/core/src/com/android/tradefed/testtype/
DUiAutomatorRunner.java140 return commandBuilder.toString(); in getArgsCommand()
171 setClassName(classArgBuilder.toString()); in setClassNames()
228 addInstrumentationArg(name, Boolean.toString(value)); in addBooleanArg()
313 e.toString(), getPackageName(), mRemoteDevice.getSerialNumber())); in run()
315 mParser.handleTestRunFailed(e.toString()); in run()
319 e.toString(), getPackageName(), mRemoteDevice.getSerialNumber()); in run()
328 mParser.handleTestRunFailed(e.toString()); in run()
332 e.toString(), getPackageName(), mRemoteDevice.getSerialNumber()); in run()
333 mParser.handleTestRunFailed(e.toString()); in run()
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/
DModuleListener.java46 CLog.d("ModuleListener.testLog(%s, %s, %s)", name, type.toString(), stream.toString()); in testLog()
71 CLog.d("ModuleListener.testStarted(%s)", test.toString()); in testStarted()
79 LogLevel.INFO, "ModuleListener.testFailed(%s, %s)", test.toString(), trace); in testFailed()
DTestFailureListener.java107 CLog.i("FailureListener.testFailed %s %b %b %b", test.toString(), mBugReportOnFailure, in testFailed()
113 String.format("%s-screenshot", test.toString()), in testFailed()
126 String.format("%s-bugreport", test.toString()), in testFailed()
141 testLog(String.format("%s-logcat", test.toString()), LogDataType.LOGCAT, logSource); in testFailed()
/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/config/
DConfigurationUtil.java92 dumpOptionToXml(serializer, option.name(), null, entry.toString()); in dumpOptionsToXml()
101 entry.getKey().toString(), in dumpOptionsToXml()
102 entry.getValue().toString()); in dumpOptionsToXml()
109 serializer, option.name(), keyObj.toString(), valueObj.toString()); in dumpOptionsToXml()
113 dumpOptionToXml(serializer, option.name(), null, fieldVal.toString()); in dumpOptionsToXml()
/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/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/tradefederation/core/tests/src/com/android/tradefed/testtype/
DAndroidJUnitTestTest.java83 Long.toString(SHELL_TIMEOUT)); in setUp()
91 mMockRemoteRunner.addInstrumentationArg("class", TEST1.toString()); in testRun_includeFilterClass()
94 mAndroidJUnitTest.addIncludeFilter(TEST1.toString()); in testRun_includeFilterClass()
104 mMockRemoteRunner.addInstrumentationArg("notClass", TEST1.toString()); in testRun_excludeFilterClass()
107 mAndroidJUnitTest.addExcludeFilter(TEST1.toString()); in testRun_excludeFilterClass()
118 mMockRemoteRunner.addInstrumentationArg("notClass", TEST2.toString()); in testRun_includeAndExcludeFilterClass()
122 mAndroidJUnitTest.addExcludeFilter(TEST2.toString()); in testRun_includeAndExcludeFilterClass()
174 mMockRemoteRunner.addInstrumentationArg("notClass", TEST2.toString()); in testRun_includeAndExcludeFilters()
180 mAndroidJUnitTest.addExcludeFilter(TEST2.toString()); in testRun_includeAndExcludeFilters()
244 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/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/prod-tests/src/com/android/media/tests/
DCameraStressTest.java97 public String toString() { in toString() method in CameraStressTest.TestInfo
141 t.mInstrumentationArgs.put("image_iterations", Integer.toString(100)); in testInfoSetup()
150 t.mInstrumentationArgs.put("image_iterations", Integer.toString(100)); in testInfoSetup()
159 t.mInstrumentationArgs.put("video_iterations", Integer.toString(100)); in testInfoSetup()
305 runMetrics.put(key, Integer.toString(value)); in parseOutputFile()
314 test.mTestName, key, capture.toString())); in parseOutputFile()
326 runMetrics.put(key, Integer.toString(value)); in parseOutputFile()
387 return sb.toString(); in join()
436 Log.e(LOG_TAG, String.format("Got reported metrics: %s", mReportedMetrics.toString())); in testParse_old()
503 Log.e(LOG_TAG, String.format("Got reported metrics: %s", mReportedMetrics.toString())); in testParse_new()
/tools/tradefederation/core/src/com/android/tradefed/result/
DEmailResultReporter.java156 subj.append(build.toString()); in generateEmailSubject()
161 return subj.toString(); in generateEmailSubject()
187 return invStatus.toString(); in getInvocationOrTestStatus()
192 return invStatus.toString(); // should be success at this point in getInvocationOrTestStatus()
272 bodyBuilder.append(summary.getKvEntries().toString()); in generateEmailBody()
276 return bodyBuilder.toString(); in generateEmailBody()
/tools/tradefederation/core/prod-tests/src/com/android/continuous/
DSmokeTestFailureReporter.java65 sb.append(build.toString()); in generateEmailSubject()
67 return sb.toString(); in generateEmailSubject()
102 return sb.toString(); in generateEmailBody()

1234567891011