Home
last modified time | relevance | path

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

/packages/apps/DeskClock/src/com/android/deskclock/alarms/
DAlarmNotifications.java53 Intent hideIntent = AlarmStateManager.createStateChangeIntent(context, in showLowPriorityNotification()
54 AlarmStateManager.ALARM_DELETE_TAG, instance, in showLowPriorityNotification()
60 Intent dismissIntent = AlarmStateManager.createStateChangeIntent(context, in showLowPriorityNotification()
61 AlarmStateManager.ALARM_DISMISS_TAG, instance, AlarmInstance.PREDISMISSED_STATE); in showLowPriorityNotification()
94 Intent dismissIntent = AlarmStateManager.createStateChangeIntent(context, in showHighPriorityNotification()
95 AlarmStateManager.ALARM_DISMISS_TAG, instance, AlarmInstance.PREDISMISSED_STATE); in showHighPriorityNotification()
126 Intent dismissIntent = AlarmStateManager.createStateChangeIntent(context, in showSnoozeNotification()
127 AlarmStateManager.ALARM_DISMISS_TAG, instance, AlarmInstance.DISMISSED_STATE); in showSnoozeNotification()
160 Intent dismissIntent = AlarmStateManager.createStateChangeIntent(context, in showMissedNotification()
161 AlarmStateManager.ALARM_DISMISS_TAG, instance, AlarmInstance.DISMISSED_STATE); in showMissedNotification()
[all …]
DAlarmService.java113 startService(AlarmStateManager.createStateChangeIntent(AlarmService.this,
122 AlarmStateManager.setMissedState(this, mCurrentAlarm); in startAlarm()
183 AlarmStateManager.setSnoozeState(context, mCurrentAlarm, true /* showToast */);
188 AlarmStateManager.deleteInstanceAndUpdateParent(context, mCurrentAlarm);
213 case AlarmStateManager.CHANGE_STATE_ACTION: in onStartCommand()
214 AlarmStateManager.handleIntent(this, intent); in onStartCommand()
217 final int alarmState = intent.getIntExtra(AlarmStateManager.ALARM_STATE_EXTRA, -1); in onStartCommand()
DAlarmUpdateHandler.java136 AlarmStateManager.deleteAllInstances(mAppContext, alarm.id); in asyncUpdateAlarm()
167 AlarmStateManager.deleteAllInstances(mAppContext, alarm.id); in asyncDeleteAlarm()
221 AlarmStateManager.registerInstance(mAppContext, newInstance, true); in setupAlarmInstance()
DAlarmTimeClickHandler.java157 final Intent dismissIntent = AlarmStateManager.createStateChangeIntent( in dismissAlarmInstance()
158 context, AlarmStateManager.ALARM_DISMISS_TAG, alarmInstance, in dismissAlarmInstance()
DAlarmStateManager.java102 public final class AlarmStateManager extends BroadcastReceiver { class
243 AlarmStateManager.createIndicatorIntent(context), flags); in updateNextAlarmInAlarmManager()
821 AlarmStateManager.deleteInstanceAndUpdateParent(context, instance); in fixAlarmInstances()
963 return new Intent(context, AlarmStateManager.class).setAction(INDICATOR_ACTION); in createIndicatorIntent()
DAlarmActivity.java455 final int snoozeMinutes = AlarmStateManager.getSnoozedMinutes(this); in snooze()
464 AlarmStateManager.setSnoozeState(this, mAlarmInstance, false /* showToast */); in snooze()
485 AlarmStateManager.deleteInstanceAndUpdateParent(this, mAlarmInstance); in dismiss()
/packages/apps/DeskClock/src/com/android/deskclock/
DAlarmInitReceiver.java25 import com.android.deskclock.alarms.AlarmStateManager;
61 AlarmStateManager.updateGlobalIntentId(context); in onReceive()
85 AlarmStateManager.fixAlarmInstances(context); in onReceive()
DDeskClockBackupAgent.java34 import com.android.deskclock.alarms.AlarmStateManager;
131 AlarmStateManager.deleteAllInstances(context, alarm.id); in processRestoredData()
141 AlarmStateManager.registerInstance(context, alarmInstance, true); in processRestoredData()
DHandleApiCalls.java33 import com.android.deskclock.alarms.AlarmStateManager;
121 AlarmStateManager.setPreDismissState(context, alarmInstance); in dismissAlarm()
255 AlarmStateManager.setSnoozeState(context, alarmInstance, true); in snoozeAlarm()
382 AlarmStateManager.registerInstance(this, instance, true); in setupInstance()
DFetchMatchingAlarmsAction.java26 import com.android.deskclock.alarms.AlarmStateManager;
122 final AlarmInstance nextAlarm = AlarmStateManager.getNextFiringAlarm(mContext); in run()
DDeskClock.java46 import com.android.deskclock.alarms.AlarmStateManager;
210 AlarmStateManager.updateNextAlarm(this); in onCreate()
/packages/apps/DeskClock/src/com/android/alarmclock/
DDigitalAppWidgetProvider.java40 import com.android.deskclock.alarms.AlarmStateManager;
154 nextAlarmIntentAction = AlarmStateManager.SYSTEM_ALARM_CHANGE_ACTION; in isNextAlarmChangedAction()
/packages/apps/DeskClock/src/com/android/deskclock/provider/
DAlarmInstance.java32 import com.android.deskclock.alarms.AlarmStateManager;
278 AlarmStateManager.unregisterInstance(context, instance); in deleteOtherInstances()