Home
last modified time | relevance | path

Searched refs:addTimer (Results 1 – 16 of 16) sorted by relevance

/packages/apps/DeskClock/src/com/android/deskclock/timer/
DExpiredTimersActivity.kt95 addTimer(timer) in onCreate()
152 private fun addTimer(timer: Timer) { in addTimer() method
271 addTimer(timer) in timerAdded()
277 addTimer(after) in timerUpdated()
DExpiredTimersActivity.java100 addTimer(timer); in onCreate()
161 private void addTimer(Timer timer) { in addTimer() method in ExpiredTimersActivity
289 addTimer(timer); in timerAdded()
296 addTimer(after); in timerUpdated()
DTimerFragment.kt331 val timer: Timer = DataModel.dataModel.addTimer(timerLength, "", false) in onFabClick()
DTimerFragment.java370 final Timer timer = DataModel.getDataModel().addTimer(timerLength, "", false); in onFabClick()
/packages/apps/DeskClock/tests/src/com/android/deskclock/timer/
DTimerServiceTest.java74 Timer timer1 = dataModel.addTimer(60000L, null, false); in verifyIntentsHonored_whileTimersFire()
75 Timer timer2 = dataModel.addTimer(60000L, null, false); in verifyIntentsHonored_whileTimersFire()
111 Timer timer = dataModel.addTimer(60000L, null, false); in verifyIntentsHonored_ifNoTimersAreExpired()
DTimerSetupViewTest.java117 Timer timer = DataModel.getDataModel().addTimer(5000L, "", false); in validateDefaultState_TimersExist()
140 Timer timer = DataModel.getDataModel().addTimer(5000L, "", false); in type0InDefaultState_TimersExist()
195 Timer timer = DataModel.getDataModel().addTimer(5000L, "", false); in fillDisplayThenDeleteAll_TimersExist()
223 Timer timer = DataModel.getDataModel().addTimer(5000L, "", false); in fillDisplayWith9s_TimersExist()
DTimerFragmentTest.java89 DataModel.getDataModel().addTimer(60000L, null, false); in setUpSingleTimer()
97 DataModel.getDataModel().addTimer(60000L, null, false); in setUpTwoTimers()
98 DataModel.getDataModel().addTimer(90000L, null, false); in setUpTwoTimers()
DExpiredTimersActivityTest.java54 Timer timer = dm.addTimer(60000L, "", false); in configurationChanges_DoNotResetFiringTimer()
DTimerItemFragmentTest.java57 Timer timer = DataModel.getDataModel().addTimer(5000L, "", false); in ensureTimerIsHeldSuccessfully_whenOneTimerIsRunning()
/packages/apps/DeskClock/src/com/android/deskclock/data/
DTimerModel.kt180 fun addTimer(length: Long, label: String?, deleteAfterUse: Boolean): Timer { in addTimer() method
187 timer = TimerDAO.addTimer(mPrefs, timer) in addTimer()
DTimerModel.java215 Timer addTimer(long length, String label, boolean deleteAfterUse) { in addTimer() method in TimerModel
221 timer = TimerDAO.addTimer(mPrefs, timer); in addTimer()
DDataModel.java469 public Timer addTimer(long length, String label, boolean deleteAfterUse) { in addTimer() method in DataModel
471 return mTimerModel.addTimer(length, label, deleteAfterUse); in addTimer()
DDataModel.kt457 fun addTimer(length: Long, label: String?, deleteAfterUse: Boolean): Timer { in addTimer() method
459 return mTimerModel!!.addTimer(length, label, deleteAfterUse) in addTimer()
DTimerDAO.kt93 fun addTimer(prefs: SharedPreferences, timer: Timer): Timer { in addTimer() method
DTimerDAO.java105 static Timer addTimer(SharedPreferences prefs, Timer timer) { in addTimer() method in TimerDAO
/packages/apps/DeskClock/src/com/android/deskclock/
DHandleApiCalls.java492 timer = DataModel.getDataModel().addTimer(lengthMillis, label, skipUi); in handleSetTimer()