Home
last modified time | relevance | path

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

/packages/apps/DeskClock/src/com/android/deskclock/alarms/
DAlarmNotifications.java108 Intent hideIntent = AlarmStateManager.createStateChangeIntent(context, in showLowPriorityNotification()
109 AlarmStateManager.ALARM_DELETE_TAG, instance, in showLowPriorityNotification()
116 Intent dismissIntent = AlarmStateManager.createStateChangeIntent(context, in showLowPriorityNotification()
117 AlarmStateManager.ALARM_DISMISS_TAG, instance, AlarmInstance.PREDISMISSED_STATE); in showLowPriorityNotification()
156 Intent dismissIntent = AlarmStateManager.createStateChangeIntent(context, in showHighPriorityNotification()
157 AlarmStateManager.ALARM_DISMISS_TAG, instance, AlarmInstance.PREDISMISSED_STATE); in showHighPriorityNotification()
319 Intent dismissIntent = AlarmStateManager.createStateChangeIntent(context, in showSnoozeNotification()
320 AlarmStateManager.ALARM_DISMISS_TAG, instance, AlarmInstance.DISMISSED_STATE); in showSnoozeNotification()
364 Intent dismissIntent = AlarmStateManager.createStateChangeIntent(context, in showMissedNotification()
365 AlarmStateManager.ALARM_DISMISS_TAG, instance, AlarmInstance.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()
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.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.java501 AlarmStateManager.setSnoozeState(this, mAlarmInstance, false /* showToast */); in snooze()
522 AlarmStateManager.deleteInstanceAndUpdateParent(this, mAlarmInstance); in dismiss()
/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.java25 import com.android.deskclock.alarms.AlarmStateManager;
95 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()
/packages/apps/DeskClock/src/com/android/alarmclock/
DDigitalAppWidgetProvider.java73 import static com.android.deskclock.alarms.AlarmStateManager.ACTION_ALARM_CHANGED;