Home
last modified time | relevance | path

Searched refs:AlarmStateManager (Results 1 – 21 of 21) sorted by relevance

/packages/apps/DeskClock/src/com/android/deskclock/alarms/
DAlarmNotifications.java120 Intent hideIntent = AlarmStateManager.createStateChangeIntent(context, in showUpcomingNotification()
121 AlarmStateManager.ALARM_DELETE_TAG, instance, in showUpcomingNotification()
129 Intent dismissIntent = AlarmStateManager.createStateChangeIntent(context, in showUpcomingNotification()
130 AlarmStateManager.ALARM_DISMISS_TAG, instance, AlarmInstance.PREDISMISSED_STATE); in showUpcomingNotification()
294 Intent dismissIntent = AlarmStateManager.createStateChangeIntent(context, in showSnoozeNotification()
295 AlarmStateManager.ALARM_DISMISS_TAG, instance, AlarmInstance.DISMISSED_STATE); in showSnoozeNotification()
341 Intent dismissIntent = AlarmStateManager.createStateChangeIntent(context, in showMissedNotification()
342 AlarmStateManager.ALARM_DISMISS_TAG, instance, AlarmInstance.DISMISSED_STATE); in showMissedNotification()
347 Intent showAndDismiss = AlarmInstance.createIntent(context, AlarmStateManager.class, in showMissedNotification()
350 showAndDismiss.setAction(AlarmStateManager.SHOW_AND_DISMISS_ALARM_ACTION); in showMissedNotification()
[all …]
DAlarmNotifications.kt140 val hideIntent: Intent = AlarmStateManager.createStateChangeIntent(context, in showLowPriorityNotification()
141 AlarmStateManager.ALARM_DELETE_TAG, instance, in showLowPriorityNotification()
148 val dismissIntent: Intent = AlarmStateManager.createStateChangeIntent(context, in showLowPriorityNotification()
149 AlarmStateManager.ALARM_DISMISS_TAG, instance, InstancesColumns.PREDISMISSED_STATE) in showLowPriorityNotification()
202 val dismissIntent: Intent = AlarmStateManager.createStateChangeIntent(context, in showHighPriorityNotification()
203 AlarmStateManager.ALARM_DISMISS_TAG, instance, InstancesColumns.PREDISMISSED_STATE) in showHighPriorityNotification()
407 val dismissIntent: Intent = AlarmStateManager.createStateChangeIntent(context, in showSnoozeNotification()
408 AlarmStateManager.ALARM_DISMISS_TAG, instance, InstancesColumns.DISMISSED_STATE) in showSnoozeNotification()
467 val dismissIntent: Intent = AlarmStateManager.createStateChangeIntent(context, in showMissedNotification()
468 AlarmStateManager.ALARM_DISMISS_TAG, instance, InstancesColumns.DISMISSED_STATE) in showMissedNotification()
[all …]
DAlarmService.java110 AlarmStateManager.setMissedState(this, mCurrentAlarm); in startAlarm()
162 AlarmStateManager.setSnoozeState(context, mCurrentAlarm, true /* showToast */);
167 AlarmStateManager.deleteInstanceAndUpdateParent(context, mCurrentAlarm);
195 case AlarmStateManager.CHANGE_STATE_ACTION: in onStartCommand()
196 AlarmStateManager.handleIntent(this, intent); in onStartCommand()
199 final int alarmState = intent.getIntExtra(AlarmStateManager.ALARM_STATE_EXTRA, -1); in onStartCommand()
262 startService(AlarmStateManager.createStateChangeIntent(AlarmService.this, in onCallStateChanged()
DAlarmService.kt73 AlarmStateManager.setMissedState(this, mCurrentAlarm!!) in startAlarm()
125 AlarmStateManager.setSnoozeState(context, mCurrentAlarm!!, true /* showToast */) in onReceive()
130 AlarmStateManager.deleteInstanceAndUpdateParent(context, mCurrentAlarm!!) in onReceive()
156 AlarmStateManager.CHANGE_STATE_ACTION -> { in onStartCommand()
157 AlarmStateManager.handleIntent(this, intent) in onStartCommand()
160 val alarmState: Int = intent.getIntExtra(AlarmStateManager.ALARM_STATE_EXTRA, -1) in onStartCommand()
218 startService(AlarmStateManager.createStateChangeIntent(this@AlarmService, in onCallStateChanged()
DAlarmUpdateHandler.kt128 AlarmStateManager.deleteAllInstances(mAppContext, alarm.id) in <lambda>()
156 AlarmStateManager.deleteAllInstances(mAppContext, alarm.id) in <lambda>()
205 AlarmStateManager.registerInstance(mAppContext, newInstance, true) in <lambda>()
DAlarmUpdateHandler.java135 AlarmStateManager.deleteAllInstances(mAppContext, alarm.id); in asyncUpdateAlarm()
165 AlarmStateManager.deleteAllInstances(mAppContext, alarm.id); in asyncDeleteAlarm()
219 AlarmStateManager.registerInstance(mAppContext, newInstance, true); in setupAlarmInstance()
DAlarmTimeClickHandler.kt158 val dismissIntent: Intent = AlarmStateManager.createStateChangeIntent( in dismissAlarmInstance()
159 mContext, AlarmStateManager.ALARM_DISMISS_TAG, alarmInstance, in dismissAlarmInstance()
DAlarmTimeClickHandler.java165 final Intent dismissIntent = AlarmStateManager.createStateChangeIntent( in dismissAlarmInstance()
166 mContext, AlarmStateManager.ALARM_DISMISS_TAG, alarmInstance, in dismissAlarmInstance()
DAlarmStateManager.java106 public final class AlarmStateManager extends BroadcastReceiver { class
236 AlarmStateManager.createIndicatorIntent(context), flags); in updateNextAlarmInAlarmManager()
827 AlarmStateManager.deleteInstanceAndUpdateParent(context, instance); in fixAlarmInstances()
971 return new Intent(context, AlarmStateManager.class).setAction(INDICATOR_ACTION); in createIndicatorIntent()
DAlarmActivity.kt479 AlarmStateManager.setSnoozeState(this, mAlarmInstance!!, false /* showToast */) in snooze()
500 AlarmStateManager.deleteInstanceAndUpdateParent(this, mAlarmInstance!!) in dismiss()
DAlarmActivity.java501 AlarmStateManager.setSnoozeState(this, mAlarmInstance, false /* showToast */); in snooze()
522 AlarmStateManager.deleteInstanceAndUpdateParent(this, mAlarmInstance); in dismiss()
DAlarmStateManager.kt63 class AlarmStateManager : BroadcastReceiver() { in <lambda>() class
1009 return Intent(context, AlarmStateManager::class.java).setAction(INDICATOR_ACTION) in <lambda>()
/packages/apps/DeskClock/src/com/android/deskclock/
DDeskClockBackupAgent.java31 import com.android.deskclock.alarms.AlarmStateManager;
125 AlarmStateManager.deleteAllInstances(context, alarm.id); in processRestoredData()
135 AlarmStateManager.registerInstance(context, alarmInstance, true); in processRestoredData()
DHandleApiCalls.java32 import com.android.deskclock.alarms.AlarmStateManager;
149 AlarmStateManager.deleteInstanceAndUpdateParent(context, instance); in dismissAlarmInstance()
152 AlarmStateManager.setPreDismissState(context, instance); in dismissAlarmInstance()
290 AlarmStateManager.setSnoozeState(context, alarmInstance, true); in snoozeAlarm()
362 AlarmStateManager.deleteAllInstances(this, alarm.id); in handleSetAlarm()
514 AlarmStateManager.registerInstance(this, instance, true); in setupInstance()
DAlarmInitReceiver.kt25 import com.android.deskclock.alarms.AlarmStateManager
83 AlarmStateManager.fixAlarmInstances(context) in onReceive()
DAlarmInitReceiver.java25 import com.android.deskclock.alarms.AlarmStateManager;
97 AlarmStateManager.fixAlarmInstances(context); in onReceive()
DFetchMatchingAlarmsAction.java26 import com.android.deskclock.alarms.AlarmStateManager;
120 final AlarmInstance nextAlarm = AlarmStateManager.getNextFiringAlarm(mContext); in run()
/packages/apps/DeskClock/src/com/android/deskclock/provider/
DAlarmInstance.java30 import com.android.deskclock.alarms.AlarmStateManager;
280 AlarmStateManager.unregisterInstance(context, instance); in deleteOtherInstances()
DAlarmInstance.kt31 import com.android.deskclock.alarms.AlarmStateManager
521 AlarmStateManager.unregisterInstance(context, instance) in deleteOtherInstances()
/packages/apps/DeskClock/src/com/android/alarmclock/
DDigitalAppWidgetProvider.kt59 import com.android.deskclock.alarms.AlarmStateManager in <lambda>()
121 AlarmStateManager.ACTION_ALARM_CHANGED, in <lambda>()
DDigitalAppWidgetProvider.java73 import static com.android.deskclock.alarms.AlarmStateManager.ACTION_ALARM_CHANGED;