Home
last modified time | relevance | path

Searched refs:elapsedTime (Results 1 – 25 of 50) sorted by relevance

12

/tools/tradefederation/core/src/com/android/tradefed/result/
DNameMangleListener.java96 public void testRunEnded(long elapsedTime, HashMap<String, Metric> runMetrics) { in testRunEnded() argument
97 mListener.testRunEnded(elapsedTime, runMetrics); in testRunEnded()
121 public void testRunStopped(long elapsedTime) { in testRunStopped() argument
122 mListener.testRunStopped(elapsedTime); in testRunStopped()
154 public void invocationEnded(long elapsedTime) { in invocationEnded() argument
155 mListener.invocationEnded(elapsedTime); in invocationEnded()
DMetricsXMLResultReporter.java84 public void invocationEnded(long elapsedTime) { in invocationEnded() argument
85 super.invocationEnded(elapsedTime); in invocationEnded()
90 generateResults(elapsedTime); in invocationEnded()
93 private void generateResults(long elapsedTime) { in generateResults() argument
106 printRunResults(serializer, timestamp, elapsedTime); in generateResults()
127 private void printRunResults(KXmlSerializer serializer, String timestamp, long elapsedTime) in printRunResults() argument
133 serializer.attribute(NS, ATTR_TIME, Long.toString(elapsedTime)); in printRunResults()
153 long elapsedTime = testResult.getEndTime() - testResult.getStartTime(); in printTestResults() local
154 serializer.attribute(NS, ATTR_TIME, Long.toString(elapsedTime)); in printTestResults()
DInvocationToJUnitResultForwarder.java72 public void testRunEnded(long elapsedTime, HashMap<String, Metric> runMetrics) { in testRunEnded() argument
75 Log.i(LOG_TAG, String.format("run ended %d ms", elapsedTime)); in testRunEnded()
100 public void testRunStopped(long elapsedTime) { in testRunStopped() argument
101 Log.i(LOG_TAG, String.format("run stopped: %d ms", elapsedTime)); in testRunStopped()
171 public void invocationEnded(long elapsedTime) { in invocationEnded() argument
DXmlResultReporter.java82 public void invocationEnded(long elapsedTime) { in invocationEnded() argument
83 super.invocationEnded(elapsedTime); in invocationEnded()
84 generateSummary(elapsedTime); in invocationEnded()
96 private void generateSummary(long elapsedTime) { in generateSummary() argument
110 printTestResults(serializer, timestamp, elapsedTime); in generateSummary()
148 void printTestResults(KXmlSerializer serializer, String timestamp, long elapsedTime) in printTestResults() argument
156 serializer.attribute(NS, ATTR_TIME, Long.toString(elapsedTime)); in printTestResults()
DResultForwarder.java125 public void invocationEnded(long elapsedTime) { in invocationEnded() argument
126 InvocationSummaryHelper.reportInvocationEnded(mListeners, elapsedTime); in invocationEnded()
187 public void testRunStopped(long elapsedTime) { in testRunStopped() argument
190 listener.testRunStopped(elapsedTime); in testRunStopped()
200 public void testRunEnded(long elapsedTime, HashMap<String, Metric> runMetrics) { in testRunEnded() argument
203 listener.testRunEnded(elapsedTime, runMetrics); in testRunEnded()
DStubTestRunListener.java64 public void testRunEnded(long elapsedTime, Map<String, String> runMetrics) { in testRunEnded() argument
88 public void testRunStopped(long elapsedTime) { in testRunStopped() argument
DBugreportCollector.java463 public void testRunEnded(long elapsedTime, HashMap<String, Metric> runMetrics) { in testRunEnded() argument
464 mListener.testRunEnded(elapsedTime, runMetrics); in testRunEnded()
465 mCollector.testRunEnded(elapsedTime, runMetrics); in testRunEnded()
493 public void testRunStopped(long elapsedTime) { in testRunStopped() argument
494 mListener.testRunStopped(elapsedTime); in testRunStopped()
495 mCollector.testRunStopped(elapsedTime); in testRunStopped()
531 public void invocationEnded(long elapsedTime) { in invocationEnded() argument
532 mListener.invocationEnded(elapsedTime); in invocationEnded()
533 mCollector.invocationEnded(elapsedTime); in invocationEnded()
DCollectingTestListener.java203 public void testRunEnded(long elapsedTime, HashMap<String, Metric> runMetrics) { in testRunEnded() argument
205 mCurrentResults.testRunEnded(elapsedTime, runMetrics); in testRunEnded()
221 public void testRunStopped(long elapsedTime) { in testRunStopped() argument
223 mCurrentResults.testRunStopped(elapsedTime); in testRunStopped()
297 public void invocationEnded(long elapsedTime) { in invocationEnded() argument
DTextResultReporter.java69 public void testRunEnded(long elapsedTime, HashMap<String, Metric> metrics) { in testRunEnded() argument
70 super.testRunEnded(elapsedTime, metrics); in testRunEnded()
DTestRunResult.java254 public void testRunStopped(long elapsedTime) { in testRunStopped() argument
255 mElapsedTime += elapsedTime; in testRunStopped()
259 public void testRunEnded(long elapsedTime, Map<String, String> runMetrics) { in testRunEnded() argument
272 mElapsedTime += elapsedTime; in testRunEnded()
277 public void testRunEnded(long elapsedTime, HashMap<String, Metric> runMetrics) { in testRunEnded() argument
279 testRunEnded(elapsedTime, TfMetricProtoUtil.compatibleConvert(runMetrics)); in testRunEnded()
DILogSaver.java54 public void invocationEnded(long elapsedTime); in invocationEnded() argument
DITestInvocationListener.java66 default public void invocationEnded(long elapsedTime) { } in invocationEnded() argument
DLogcatCrashResultForwarder.java86 public void testRunEnded(long elapsedTime, HashMap<String, Metric> runMetrics) { in testRunEnded() argument
87 super.testRunEnded(elapsedTime, runMetrics); in testRunEnded()
/tools/loganalysis/src/com/android/loganalysis/item/
DBatteryDischargeItem.java58 public BatteryDischargeInfoItem(Calendar clockTime, long elapsedTime, int batteryLevel) { in BatteryDischargeInfoItem() argument
62 setAttribute(DISCHARGE_ELAPSED_TIME, elapsedTime); in BatteryDischargeInfoItem()
95 public void addBatteryDischargeInfo(Calendar clockTime, long elapsedTime, int batteryLevel) { in addBatteryDischargeInfo() argument
97 elapsedTime, batteryLevel)); in addBatteryDischargeInfo()
/tools/tradefederation/core/src/com/android/tradefed/testtype/
DCodeCoverageListener.java57 public void testRunEnded(long elapsedTime, HashMap<String, Metric> runMetrics) { in testRunEnded() argument
62 super.testRunEnded(elapsedTime, runMetrics); in testRunEnded()
68 super.testRunEnded(elapsedTime, runMetrics); in testRunEnded()
84 super.testRunEnded(elapsedTime, runMetrics); in testRunEnded()
DTfTestLauncher.java191 protected void postRun(ITestInvocationListener listener, boolean exception, long elapsedTime) { in postRun() argument
192 super.postRun(listener, exception, elapsedTime); in postRun()
193 reportMetrics(elapsedTime, listener); in postRun()
312 private void reportMetrics(long elapsedTime, ITestInvocationListener listener) { in reportMetrics() argument
313 if (elapsedTime == -1l) { in reportMetrics()
321 "elapsed-time", TfMetricProtoUtil.stringToMetric(Long.toString(elapsedTime))); in reportMetrics()
323 listener.testRunEnded(elapsedTime, runMetrics); in reportMetrics()
DNativeStressTest.java194 final long elapsedTime = System.currentTimeMillis() - startTime; in reportTestCompleted() local
196 float avgIterationTime = iterationsComplete > 0 ? elapsedTime / iterationsComplete : 0; in reportTestCompleted()
203 listener.testRunEnded(elapsedTime, TfMetricProtoUtil.upgradeConvert(metricMap)); in reportTestCompleted()
/tools/tradefederation/core/src/com/android/tradefed/device/metric/
DBaseDeviceMetricCollector.java133 public final void invocationEnded(long elapsedTime) { in invocationEnded() argument
134 mForwarder.invocationEnded(elapsedTime); in invocationEnded()
162 public final void testRunStopped(long elapsedTime) { in testRunStopped() argument
163 mForwarder.testRunStopped(elapsedTime); in testRunStopped()
167 public final void testRunEnded(long elapsedTime, HashMap<String, Metric> runMetrics) { in testRunEnded() argument
175 mForwarder.testRunEnded(elapsedTime, runMetrics); in testRunEnded()
/tools/tradefederation/core/src/com/android/tradefed/result/suite/
DFormattedGeneratorReporter.java23 public final void invocationEnded(long elapsedTime) { in invocationEnded() argument
25 super.invocationEnded(elapsedTime); in invocationEnded()
/tools/tradefederation/core/src/com/android/tradefed/invoker/
DShardListener.java115 public void testRunEnded(long elapsedTime, HashMap<String, Metric> runMetrics) { in testRunEnded() argument
116 super.testRunEnded(elapsedTime, runMetrics); in testRunEnded()
135 public void invocationEnded(long elapsedTime) { in invocationEnded() argument
136 super.invocationEnded(elapsedTime); in invocationEnded()
169 mMasterListener.invocationEnded(elapsedTime); in invocationEnded()
/tools/loganalysis/src/com/android/loganalysis/parser/
DBatteryStatsSummaryInfoParser.java98 long elapsedTime = NumberFormattingUtil.getMs(days, hours, mins, secs, msecs); in parse() local
99 mBatteryDischargeRateAvg += (elapsedTime - previousDischargeElapsedTime); in parse()
103 (elapsedTime - previousDischargeElapsedTime), batteryLevel); in parse()
104 previousDischargeElapsedTime = elapsedTime; in parse()
/tools/tradefederation/core/src/com/android/tradefed/result/ddmlib/
DTestRunToTestInvocationForwarder.java152 public void testRunEnded(long elapsedTime, Map<String, String> runMetrics) { in testRunEnded() argument
155 listener.testRunEnded(elapsedTime, TfMetricProtoUtil.upgradeConvert(runMetrics)); in testRunEnded()
194 public void testRunStopped(long elapsedTime) { in testRunStopped() argument
197 listener.testRunStopped(elapsedTime); in testRunStopped()
/tools/tradefederation/core/src/com/android/tradefed/device/
DDeviceStateMonitor.java84 long elapsedTime = System.currentTimeMillis() - startTime; in postOnlineCheck() local
85 return super.postOnlineCheck(waitTime - elapsedTime); in postOnlineCheck()
DNativeDeviceStateMonitor.java211 long elapsedTime = System.currentTimeMillis() - startTime; in waitForDeviceAvailable() local
212 if (!waitForBootComplete(waitTime - elapsedTime)) { in waitForDeviceAvailable()
215 elapsedTime = System.currentTimeMillis() - startTime; in waitForDeviceAvailable()
216 if (!postOnlineCheck(waitTime - elapsedTime)) { in waitForDeviceAvailable()
377 long elapsedTime = System.currentTimeMillis() - startTime; in waitForDeviceBootloader() local
380 long waitTime = time - elapsedTime; in waitForDeviceBootloader()
/tools/tradefederation/contrib/src/com/android/media/tests/
DCameraTestBase.java274 long elapsedTime, Map<String, String> runMetrics); in handleTestRunEnded() argument
319 public void testRunEnded(long elapsedTime, HashMap<String, Metric> runMetrics) { in testRunEnded() argument
320 super.testRunEnded(elapsedTime, runMetrics); in testRunEnded()
321 handleTestRunEnded(mListener, elapsedTime, in testRunEnded()
334 public void testRunStopped(long elapsedTime) { in testRunStopped() argument
335 super.testRunStopped(elapsedTime); in testRunStopped()
336 mListener.testRunStopped(elapsedTime); in testRunStopped()
430 public void handleTestRunEnded(ITestInvocationListener listener, long elapsedTime, in handleTestRunEnded() argument

12