Home
last modified time | relevance | path

Searched refs:timerId (Results 1 – 18 of 18) sorted by relevance

/packages/apps/DeskClock/src/com/android/deskclock/timer/
DTimerService.kt72 val timerId = intent.getIntExtra(EXTRA_TIMER_ID, -1) in onStartCommand() constant
74 val timer: Timer = DataModel.dataModel.getTimer(timerId) ?: return START_NOT_STICKY in onStartCommand()
86 .putExtra(EXTRA_TIMER_ID, timerId) in onStartCommand()
144 val timerId = timer?.id ?: -1 in createTimerExpiredIntent() constant
147 .putExtra(EXTRA_TIMER_ID, timerId) in createTimerExpiredIntent()
165 fun createAddMinuteTimerIntent(context: Context, timerId: Int): Intent { in createAddMinuteTimerIntent()
168 .putExtra(EXTRA_TIMER_ID, timerId) in createAddMinuteTimerIntent()
DTimerService.java74 final int timerId = timer == null ? -1 : timer.getId(); in createTimerExpiredIntent() local
77 .putExtra(EXTRA_TIMER_ID, timerId); in createTimerExpiredIntent()
96 public static Intent createAddMinuteTimerIntent(Context context, int timerId) { in createAddMinuteTimerIntent() argument
99 .putExtra(EXTRA_TIMER_ID, timerId); in createAddMinuteTimerIntent()
140 final int timerId = intent.getIntExtra(EXTRA_TIMER_ID, -1); in onStartCommand() local
141 final Timer timer = DataModel.getDataModel().getTimer(timerId); in onStartCommand()
160 .putExtra(EXTRA_TIMER_ID, timerId) in onStartCommand()
DExpiredTimersActivity.kt155 val timerId: Int = timer.id in addTimer() constant
159 timerItem.id = timerId in addTimer()
170 val timer: Timer = DataModel.dataModel.getTimer(timerId)!! in addTimer()
189 val timerId: Int = timer.id in removeTimer() constant
193 if (timerView.id == timerId) { in removeTimer()
DExpiredTimersActivity.java164 final int timerId = timer.getId(); in addTimer() local
168 timerItem.setId(timerId); in addTimer()
181 final Timer timer = DataModel.getDataModel().getTimer(timerId); in addTimer()
201 final int timerId = timer.getId(); in removeTimer() local
205 if (timerView.getId() == timerId) { in removeTimer()
DTimerItemFragment.kt35 var timerId = 0 variable in com.android.deskclock.timer.TimerItemFragment
41 timerId = arguments.getInt(KEY_TIMER_ID) in onCreate()
75 get() = DataModel.dataModel.getTimer(timerId)
DTimerReceiver.kt37 val timerId = intent.getIntExtra("timer.intent.extra", -1) in onReceive() constant
38 val timer: Timer? = DataModel.dataModel.getTimer(timerId) in onReceive()
DTimerReceiver.java38 final int timerId = intent.getIntExtra("timer.intent.extra", -1); in onReceive() local
39 final Timer timer = DataModel.getDataModel().getTimer(timerId); in onReceive()
DTimerPagerAdapter.kt102 mFragments.remove(fragment.timerId) in destroyItem()
/packages/apps/Dialer/java/com/android/dialer/metrics/
DStubMetrics.java68 public void stopUnnamedTimer(int timerId, String timerEventName) { in stopUnnamedTimer() argument
71 unnamedEvents.remove(timerId), in stopUnnamedTimer()
73 timerId, in stopUnnamedTimer()
DFutureTimer.java104 Integer timerId = metrics.startUnnamedTimer(); in applyTiming() local
111 if (timerId != null) { in applyTiming()
112 metrics.stopUnnamedTimer(timerId, eventName); in applyTiming()
DMetrics.java90 void stopUnnamedTimer(int timerId, String timerEventName); in stopUnnamedTimer() argument
/packages/apps/DeskClock/src/com/android/deskclock/data/
DTimerDAO.kt66 for (timerId in timerIds) { in getTimers() constant
67 val id = timerId.toInt() in getTimers()
DTimerDAO.java78 for (String timerId : timerIds) { in getTimers()
79 final int id = Integer.parseInt(timerId); in getTimers()
DTimerModel.kt154 fun getTimer(timerId: Int): Timer? { in getTimer()
156 if (timer.id == timerId) { in getTimer()
DTimerModel.java190 Timer getTimer(int timerId) { in getTimer() argument
192 if (timer.getId() == timerId) { in getTimer()
DDataModel.java449 public Timer getTimer(int timerId) { in getTimer() argument
451 return mTimerModel.getTimer(timerId); in getTimer()
DDataModel.kt436 fun getTimer(timerId: Int): Timer? { in getTimer()
438 return mTimerModel?.getTimer(timerId) in getTimer()
/packages/apps/DeskClock/src/com/android/deskclock/
DHandleApiCalls.java424 final int timerId = (int) ContentUris.parseId(dataUri); in getSelectedTimer() local
425 return DataModel.getDataModel().getTimer(timerId); in getSelectedTimer()