Home
last modified time | relevance | path

Searched refs:alarmManager (Results 1 – 20 of 20) sorted by relevance

/packages/apps/Calendar/src/com/android/calendar/alerts/
DAlarmScheduler.java110 static void scheduleNextAlarm(Context context, AlarmManagerInterface alarmManager, in scheduleNextAlarm() argument
118 context.getContentResolver(), alarmManager, batchSize, currentMillis); in scheduleNextAlarm()
177 ContentResolver contentResolver, AlarmManagerInterface alarmManager, in queryNextReminderAndSchedule() argument
281 scheduleAlarm(context, nextAlarmEventId, nextAlarmTime, currentMillis, alarmManager); in queryNextReminderAndSchedule()
291 long currentMillis, AlarmManagerInterface alarmManager) { in scheduleAlarm() argument
320 alarmManager.set(AlarmManager.RTC_WAKEUP, alarmTime, pi); in scheduleAlarm()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/
DDeviceOwnerInitializeProvisioningTask.java54 final AlarmManager alarmManager = mContext.getSystemService(AlarmManager.class); in setTimeAndTimezone() local
56 alarmManager.setTimeZone(timeZone); in setTimeAndTimezone()
59 alarmManager.setTime(localTime); in setTimeAndTimezone()
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastAlertReminder.java162 AlarmManager alarmManager = (AlarmManager) context.getSystemService(Context.ALARM_SERVICE); in queueAlertReminder() local
163 if (alarmManager == null) { in queueAlertReminder()
171 alarmManager.setExact(AlarmManager.ELAPSED_REALTIME_WAKEUP, in queueAlertReminder()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
DDictionaryService.java225 AlarmManager alarmManager = (AlarmManager)context.getSystemService(Context.ALARM_SERVICE); in checkTimeAndMaybeSetupUpdateAlarm() local
238 if (null != alarmManager) alarmManager.set(AlarmManager.RTC, alarmTime, pendingIntent); in checkTimeAndMaybeSetupUpdateAlarm()
/packages/apps/Settings/src/com/android/settings/wifi/tether/
DTetherService.java311 AlarmManager alarmManager = (AlarmManager) getSystemService(ALARM_SERVICE); in scheduleAlarm() local
317 alarmManager.setRepeating(AlarmManager.ELAPSED_REALTIME, firstTime, periodMs, in scheduleAlarm()
341 AlarmManager alarmManager = (AlarmManager) getSystemService(ALARM_SERVICE); in cancelAlarmIfNecessary() local
342 alarmManager.cancel(pendingIntent); in cancelAlarmIfNecessary()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/tether/
DTetherService.java297 AlarmManager alarmManager = (AlarmManager) getSystemService(ALARM_SERVICE); in scheduleAlarm() local
303 alarmManager.setRepeating(AlarmManager.ELAPSED_REALTIME, firstTime, periodMs, in scheduleAlarm()
327 AlarmManager alarmManager = (AlarmManager) getSystemService(ALARM_SERVICE); in cancelAlarmIfNecessary() local
328 alarmManager.cancel(pendingIntent); in cancelAlarmIfNecessary()
/packages/apps/Test/connectivity/PMC/src/com/android/pmc/
DGattPMCReceiver.java42 public GattPMCReceiver(Context context, AlarmManager alarmManager) { in GattPMCReceiver() argument
46 mGattClientListener = new GattClientListener(context, alarmManager); in GattPMCReceiver()
DWifiConnScanReceiver.java29 public WifiConnScanReceiver(PMCMainActivity activity, int interval, AlarmManager alarmManager, in WifiConnScanReceiver() argument
34 mAlarmManager = alarmManager; in WifiConnScanReceiver()
DWifiGScanReceiver.java36 AlarmManager alarmManager, PendingIntent alarmIntent) { in WifiGScanReceiver() argument
41 mAlarmManager = alarmManager; in WifiGScanReceiver()
DWifiDownloadReceiver.java35 AlarmManager alarmManager, PendingIntent alarmIntent) { in WifiDownloadReceiver() argument
42 mAlarmManager = alarmManager; in WifiDownloadReceiver()
DBleScanReceiver.java233 public BleScanReceiver(Context context, AlarmManager alarmManager) { in BleScanReceiver() argument
236 mAlarmManager = alarmManager; in BleScanReceiver()
DGattClientListener.java74 public GattClientListener(Context context, AlarmManager alarmManager) { in GattClientListener() argument
77 mAlarmManager = alarmManager; in GattClientListener()
DA2dpReceiver.java104 public A2dpReceiver(Context context, AlarmManager alarmManager) { in A2dpReceiver() argument
107 mAlarmManager = alarmManager; in A2dpReceiver()
/packages/apps/DeskClock/src/com/android/deskclock/
DDeskClockBackupAgent.java99 final AlarmManager alarmManager = (AlarmManager) getSystemService(Context.ALARM_SERVICE); in onRestoreFinished() local
100 alarmManager.setExact(AlarmManager.ELAPSED_REALTIME_WAKEUP, triggerAtMillis, restoreIntent); in onRestoreFinished()
/packages/apps/Bluetooth/src/com/android/bluetooth/sap/
DSapServer.java751 AlarmManager alarmManager = in startDisconnectTimer() local
755 alarmManager.set(AlarmManager.ELAPSED_REALTIME_WAKEUP, in startDisconnectTimer()
769 AlarmManager alarmManager = in stopDisconnectTimer() local
771 alarmManager.cancel(mPendingDiscIntent); in stopDisconnectTimer()
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
DNotificationActionUtils.java686 final AlarmManager alarmManager = in registerUndoTimeout() local
694 alarmManager.set(AlarmManager.ELAPSED_REALTIME, triggerAtMills, pendingIntent); in registerUndoTimeout()
707 final AlarmManager alarmManager = in cancelUndoTimeout() local
713 alarmManager.cancel(pendingIntent); in cancelUndoTimeout()
/packages/apps/TV/src/com/android/tv/dvr/recorder/
DRecordingScheduler.java148 AlarmManager alarmManager) { in RecordingScheduler() argument
157 mAlarmManager = alarmManager; in RecordingScheduler()
/packages/apps/DeskClock/src/com/android/deskclock/alarms/
DAlarmStateManager.java232 final AlarmManager alarmManager = (AlarmManager) context.getSystemService(ALARM_SERVICE); in updateNextAlarmInAlarmManager() local
248 Utils.updateNextAlarm(alarmManager, info, operation); in updateNextAlarmInAlarmManager()
251 alarmManager.cancel(operation); in updateNextAlarmInAlarmManager()
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapService.java907 AlarmManager alarmManager = (AlarmManager) this.getSystemService(Context.ALARM_SERVICE); in cancelUserTimeoutAlarm() local
908 alarmManager.cancel(pIntent); in cancelUserTimeoutAlarm()
/packages/providers/TvProvider/src/com/android/providers/tv/
DTvProvider.java1067 AlarmManager alarmManager = in scheduleEpgDataCleanup() local
1069 alarmManager.setInexactRepeating(AlarmManager.RTC, System.currentTimeMillis(), in scheduleEpgDataCleanup()