Home
last modified time | relevance | path

Searched refs:runTime (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/test-runner/src/junit/textui/
DResultPrinter.java28 synchronized void print(TestResult result, long runTime) { in print() argument
29 printHeader(runTime); in print()
43 protected void printHeader(long runTime) { in printHeader() argument
45 getWriter().println("Time: "+elapsedTimeAsString(runTime)); in printHeader()
103 protected String elapsedTimeAsString(long runTime) { in elapsedTimeAsString() argument
107 return Double.toString((double)runTime/1000); in elapsedTimeAsString()
DTestRunner.java118 long runTime= endTime-startTime; in doRun() local
119 fPrinter.print(result, runTime); in doRun()
/frameworks/base/test-runner/src/android/test/
DInstrumentationTestRunner.java564 long runTime = System.currentTimeMillis() - startTime; in onStart() local
566 resultPrinter.printResult(mTestRunner.getTestResult(), runTime); in onStart() local
667 public synchronized void printResult(TestResult result, long runTime) { in printResult() argument
668 printHeader(runTime); in printResult()
713 float runTime; in endTest() local
720 runTime = -1; in endTest()
722 runTime = mEndTime - mStartTime; in endTest()
723 if (runTime < SMALL_SUITE_MAX_RUNTIME in endTest()
726 } else if (runTime < MEDIUM_SUITE_MAX_RUNTIME) { in endTest()
738 + String.valueOf(runTime) + "\n"); in endTest()
[all …]
/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/testrunner/
DUiAutomatorTestRunner.java167 long runTime = SystemClock.uptimeMillis() - startTime; in start() local
168 resultPrinter.print(testRunResult, runTime, testRunOutput); in start()
233 public void print(TestResult result, long runTime, Bundle testOutput); in print() argument
349 public void print(TestResult result, long runTime, Bundle testOutput) { in print() argument
350 mPrinter.print(result, runTime, testOutput); in print()
379 public void print(TestResult result, long runTime, Bundle testOutput) { in print() argument
380 printHeader(runTime); in print()
/frameworks/native/cmds/flatland/
DMain.cpp616 double runTime = 0.0; in runTest() local
618 runTime = double(r.run(warmUpFrames, totalFrames)); in runTest()
619 if (runTime < 50e6) { in runTest()
632 } else if (totalFrames == 5 && runTime > 200e6) { in runTest()
/frameworks/base/test-runner/src/junit/runner/
DBaseTestRunner.java146 public String elapsedTimeAsString(long runTime) { in elapsedTimeAsString() argument
147 return NumberFormat.getInstance().format((double)runTime/1000); in elapsedTimeAsString()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java1784 long runTime = computeRunTimeLocked(mTimeBase.getRealtime(elapsedRealtimeUs)); in writeSummaryFromParcelLocked() local
1785 out.writeLong(runTime); in writeSummaryFromParcelLocked()