/tools/tradefederation/core/tests/src/com/android/tradefed/result/suite/ |
D | XmlSuiteResultFormatterTest.java | 102 mResultHolder.endTime = 10L; in testBasicFormat() 154 mResultHolder.endTime = 10L; in testFailuresReporting() 181 assertEquals(holder.endTime, mResultHolder.endTime); in testFailuresReporting() 206 mResultHolder.endTime = 10L; in testFailuresReporting_notDone() 235 assertEquals(holder.endTime, mResultHolder.endTime); in testFailuresReporting_notDone() 262 mResultHolder.endTime = 10L; in testAssumptionFailures_Ignore_Reporting() 290 assertEquals(holder.endTime, mResultHolder.endTime); in testAssumptionFailures_Ignore_Reporting() 325 mResultHolder.endTime = 10L; in testLogReporting() 374 mResultHolder.endTime = 10L; in testMetricReporting() 397 assertEquals(holder.endTime, mResultHolder.endTime); in testMetricReporting() [all …]
|
/tools/trebuchet/trebuchet/startup-common/src/ |
D | StartupCommon.kt | 53 val endTime : Double, in <lambda>() constant 142 …Proc = this.findProcess(newProcName, systemServerSlice.startTime, systemServerSlice.endTime) in Model() 143 …stSlice(SLICE_NAME_PROC_START, newProcName, systemServerSlice.startTime, systemServerSlice.endTime) in Model() 152 schedSlice.startTime >= systemServerSlice.endTime -> return@schedLoop in Model() 153 …schedSlice.endTime <= systemServerSlice.endTime -> schedSliceInfo[schedSlice.state] = origVal + … 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() 193 if (slice.endTime <= systemServerSlice.endTime) { in Model() 239 systemServerSlice.endTime, in Model()
|
/tools/trebuchet/core/model/src/main/kotlin/trebuchet/model/fragments/ |
D | SliceGroupBuilder.kt | 50 it.endTime = maxTimestamp in autoCloseOpenSlices() 61 override var endTime: Double = Double.NaN, variable in trebuchet.model.fragments.SliceGroupBuilder.MutableSliceGroup 76 if (!endTime.isFinite() || endTime < 0) { in validate() 77 throw IllegalStateException("Invalid endTime $endTime") in validate() 79 if (endTime < startTime) { in validate() 80 … throw IllegalStateException("endTime $endTime cannot be before startTime $startTime") in validate()
|
D | AsyncSlicesBuilder.kt | 24 override var endTime: Double, variable in trebuchet.model.fragments.AsyncSlice 45 fun closeAsyncSlice(pid: Int, name: String, cookie: Int, endTime: Double) { in closeAsyncSlice() 47 slice.endTime = endTime in closeAsyncSlice() 55 slice.endTime = maxTimestamp in autoCloseOpenSlices()
|
D | SchedulingProcessFragment.kt | 22 override var endTime: Double = Double.MAX_VALUE variable in trebuchet.model.fragments.SchedulingProcessFragment 29 if (_slices.last().endTime == Double.MAX_VALUE) { in switchProcess() 30 _slices.last().endTime = timestamp in switchProcess() 62 override val didNotFinish: Boolean get() = endTime == Double.MAX_VALUE
|
D | SchedulingSliceFragment.kt | 25 override var endTime: Double = Double.MAX_VALUE variable in trebuchet.model.fragments.SchedulingSliceFragment 38 _slices.last().endTime = timestamp in switchState()
|
/tools/tradefederation/contrib/src/com/android/performance/tests/ |
D | HermeticLaunchTest.java | 721 private double endTime; field in HermeticLaunchTest.SectionPeriod 724 public SectionPeriod(double startTime, double endTime) { in SectionPeriod() argument 726 this.endTime = endTime; in SectionPeriod() 727 this.duration = endTime - startTime; in SectionPeriod() 739 return endTime; in getEndTime() 742 public void setEndTime(long endTime) { in setEndTime() argument 743 this.endTime = endTime; in setEndTime()
|
/tools/trebuchet/core/common/src/test/kotlin/trebuchet/model/ |
D | SliceGroupBuilderTest.kt | 32 it.endTime = 2.0 in testSimpleBuild() 35 assertEquals(2.0, slice.endTime) in testSimpleBuild() 51 it.endTime = 1.2 in testNestedBuild() 54 assertEquals(1.2, child.endTime) in testNestedBuild() 58 it.endTime = 2.0 in testNestedBuild() 61 assertEquals(2.0, slice.endTime) in testNestedBuild()
|
/tools/tradefederation/core/src/com/android/tradefed/result/ |
D | TestResultListener.java | 87 TestDescription test, long endTime, Map<String, String> testMetrics) { in testEnded() argument 89 reportTestFinish(test, endTime); in testEnded() 94 TestDescription test, long endTime, HashMap<String, Metric> testMetrics) { in testEnded() argument 96 reportTestFinish(test, endTime); in testEnded() 114 private void reportTestFinish(TestDescription test, long endTime) { in reportTestFinish() argument 120 mCurrentResult.setEndTime(endTime); in reportTestFinish()
|
D | FilteredResultForwarder.java | 63 public void testEnded(TestDescription test, long endTime, HashMap<String, Metric> testMetrics) { in testEnded() argument 67 super.testEnded(test, endTime, testMetrics); in testEnded() 71 public void testEnded(TestDescription test, long endTime, Map<String, String> testMetrics) { in testEnded() argument 75 super.testEnded(test, endTime, testMetrics); in testEnded()
|
/tools/tradefederation/core/src/com/android/tradefed/util/ |
D | Sl4aBluetoothUtil.java | 614 long endTime = System.currentTimeMillis() + mBtPairTimeoutMs; in waitUntilPaired() local 615 while (System.currentTimeMillis() < endTime) { in waitUntilPaired() 667 long endTime = System.currentTimeMillis() + mBtConnectionTimeoutMs; in waitForRemainingProfilesConnected() local 668 while (System.currentTimeMillis() < endTime in waitForRemainingProfilesConnected() 690 long endTime = System.currentTimeMillis() + mBtConnectionTimeoutMs; in waitForRemainingProfilesDisconnected() local 691 while (System.currentTimeMillis() < endTime in waitForRemainingProfilesDisconnected()
|
/tools/trebuchet/trebuchet/analyzer/src/ |
D | Analyzer.kt | 46 val startupDuration = end.endTime - start.startTime in measureStartup() 61 && it.startTime > slice.endTime in measureRotator() 62 && it.endTime < cutoff in measureRotator() 65 val duration = retire.endTime - slice.startTime in measureRotator()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/mobly/ |
D | MoblyYamlResultRecordHandler.java | 58 String endTime, in Record() argument 64 mEndTime = Long.parseLong(endTime); in Record() 131 public Builder setEndTime(String endTime) { in setEndTime() argument 132 mEndTime = endTime; in setEndTime()
|
/tools/tradefederation/core/src/com/android/tradefed/result/suite/ |
D | XmlSuiteResultFormatter.java | 129 public long endTime; field in XmlSuiteResultFormatter.RunHistory 206 serializer.attribute(NS, END_TIME_ATTR, String.valueOf(holder.endTime)); in writeResults() 208 serializer.attribute(NS, END_DISPLAY_TIME_ATTR, toReadableDateString(holder.endTime)); in writeResults() 262 serializer.attribute(NS, END_TIME_ATTR, String.valueOf(runHistory.endTime)); in writeResults() 477 invocation.endTime = Long.valueOf(parser.getAttributeValue(NS, END_TIME_ATTR)); in parseResults()
|
/tools/tradefederation/core/src/com/android/tradefed/postprocessor/ |
D | BasePostProcessor.java | 225 TestDescription test, long endTime, Map<String, String> testMetrics) { in testEnded() argument 226 testEnded(test, endTime, TfMetricProtoUtil.upgradeConvert(testMetrics)); in testEnded() 236 TestDescription test, long endTime, HashMap<String, Metric> testMetrics) { in testEnded() argument 271 mForwarder.testEnded(test, endTime, testMetrics); in testEnded()
|
/tools/tradefederation/core/src/com/android/tradefed/result/proto/ |
D | ProtoResultReporter.java | 199 Timestamp endTime = createTimeStamp(mInvocationStartTime + elapsedTime); in invocationEnded() local 200 mInvocationRecordBuilder.setEndTime(endTime); in invocationEnded() 396 TestDescription test, long endTime, HashMap<String, Metric> testMetrics) { in testEnded() argument 398 testBuilder.setEndTime(createTimeStamp(endTime)); in testEnded()
|
/tools/tradefederation/core/src/com/android/tradefed/invoker/ |
D | RemoteInvocationExecution.java | 416 Long endTime = null; in isStillRunning() local 418 endTime = System.currentTimeMillis() + maxTimeout; in isStillRunning() 483 if (endTime != null && System.currentTimeMillis() > endTime) { in isStillRunning()
|
/tools/tradefederation/core/test_result_interfaces/com/android/tradefed/result/ |
D | ITestLifeCycleReceiver.java | 227 TestDescription test, long endTime, Map<String, String> testMetrics) { in testEnded() argument 228 testEnded(test, endTime, TfMetricProtoUtil.upgradeConvert(testMetrics)); in testEnded() 240 TestDescription test, long endTime, HashMap<String, Metric> testMetrics) { in testEnded() argument
|
/tools/test/graphicsbenchmark/performance_tests/hostside/src/com/android/game/qualification/metric/ |
D | GameQualificationFpsCollector.java | 291 long endTime = e.getTimestamp() * 1000000; /* ms to ns */ in doEnd() local 294 … processTimestampsSlice(summaryBuilder, runIndex++, startTime, endTime, outputFile); in doEnd() 296 startTime = endTime; in doEnd()
|
/tools/tradefederation/core/src/com/android/tradefed/retry/ |
D | ResultAggregator.java | 272 public void testEnded(TestDescription test, long endTime, HashMap<String, Metric> testMetrics) { in testEnded() argument 273 super.testEnded(test, endTime, testMetrics); in testEnded() 274 mDetailedForwarder.testEnded(test, endTime, testMetrics); in testEnded()
|
/tools/tradefederation/contrib/src/com/android/media/tests/ |
D | CameraTestBase.java | 290 TestDescription test, long endTime, HashMap<String, Metric> testMetrics) { in testEnded() argument 291 super.testEnded(test, endTime, testMetrics); in testEnded() 294 mListener.testEnded(test, endTime, testMetrics); in testEnded()
|
/tools/trebuchet/core/model/src/main/kotlin/trebuchet/model/base/ |
D | Slice.kt | 27 val endTime: Double constant 34 val duration: Double get() = endTime - startTime
|
/tools/loganalysis/src/com/android/loganalysis/item/ |
D | DmesgServiceInfoItem.java | 85 public void setEndTime(Long endTime) { in setEndTime() argument 86 setAttribute(SERVICE_END_TIME, endTime); in setEndTime()
|
D | GenericTimingItem.java | 68 public void setStartAndEnd(double startTime, double endTime) { in setStartAndEnd() argument 70 setAttribute(END_TIME, endTime); in setStartAndEnd()
|
/tools/trebuchet/trebuchet/viewer/src/main/kotlin/traceviewer/ui/tracks/ |
D | SliceTrack.kt | 52 val scaledWidth = (it.endTime - it.startTime) * scale in paintComponent() 91 it.endTime < timestamp -> -1 in <lambda>()
|