Home
last modified time | relevance | path

Searched refs:getLast (Results 1 – 3 of 3) sorted by relevance

/cts/tests/AlarmManager/src/android/alarmmanager/cts/
DAppStandbyTests.java207 final long minTriggerTime = sAlarmHistory.getLast(1) + APP_STANDBY_DELAYS[bucketIndex]; in testBucketDelay()
277 final long workingSetExpectedTrigger = sAlarmHistory.getLast(1) in testBucketUpgradeToSmallerDelay()
304 final long triggerTime1 = sAlarmHistory.getLast(1) + APP_STANDBY_DELAYS[FREQUENT_INDEX]; in testBucketUpgradeToNoDelay()
315 final long triggerTime2 = sAlarmHistory.getLast(1) + APP_STANDBY_DELAYS[FREQUENT_INDEX]; in testBucketUpgradeToNoDelay()
328 final long freshWindowPoint = sAlarmHistory.getLast(1) + APP_STANDBY_WINDOW + 1; in testSimpleQuotaDeferral()
407 scheduleAlarm(sAlarmHistory.getLast(1) + 7_000, true, 0); in testAllowWhileIdleAlarms()
412 long expectedTriggerTime = sAlarmHistory.getLast(1) + ALLOW_WHILE_IDLE_SHORT_TIME; in testAllowWhileIdleAlarms()
417 scheduleAlarm(sAlarmHistory.getLast(1) + 7_000, true, 0); in testAllowWhileIdleAlarms()
422 expectedTriggerTime = sAlarmHistory.getLast(1) + APP_STANDBY_DELAYS[RARE_INDEX]; in testAllowWhileIdleAlarms()
526 private synchronized long getLast(int x) { in getLast() method in AppStandbyTests.TestAlarmHistory
/cts/tests/framework/base/windowmanager/src/android/server/wm/intent/
DLaunchRunner.java25 import static com.google.common.collect.Iterables.getLast;
108 StateDump setupStateDump = waitDumpAndTrimForVerification(getLast(activityLog), in verify()
123 StateDump endStateDump = waitDumpAndTrimForVerification(getLast(activityLog), in verify()
196 StateDump initialDump = waitDumpAndTrim(getLast(activityLog)); in run()
208 StateDump endDump = waitDumpAndTrim(getLast(activityLog)); in run()
/cts/tests/tests/media/src/android/media/cts/
DMediaPlayerTest.java1408 } while (timestamps.getLast().getMediaClockRate() != 1.0f); in testMediaTimeDiscontinuity()
1417 } while (timestamps.getLast().getMediaClockRate() != 1.0f); in testMediaTimeDiscontinuity()
1424 } while (timestamps.getLast().getMediaClockRate() != 0.5f); in testMediaTimeDiscontinuity()
1431 } while (timestamps.getLast().getMediaClockRate() != 0.0f); in testMediaTimeDiscontinuity()