Home
last modified time | relevance | path

Searched refs:addTimer (Results 1 – 11 of 11) 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()
DTimerFragment.kt330 val timer: Timer = DataModel.dataModel.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.java118 Timer timer = DataModel.getDataModel().addTimer(5000L, "", false); in validateDefaultState_TimersExist()
141 Timer timer = DataModel.getDataModel().addTimer(5000L, "", false); in type0InDefaultState_TimersExist()
196 Timer timer = DataModel.getDataModel().addTimer(5000L, "", false); in fillDisplayThenDeleteAll_TimersExist()
224 Timer timer = DataModel.getDataModel().addTimer(5000L, "", false); in fillDisplayWith9s_TimersExist()
DExpiredTimersActivityTest.java54 Timer timer = dm.addTimer(60000L, "", false); in configurationChanges_DoNotResetFiringTimer()
DTimerItemFragmentTest.java57 Timer timer = DataModel.getDataModel().addTimer(5000L, "", false); in ensureTimerIsHeldSuccessfully_whenOneTimerIsRunning()
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()
/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()
DDataModel.kt456 fun addTimer(length: Long, label: String?, deleteAfterUse: Boolean): Timer { in addTimer() method
458 return mTimerModel!!.addTimer(length, label, deleteAfterUse) in addTimer()
DTimerDAO.kt93 fun addTimer(prefs: SharedPreferences, timer: Timer): Timer { in addTimer() method
/packages/apps/DeskClock/src/com/android/deskclock/
DHandleApiCalls.kt403 timer = DataModel.dataModel.addTimer(lengthMillis, label, skipUi) in handleSetTimer()