Home
last modified time | relevance | path

Searched refs:totalDuration (Results 1 – 4 of 4) sorted by relevance

/cts/hostsidetests/incident/src/com/android/server/cts/
DBatteryStatsIncidentTest.java296 long totalDuration = t.getTotalDurationMs(); in testTimerProto() local
303 assertTrue(0 <= totalDuration); in testTimerProto()
307 if (totalDuration > 0) { in testTimerProto()
308 assertTrue(maxDuration <= totalDuration); in testTimerProto()
309 assertTrue("Duration " + duration + " is greater than totalDuration " + totalDuration, in testTimerProto()
310 duration <= totalDuration); in testTimerProto()
/cts/hostsidetests/statsd/src/android/cts/statsd/metric/
DDurationMetricsTests.java213 long totalDuration = durationData.getData(0).getBucketInfoList().stream() in testDurationMetricWithCondition() local
217 assertThat(totalDuration).isIn(Range.open((long)2e9, (long)3e9)); in testDurationMetricWithCondition()
306 long totalDuration = durationData.getData(0).getBucketInfoList().stream() in testDurationMetricWithActivation() local
310 assertThat(totalDuration).isIn(Range.open((long)2e9, (long)3e9)); in testDurationMetricWithActivation()
483 long totalDuration = durationData.getData(0).getBucketInfoList().stream() in testDurationMetricWithConditionAndActivation() local
487 assertThat(totalDuration).isIn(Range.open((long)4e9, (long)5e9)); in testDurationMetricWithConditionAndActivation()
/cts/hostsidetests/dumpsys/src/android/dumpsys/cts/
DBatteryStatsDumpsysTest.java793 long totalDuration = numparts[13] - numparts[1]; in validateProfileData() local
795 totalDuration > 0); in validateProfileData()
797 totalDuration < 100000000000L); in validateProfileData()
/cts/tests/tests/animation/src/android/animation/cts/
DAnimatorSetTest.java154 long totalDuration = set.getTotalDuration(); in verifySequentialPlayOrder() local
165 assertTrue(endLatch.await(totalDuration * 2, TimeUnit.MILLISECONDS)); in verifySequentialPlayOrder()
199 assertTrue(endLatch.await(totalDuration * 2, TimeUnit.MILLISECONDS)); in verifySequentialPlayOrder()