Home
last modified time | relevance | path

Searched refs:startTime (Results 1 – 25 of 102) sorted by relevance

12345

/tools/tradefederation/core/tests/src/com/android/tradefed/result/suite/
DXmlSuiteResultFormatterTest.java101 mResultHolder.startTime = 0L; in testBasicFormat()
153 mResultHolder.startTime = 0L; in testFailuresReporting()
180 assertEquals(holder.startTime, mResultHolder.startTime); in testFailuresReporting()
205 mResultHolder.startTime = 0L; in testFailuresReporting_notDone()
234 assertEquals(holder.startTime, mResultHolder.startTime); in testFailuresReporting_notDone()
261 mResultHolder.startTime = 0L; in testAssumptionFailures_Ignore_Reporting()
289 assertEquals(holder.startTime, mResultHolder.startTime); in testAssumptionFailures_Ignore_Reporting()
324 mResultHolder.startTime = 0L; in testLogReporting()
373 mResultHolder.startTime = 0L; in testMetricReporting()
396 assertEquals(holder.startTime, mResultHolder.startTime); in testMetricReporting()
[all …]
/tools/trebuchet/trebuchet/startup-common/src/
DStartupCommon.kt52 val startTime : Double, in <lambda>() constant in StartupEvent
117 map { it.first().startTime }. in findProcess()
142 …val newProc = this.findProcess(newProcName, systemServerSlice.startTime, systemServerSlice.… in Model()
143 …oc.findFirstSlice(SLICE_NAME_PROC_START, newProcName, systemServerSlice.startTime, systemServerSli… in Model()
144 …rProc.findFirstSliceOrNull(SLICE_NAME_REPORT_FULLY_DRAWN, newProcName, systemServerSlice.startTime) in Model()
145 …val firstSliceTime = newProc.threads.map { it.slices.firstOrNull()?.startTime ?: Double.POSITIVE_I… in Model()
152 schedSlice.startTime >= systemServerSlice.endTime -> return@schedLoop in Model()
155 … schedSliceInfo[schedSlice.state] = origVal + (systemServerSlice.endTime - schedSlice.startTime) in Model()
183 if (slice.startTime < systemServerSlice.endTime) { in Model()
190 … undifferentiatedTime += (slice.startTime - this.lastTopLevelSlice!!.endTime) in Model()
[all …]
/tools/trebuchet/core/common/src/main/kotlin/trebuchet/queries/
DSliceQueries.kt116 return this.processes.values.mapNotNull { it.selectFirst(predicate) }.minBy { it.startTime } in selectFirst()
138 if (threadSlice != null && (ret == null || threadSlice.startTime < ret!!.startTime)) { in ProcessModel()
331 lowerBound <= slice.startTime && in ProcessModel()
332 slice.startTime <= upperBound in ProcessModel()
351 lowerBound <= slice.startTime && in ProcessModel()
352 slice.startTime <= upperBound in ProcessModel()
376 lowerBound <= slice.startTime && in ProcessModel()
377 slice.startTime <= upperBound in ProcessModel()
396 lowerBound <= slice.startTime && in ProcessModel()
397 slice.startTime <= upperBound in ProcessModel()
/tools/tradefederation/core/src/com/android/tradefed/device/
DNativeDeviceStateMonitor.java179 long startTime = System.currentTimeMillis(); in waitForDeviceShell() local
181 while (System.currentTimeMillis() - startTime < waitTime) { in waitForDeviceShell()
221 long startTime = System.currentTimeMillis(); in waitForDeviceAvailable() local
226 long elapsedTime = System.currentTimeMillis() - startTime; in waitForDeviceAvailable()
230 elapsedTime = System.currentTimeMillis() - startTime; in waitForDeviceAvailable()
252 long startTime = System.currentTimeMillis(); in waitForBootComplete() local
254 while ((System.currentTimeMillis() - startTime) < waitTime) { in waitForBootComplete()
294 long startTime = System.currentTimeMillis(); in waitForStoreMount() local
299 while (System.currentTimeMillis() - startTime < waitTime) { in waitForStoreMount()
403 long startTime = System.currentTimeMillis(); in waitForDeviceBootloaderOrFastbootd() local
[all …]
DWifiHelper.java211 long startTime = System.currentTimeMillis(); in waitForWifiState() local
212 while (System.currentTimeMillis() < (startTime + timeout)) { in waitForWifiState()
308 long startTime = System.currentTimeMillis(); in waitForIp() local
310 while (System.currentTimeMillis() < (startTime + timeout)) { in waitForIp()
384 long startTime = System.currentTimeMillis(); in waitForWifiEnabled() local
386 while (System.currentTimeMillis() < (startTime + timeout)) { in waitForWifiEnabled()
405 long startTime = System.currentTimeMillis(); in waitForWifiDisabled() local
407 while (System.currentTimeMillis() < (startTime + timeout)) { in waitForWifiDisabled()
DDeviceStateMonitor.java47 long startTime = System.currentTimeMillis(); in waitForPmResponsive() local
49 while (System.currentTimeMillis() - startTime < waitTime) { in waitForPmResponsive()
80 long startTime = System.currentTimeMillis(); in postOnlineCheck() local
84 long elapsedTime = System.currentTimeMillis() - startTime; in postOnlineCheck()
/tools/tradefederation/contrib/src/com/android/performance/tests/
DHermeticLaunchTest.java657 .startTime; in averageAtraceData()
658 if (drawStartTime < secPeriod.startTime) { in averageAtraceData()
720 private double startTime; field in HermeticLaunchTest.SectionPeriod
724 public SectionPeriod(double startTime, double endTime) { in SectionPeriod() argument
725 this.startTime = startTime; in SectionPeriod()
727 this.duration = endTime - startTime; in SectionPeriod()
731 return startTime; in getStartTime()
734 public void setStartTime(long startTime) { in setStartTime() argument
735 this.startTime = startTime; in setStartTime()
/tools/tradefederation/core/src/com/android/tradefed/result/
DLogcatCrashResultForwarder.java62 public void testStarted(TestDescription test, long startTime) { in testStarted() argument
63 mStartTime = startTime; in testStarted()
64 super.testStarted(test, startTime); in testStarted()
122 private String extractCrashAndAddToMessage(String errorMessage, Long startTime) { in extractCrashAndAddToMessage() argument
123 if (isCrash(errorMessage) && startTime != null) { in extractCrashAndAddToMessage()
124 mLogcatItem = extractLogcat(mDevice, startTime); in extractCrashAndAddToMessage()
141 private LogcatItem extractLogcat(ITestDevice device, long startTime) { in extractLogcat() argument
142 try (InputStreamSource logSource = device.getLogcatSince(startTime)) { in extractLogcat()
DCollectingTestListener.java189 public void testRunStarted(String name, int numTests, int attemptNumber, long startTime) { in testRunStarted() argument
219 result.testRunStarted(name, numTests, startTime); in testRunStarted()
235 mCurrentTestRunResult.testRunStarted(name, numTests, startTime); in testRunStarted()
276 public void testStarted(TestDescription test, long startTime) { in testStarted() argument
278 mCurrentTestRunResult.testStarted(test, startTime); in testStarted()
DResultForwarder.java198 public void testRunStarted(String runName, int testCount, int attemptNumber, long startTime) { in testRunStarted() argument
201 listener.testRunStarted(runName, testCount, attemptNumber, startTime); in testRunStarted()
273 public void testStarted(TestDescription test, long startTime) { in testStarted() argument
276 listener.testStarted(test, startTime); in testStarted()
/tools/tradefederation/core/src/com/android/tradefed/result/proto/
DProtoResultReporter.java155 Timestamp startTime = createTimeStamp(mInvocationStartTime); in invocationStarted() local
156 mInvocationRecordBuilder.setStartTime(startTime); in invocationStarted()
274 public void testRunStarted(String runName, int testCount, int attemptNumber, long startTime) { in testRunStarted() argument
280 runBuilder.setStartTime(createTimeStamp(startTime)); in testRunStarted()
348 long startTime = timeStampToMillis(runBuilder.getStartTime()); in testRunEnded() local
349 runBuilder.setEndTime(createTimeStamp(startTime + elapsedTimeMillis)); in testRunEnded()
372 public final void testStarted(TestDescription test, long startTime) { in testStarted() argument
377 testBuilder.setStartTime(createTimeStamp(startTime)); in testStarted()
/tools/trebuchet/core/common/src/test/kotlin/trebuchet/model/
DSliceGroupBuilderTest.kt28 it.startTime = 1.0 in testSimpleBuild()
34 assertEquals(1.0, slice.startTime) in testSimpleBuild()
43 it.startTime = 1.0 in testNestedBuild()
47 it.startTime = 1.1 in testNestedBuild()
53 assertEquals(1.1, child.startTime) in testNestedBuild()
60 assertEquals(1.0, slice.startTime) in testNestedBuild()
/tools/trebuchet/core/model/src/main/kotlin/trebuchet/model/fragments/
DSliceGroupBuilder.kt60 class MutableSliceGroup(override var startTime: Double = Double.NaN, variable in trebuchet.model.fragments.SliceGroupBuilder.MutableSliceGroup
73 if (!startTime.isFinite() || startTime < 0) { in validate()
74 throw IllegalStateException("Invalid startTime $startTime") in validate()
79 if (endTime < startTime) { in validate()
80 … throw IllegalStateException("endTime $endTime cannot be before startTime $startTime") in validate()
/tools/trebuchet/trebuchet/analyzer/src/
DAnalyzer.kt46 val startupDuration = end.endTime - start.startTime in measureStartup()
58 …val cutoff = if (index < latchBuffers.size - 1) latchBuffers[index + 1].startTime else Double.MAX_… in measureRotator()
61 && it.startTime > slice.endTime in measureRotator()
65 val duration = retire.endTime - slice.startTime in measureRotator()
68 latchStart = slice.startTime in measureRotator()
69 retireStart = retire.startTime in measureRotator()
/tools/trebuchet/trebuchet/startup-summarizer/src/
DStartupSummarizer.kt195 …tartupTimeStandardDeviation) = averageAndStandardDeviation(records.map {it.endTime - it.startTime}) in printSampleSetPlainText()
196 …iceStandardDeviation) = averageAndStandardDeviation(records.map {it.firstSliceTime - it.startTime}) in printSampleSetPlainText()
207 …rdDeviation) = averageAndStandardDeviation(records.map { it.reportFullyDrawnTime!! - it.startTime}) in printSampleSetPlainText()
305 …tartupTimeStandardDeviation) = averageAndStandardDeviation(records.map {it.endTime - it.startTime}) in printSampleSetCSV()
308 …iceStandardDeviation) = averageAndStandardDeviation(records.map {it.firstSliceTime - it.startTime}) in printSampleSetCSV()
312 …rdDeviation) = averageAndStandardDeviation(records.map { it.reportFullyDrawnTime!! - it.startTime}) in printSampleSetCSV()
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/
DITestSuite.java461 long startTime = System.currentTimeMillis(); in stageTestArtifacts() local
486 long elapsedTime = System.currentTimeMillis() - startTime; in stageTestArtifacts()
810 long startTime = System.currentTimeMillis(); in runPreModuleCheck() local
848 reportModuleCheckerResult(MODULE_CHECKER_PRE, moduleName, failures, startTime, listener); in runPreModuleCheck()
861 long startTime = System.currentTimeMillis(); in runPostModuleCheck() local
896 reportModuleCheckerResult(MODULE_CHECKER_POST, moduleName, failures, startTime, listener); in runPostModuleCheck()
904 long startTime, in reportModuleCheckerResult() argument
916 System.currentTimeMillis() - startTime, new HashMap<String, Metric>()); in reportModuleCheckerResult()
DModuleListener.java69 public void testRunStarted(String name, int numTests, int attemptNumber, long startTime) { in testRunStarted() argument
77 super.testRunStarted(name, numTests, attemptNumber, startTime); in testRunStarted()
112 public void testStarted(TestDescription test, long startTime) { in testStarted() argument
118 super.testStarted(test, startTime); in testStarted()
/tools/tradefederation/core/src/com/android/tradefed/retry/
DResultAggregator.java199 public void testRunStarted(String name, int testCount, int attemptNumber, long startTime) { in testRunStarted() argument
225 super.testRunStarted(name, testCount, attemptNumber, startTime); in testRunStarted()
226 mDetailedForwarder.testRunStarted(name, testCount, attemptNumber, startTime); in testRunStarted()
242 public void testStarted(TestDescription test, long startTime) { in testStarted() argument
243 super.testStarted(test, startTime); in testStarted()
244 mDetailedForwarder.testStarted(test, startTime); in testStarted()
/tools/tradefederation/core/src/com/android/tradefed/util/
DSubprocessEventHelper.java91 public TestRunStartedEventInfo(String runName, int testCount, int attempt, long startTime) { in TestRunStartedEventInfo() argument
95 mStartTime = startTime; in TestRunStartedEventInfo()
406 public TestStartedEventInfo(String className, String testName, Long startTime) { in TestStartedEventInfo() argument
408 mStartTime = startTime; in TestStartedEventInfo()
611 public InvocationStartedEventInfo(String testTag, Long startTime) { in InvocationStartedEventInfo() argument
613 mStartTime = startTime; in InvocationStartedEventInfo()
/tools/test/graphicsbenchmark/performance_tests/hostside/src/com/android/game/qualification/metric/
DGameQualificationFpsCollector.java269 long startTime = 0L; in doEnd() local
293 if (startTime != 0) { in doEnd()
294 … processTimestampsSlice(summaryBuilder, runIndex++, startTime, endTime, outputFile); in doEnd()
296 startTime = endTime; in doEnd()
302 startTime, in doEnd()
/tools/loganalysis/src/com/android/loganalysis/item/
DDmesgStageInfoItem.java49 public DmesgStageInfoItem(String name, Long startTime, Long duration) { in DmesgStageInfoItem() argument
52 setAttribute(STAGE_START_TIME, startTime); in DmesgStageInfoItem()
80 public void setStartTime(Long startTime) { in setStartTime() argument
81 setAttribute(STAGE_START_TIME, startTime); in setStartTime()
DDmesgActionInfoItem.java49 public DmesgActionInfoItem(String source, String name, Long startTime) { in DmesgActionInfoItem() argument
53 setAttribute(ACTION_START_TIME, startTime); in DmesgActionInfoItem()
94 public void setStartTime(Long startTime) { in setStartTime() argument
95 setAttribute(ACTION_START_TIME, startTime); in setStartTime()
/tools/tradefederation/contrib/src/com/android/wireless/tests/
DRadioHelper.java135 long startTime = System.currentTimeMillis(); in radioActivation() local
136 while ((System.currentTimeMillis() - startTime) < ACTIVATION_WAITING_TIME) { in radioActivation()
152 long startTime = System.currentTimeMillis(); in waitForDataSetup() local
153 while ((System.currentTimeMillis() - startTime) < MAX_DATA_SETUP_TIME) { in waitForDataSetup()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/
DNativeStressTest.java168 long startTime = System.currentTimeMillis(); in doRunAllTestsInSubdirectory() local
187 reportTestCompleted(startTime, listener, resultParser); in doRunAllTestsInSubdirectory()
194 long startTime, ITestInvocationListener listener, NativeStressTestParser parser) { in reportTestCompleted() argument
195 final long elapsedTime = System.currentTimeMillis() - startTime; in reportTestCompleted()
/tools/tradefederation/core/src/com/android/tradefed/testtype/
DDeviceBatteryLevelChecker.java121 long startTime = System.currentTimeMillis(); in run() local
166 System.currentTimeMillis() - startTime, new HashMap<String, Metric>()); in run()
246 long startTime = System.currentTimeMillis(); in runBatteryCharging() local
255 if (System.currentTimeMillis() - startTime > mMaxRunTime) { in runBatteryCharging()

12345