Home
last modified time | relevance | path

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

/packages/apps/DeskClock/src/com/android/deskclock/uidata/
DPeriodicCallbackModel.kt97 val periodicRunnable = PeriodicRunnable(runnable, period, offset) in addPeriodicCallback() constant
98 mPeriodicRunnables.add(periodicRunnable) in addPeriodicCallback()
99 periodicRunnable.schedule() in addPeriodicCallback()
106 for (periodicRunnable in mPeriodicRunnables) { in removePeriodicCallback() method
107 if (periodicRunnable.mDelegate === runnable) { in removePeriodicCallback()
108 periodicRunnable.unSchedule() in removePeriodicCallback()
109 mPeriodicRunnables.remove(periodicRunnable) in removePeriodicCallback()
151 for (periodicRunnable in mPeriodicRunnables) { in onReceive() method
152 periodicRunnable.runAndReschedule() in onReceive()
DPeriodicCallbackModel.java113 final PeriodicRunnable periodicRunnable = new PeriodicRunnable(runnable, period, offset); in addPeriodicCallback() local
114 mPeriodicRunnables.add(periodicRunnable); in addPeriodicCallback()
115 periodicRunnable.schedule(); in addPeriodicCallback()
122 for (PeriodicRunnable periodicRunnable : mPeriodicRunnables) { in removePeriodicCallback()
123 if (periodicRunnable.mDelegate == runnable) { in removePeriodicCallback()
124 periodicRunnable.unSchedule(); in removePeriodicCallback()
125 mPeriodicRunnables.remove(periodicRunnable); in removePeriodicCallback()
228 for (PeriodicRunnable periodicRunnable : mPeriodicRunnables) { in onReceive()
229 periodicRunnable.runAndReschedule(); in onReceive()