Home
last modified time | relevance | path

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

123

/tools/tradefederation/core/src/com/android/tradefed/result/
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()
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()
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()
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()
DResultForwarder.java140 public void invocationEnded(long elapsedTime) { in invocationEnded() argument
141 InvocationSummaryHelper.reportInvocationEnded(mListeners, elapsedTime); in invocationEnded()
241 public void testRunStopped(long elapsedTime) { in testRunStopped() argument
244 listener.testRunStopped(elapsedTime); in testRunStopped()
254 public void testRunEnded(long elapsedTime, HashMap<String, Metric> runMetrics) { in testRunEnded() argument
257 listener.testRunEnded(elapsedTime, runMetrics); in testRunEnded()
DInvocationToJUnitResultForwarder.java76 public void testRunEnded(long elapsedTime, HashMap<String, Metric> runMetrics) { in testRunEnded() argument
79 Log.i(LOG_TAG, String.format("Run ended in %s", TimeUtil.formatElapsedTime(elapsedTime))); in testRunEnded()
104 public void testRunStopped(long elapsedTime) { in testRunStopped() argument
107 String.format("run stopped after %s", TimeUtil.formatElapsedTime(elapsedTime))); in testRunStopped()
176 public void invocationEnded(long elapsedTime) { in invocationEnded() argument
DCollectingTestListener.java145 public void invocationEnded(long elapsedTime) { in invocationEnded() argument
241 public void testRunEnded(long elapsedTime, HashMap<String, Metric> runMetrics) { in testRunEnded() argument
243 mCurrentTestRunResult.testRunEnded(elapsedTime, runMetrics); in testRunEnded()
263 public void testRunStopped(long elapsedTime) { in testRunStopped() argument
265 mCurrentTestRunResult.testRunStopped(elapsedTime); in testRunStopped()
/tools/tradefederation/core/invocation_interfaces/com/android/tradefed/result/
DTestRunResult.java360 public void testRunStopped(long elapsedTime) { in testRunStopped() argument
361 mElapsedTime += elapsedTime; in testRunStopped()
365 public void testRunEnded(long elapsedTime, Map<String, String> runMetrics) { in testRunEnded() argument
378 mElapsedTime += elapsedTime; in testRunEnded()
383 public void testRunEnded(long elapsedTime, HashMap<String, Metric> runMetrics) { in testRunEnded() argument
385 testRunEnded(elapsedTime, TfMetricProtoUtil.compatibleConvert(runMetrics)); in testRunEnded()
503 long elapsedTime = 0L; in merge() local
515 elapsedTime += eachRunResult.getElapsedTime(); in merge()
578 finalRunResult.mElapsedTime = elapsedTime; in merge()
DInvocationSummaryHelper.java59 long elapsedTime) { in reportInvocationEnded() argument
69 listener.invocationEnded(elapsedTime); in reportInvocationEnded()
93 listener.invocationEnded(elapsedTime); in reportInvocationEnded()
/tools/tradefederation/core/src/com/android/tradefed/postprocessor/
DBasePostProcessor.java115 public final void invocationEnded(long elapsedTime) { in invocationEnded() argument
116 mForwarder.invocationEnded(elapsedTime); in invocationEnded()
156 public final void testRunStopped(long elapsedTime) { in testRunStopped() argument
157 mForwarder.testRunStopped(elapsedTime); in testRunStopped()
161 public final void testRunEnded(long elapsedTime, Map<String, String> runMetrics) { in testRunEnded() argument
162 testRunEnded(elapsedTime, TfMetricProtoUtil.upgradeConvert(runMetrics)); in testRunEnded()
166 public final void testRunEnded(long elapsedTime, HashMap<String, Metric> runMetrics) { in testRunEnded() argument
187 mForwarder.testRunEnded(elapsedTime, runMetrics); in testRunEnded()
/tools/tradefederation/contrib/src/com/android/media/tests/
DCameraTestBase.java278 long elapsedTime, Map<String, String> runMetrics); in handleTestRunEnded() argument
323 public void testRunEnded(long elapsedTime, HashMap<String, Metric> runMetrics) { in testRunEnded() argument
324 super.testRunEnded(elapsedTime, runMetrics); in testRunEnded()
325 handleTestRunEnded(mListener, elapsedTime, in testRunEnded()
338 public void testRunStopped(long elapsedTime) { in testRunStopped() argument
339 super.testRunStopped(elapsedTime); in testRunStopped()
340 mListener.testRunStopped(elapsedTime); in testRunStopped()
434 public void handleTestRunEnded(ITestInvocationListener listener, long elapsedTime, in handleTestRunEnded() argument
/tools/tradefederation/core/src/com/android/tradefed/device/
DNativeDeviceStateMonitor.java226 long elapsedTime = System.currentTimeMillis() - startTime; in waitForDeviceAvailable() local
227 if (!waitForBootComplete(waitTime - elapsedTime)) { in waitForDeviceAvailable()
230 elapsedTime = System.currentTimeMillis() - startTime; in waitForDeviceAvailable()
231 if (!postOnlineCheck(waitTime - elapsedTime)) { in waitForDeviceAvailable()
406 long elapsedTime = System.currentTimeMillis() - startTime; in waitForDeviceBootloaderOrFastbootd() local
409 long waitTime = time - elapsedTime; in waitForDeviceBootloaderOrFastbootd()
/tools/tradefederation/core/src/com/android/tradefed/testtype/
DTfTestLauncher.java199 protected void postRun(ITestInvocationListener listener, boolean exception, long elapsedTime) { in postRun() argument
200 super.postRun(listener, exception, elapsedTime); in postRun()
201 reportMetrics(elapsedTime, listener); in postRun()
329 private void reportMetrics(long elapsedTime, ITestInvocationListener listener) { in reportMetrics() argument
330 if (elapsedTime == -1l) { in reportMetrics()
338 "elapsed-time", TfMetricProtoUtil.stringToMetric(Long.toString(elapsedTime))); in reportMetrics()
DSubprocessTfLauncher.java308 protected void postRun(ITestInvocationListener listener, boolean exception, long elapsedTime) {} in postRun() argument
348 long elapsedTime = -1l; in run() local
379 elapsedTime = System.currentTimeMillis() - startTime; in run()
383 elapsedTime = -1l; in run()
391 elapsedTime = -1l; in run()
435 postRun(listener, exception, elapsedTime); in run()
/tools/tradefederation/core/src/com/android/tradefed/command/
DCommandScheduler.java320 public void commandFinished(long elapsedTime) { in commandFinished() argument
321 getCommandTracker().incrementExecTime(elapsedTime); in commandFinished()
632 long elapsedTime = System.currentTimeMillis() - mStartTime; in run() local
634 mCmd.getCommandTracker().getId(), elapsedTime); in run()
651 mCmd.commandFinished(elapsedTime); in run()
653 mCmd.getCommandTracker().getId(), elapsedTime, mInvocationContext); in run() local
689 int invocId, long elapsedTime, final IInvocationContext context) { in logInvocationEndedEvent() argument
692 args.put(INVOC_END_EVENT_ELAPSED_KEY, TimeUtil.formatElapsedTime(elapsedTime)); in logInvocationEndedEvent()
1948 private String getTimeString(long elapsedTime) { in getTimeString() argument
1949 long duration = elapsedTime / 1000; in getTimeString()
/tools/tradefederation/core/src/com/android/tradefed/device/metric/
DBaseDeviceMetricCollector.java213 public final void invocationEnded(long elapsedTime) { in invocationEnded() argument
214 mForwarder.invocationEnded(elapsedTime); in invocationEnded()
268 public final void testRunStopped(long elapsedTime) { in testRunStopped() argument
269 mForwarder.testRunStopped(elapsedTime); in testRunStopped()
273 public final void testRunEnded(long elapsedTime, HashMap<String, Metric> runMetrics) { in testRunEnded() argument
281 mForwarder.testRunEnded(elapsedTime, runMetrics); in testRunEnded()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/
DJavaCodeCoverageListener.java94 public void testRunEnded(long elapsedTime, HashMap<String, Metric> runMetrics) { in testRunEnded() argument
110 super.testRunEnded(elapsedTime, runMetrics); in testRunEnded()
118 super.testRunEnded(elapsedTime, runMetrics); in testRunEnded()
125 super.testRunEnded(elapsedTime, runMetrics); in testRunEnded()
146 super.testRunEnded(elapsedTime, runMetrics); in testRunEnded()
DClangCodeCoverageListener.java111 public void testRunEnded(long elapsedTime, HashMap<String, Metric> runMetrics) { in testRunEnded() argument
130 super.testRunEnded(elapsedTime, runMetrics); in testRunEnded()
135 public void invocationEnded(long elapsedTime) { in invocationEnded() argument
138 super.invocationEnded(elapsedTime); in invocationEnded()
/tools/tradefederation/core/src/com/android/tradefed/result/ddmlib/
DTestRunToTestInvocationForwarder.java169 public void testRunEnded(long elapsedTime, Map<String, String> runMetrics) { in testRunEnded() argument
171 elapsedTime = System.currentTimeMillis() - mStartTime; in testRunEnded()
175 listener.testRunEnded(elapsedTime, TfMetricProtoUtil.upgradeConvert(runMetrics)); in testRunEnded()
217 public void testRunStopped(long elapsedTime) { in testRunStopped() argument
220 listener.testRunStopped(elapsedTime); in testRunStopped()
/tools/tradefederation/core/src/com/android/tradefed/invoker/
DShardListener.java177 public void testRunEnded(long elapsedTime, HashMap<String, Metric> runMetrics) { in testRunEnded() argument
178 super.testRunEnded(elapsedTime, runMetrics); in testRunEnded()
227 public void invocationEnded(long elapsedTime) { in invocationEnded() argument
228 super.invocationEnded(elapsedTime); in invocationEnded()
233 mMainListener.invocationEnded(elapsedTime); in invocationEnded()
/tools/tradefederation/core/src/com/android/tradefed/retry/
DResultAggregator.java131 public void invocationEnded(long elapsedTime) { in invocationEnded() argument
144 super.invocationEnded(elapsedTime); in invocationEnded()
147 mAllForwarder.invocationEnded(elapsedTime); in invocationEnded()
297 public void testRunEnded(long elapsedTime, HashMap<String, Metric> runMetrics) { in testRunEnded() argument
298 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/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/test/graphicsbenchmark/performance_tests/hostside/src/com/android/game/qualification/reporter/
DGameQualificationResultReporter.java76 … public void testEnded(TestDescription testId, long elapsedTime, HashMap<String, Metric> metrics) { in testEnded() argument
77 super.testEnded(testId, elapsedTime, metrics); in testEnded()
107 public void invocationEnded(long elapsedTime) { in invocationEnded() argument
108 super.invocationEnded(elapsedTime); in invocationEnded()
/tools/tradefederation/core/src/com/android/tradefed/result/proto/
DProtoResultParser.java342 long elapsedTime = in handleInvocationEnded() local
345 mListener.invocationEnded(elapsedTime); in handleInvocationEnded()
436 long elapsedTime = in handleTestRunEnd() local
440 mListener.testRunEnded(elapsedTime, metrics); in handleTestRunEnd()

123