Home
last modified time | relevance | path

Searched refs:timer1 (Results 1 – 2 of 2) sorted by relevance

/packages/apps/DeskClock/tests/src/com/android/deskclock/timer/
DTimerServiceTest.java74 Timer timer1 = dataModel.addTimer(60000L, null, false); in verifyIntentsHonored_whileTimersFire()
76 dataModel.startTimer(timer1); in verifyIntentsHonored_whileTimersFire()
78 timer1 = dataModel.getTimer(timer1.getId()); in verifyIntentsHonored_whileTimersFire()
82 dataModel.expireTimer(null, timer1); in verifyIntentsHonored_whileTimersFire()
96 dataModel.resetTimer(dataModel.getTimer(timer1.getId())); in verifyIntentsHonored_whileTimersFire()
/packages/apps/DeskClock/src/com/android/deskclock/data/
DTimer.kt346 var ID_COMPARATOR = Comparator<Timer> { timer1, timer2 -> timer2.id.compareTo(timer1.id) } in <lambda>() method
363 override fun compare(timer1: Timer, timer2: Timer): Int { in <lambda>()
364 val stateIndex1 = stateExpiryOrder.indexOf(timer1.state) in <lambda>()
369 val state = timer1.state in <lambda>()
371 timer1.length.compareTo(timer2.length) in <lambda>()
373 timer1.lastRemainingTime.compareTo(timer2.lastRemainingTime) in <lambda>()