Searched refs:getNextTimeMillis (Results 1 – 2 of 2) sorted by relevance
/frameworks/ex/common/tests/src/com/android/common/ |
D | OperationSchedulerTest.java | 49 assertEquals(Long.MAX_VALUE, scheduler.getNextTimeMillis(options)); in testScheduler() 55 assertEquals(beforeTrigger + 1000000, scheduler.getNextTimeMillis(options)); in testScheduler() 59 assertEquals(beforeTrigger + 1000000, scheduler.getNextTimeMillis(options)); in testScheduler() 61 assertEquals(beforeTrigger + 1500000, scheduler.getNextTimeMillis(options)); in testScheduler() 65 assertEquals(Long.MAX_VALUE, scheduler.getNextTimeMillis(options)); in testScheduler() 67 assertEquals(beforeTrigger + 1500000, scheduler.getNextTimeMillis(options)); in testScheduler() 74 assertEquals(beforeTrigger + 1500000, scheduler.getNextTimeMillis(options)); in testScheduler() 77 assertEquals(beforeError + 1500000, scheduler.getNextTimeMillis(options)); in testScheduler() 83 assertEquals(beforeError + 2000000, scheduler.getNextTimeMillis(options)); in testScheduler() 88 assertEquals(beforeTrigger + 1500000, scheduler.getNextTimeMillis(options)); in testScheduler() [all …]
|
/frameworks/ex/common/java/com/android/common/ |
D | OperationScheduler.java | 150 public long getNextTimeMillis(Options options) { in getNextTimeMillis() method in OperationScheduler
|