/frameworks/base/core/tests/coretests/src/android/app/activity/ |
D | SetTimeZonePermissionsTest.java | 19 import android.app.AlarmManager; 30 private AlarmManager mAlarm; 38 mAlarm = (AlarmManager) mContext.getSystemService(Context.ALARM_SERVICE); in setUp()
|
/frameworks/base/services/java/com/android/server/ |
D | AlarmManagerService.java | 21 import android.app.AlarmManager; 61 private static final int RTC_WAKEUP_MASK = 1 << AlarmManager.RTC_WAKEUP; 62 private static final int RTC_MASK = 1 << AlarmManager.RTC; 63 …private static final int ELAPSED_REALTIME_WAKEUP_MASK = 1 << AlarmManager.ELAPSED_REALTIME_WAKEUP; 64 private static final int ELAPSED_REALTIME_MASK = 1 << AlarmManager.ELAPSED_REALTIME; 68 private static final long QUANTUM = AlarmManager.INTERVAL_FIFTEEN_MINUTES; 209 final boolean isRtc = (type == AlarmManager.RTC || type == AlarmManager.RTC_WAKEUP); in setInexactRepeating() 347 case AlarmManager.RTC_WAKEUP: return mRtcWakeupAlarms; in getAlarmList() 348 case AlarmManager.RTC: return mRtcAlarms; in getAlarmList() 349 case AlarmManager.ELAPSED_REALTIME_WAKEUP: return mElapsedRealtimeWakeupAlarms; in getAlarmList() [all …]
|
D | NetworkTimeUpdateService.java | 19 import android.app.AlarmManager; 84 private AlarmManager mAlarmManager; 97 mAlarmManager = (AlarmManager) mContext.getSystemService(Context.ALARM_SERVICE); in NetworkTimeUpdateService() 204 mAlarmManager.set(AlarmManager.ELAPSED_REALTIME, next, mPendingPollIntent); in resetAlarm()
|
D | UiModeManagerService.java | 21 import android.app.AlarmManager; 103 private AlarmManager mAlarmManager; 316 (AlarmManager)mContext.getSystemService(Context.ALARM_SERVICE); in UiModeManagerService() 786 mAlarmManager.set(AlarmManager.RTC_WAKEUP, nextUpdate, pendingIntent); in updateTwilightLocked()
|
D | WifiService.java | 19 import android.app.AlarmManager; 95 private AlarmManager mAlarmManager; 365 mAlarmManager = (AlarmManager)mContext.getSystemService(Context.ALARM_SERVICE); in WifiService() 963 mAlarmManager.set(AlarmManager.RTC_WAKEUP, triggerTime, mIdleIntent); 973 mAlarmManager.set(AlarmManager.RTC_WAKEUP, triggerTime, mIdleIntent); 1001 mAlarmManager.set(AlarmManager.RTC_WAKEUP, triggerTime, mIdleIntent);
|
D | Watchdog.java | 21 import android.app.AlarmManager; 302 mAlarm.set(AlarmManager.RTC_WAKEUP, realStartTime, mRebootIntent); in checkReboot()
|
D | ThrottleService.java | 19 import android.app.AlarmManager; 109 private AlarmManager mAlarmManager; 152 mAlarmManager = (AlarmManager)mContext.getSystemService(Context.ALARM_SERVICE); in ThrottleService() 569 mAlarmManager.set(AlarmManager.ELAPSED_REALTIME, next, mPendingPollIntent); in onPollAlarm() 775 mAlarmManager.set(AlarmManager.ELAPSED_REALTIME, in onResetAlarm()
|
D | AppWidgetService.java | 19 import android.app.AlarmManager; 165 AlarmManager mAlarmManager; 180 mAlarmManager = (AlarmManager)mContext.getSystemService(Context.ALARM_SERVICE); in AppWidgetService() 1004 mAlarmManager.setInexactRepeating(AlarmManager.ELAPSED_REALTIME_WAKEUP, in registerForBroadcastsLocked()
|
D | DevicePolicyManagerService.java | 31 import android.app.AlarmManager; 488 AlarmManager am = (AlarmManager) context.getSystemService(Context.ALARM_SERVICE); in setExpirationAlarmCheckLocked() 494 am.set(AlarmManager.RTC, alarmTime, pi); in setExpirationAlarmCheckLocked()
|
D | BackupManagerService.java | 20 import android.app.AlarmManager; 145 private static final long BACKUP_INTERVAL = AlarmManager.INTERVAL_HOUR; 152 private static final long FIRST_BACKUP_INTERVAL = 12 * AlarmManager.INTERVAL_HOUR; 190 private AlarmManager mAlarmManager; 663 mAlarmManager = (AlarmManager) context.getSystemService(Context.ALARM_SERVICE); in BackupManagerService() 1262 mAlarmManager.set(AlarmManager.RTC_WAKEUP, in registerTransport() 4678 mAlarmManager.set(AlarmManager.RTC_WAKEUP, in run() 5123 mAlarmManager.set(AlarmManager.RTC_WAKEUP, System.currentTimeMillis(), in setBackupEnabled() 5176 mAlarmManager.setRepeating(AlarmManager.RTC_WAKEUP, when, in startBackupAlarmsLocked()
|
/frameworks/base/core/java/android/app/ |
D | AlarmManager.java | 55 public class AlarmManager class 90 AlarmManager(IAlarmManager service) { in AlarmManager() method in AlarmManager
|
/frameworks/base/core/java/android/net/ |
D | DhcpStateMachine.java | 23 import android.app.AlarmManager; 61 private AlarmManager mAlarmManager; 117 mAlarmManager = (AlarmManager)mContext.getSystemService(Context.ALARM_SERVICE); in DhcpStateMachine() 361 mAlarmManager.set(AlarmManager.ELAPSED_REALTIME_WAKEUP, in runDhcp()
|
/frameworks/base/voip/java/com/android/server/sip/ |
D | SipWakeupTimer.java | 19 import android.app.AlarmManager; 53 private AlarmManager mAlarmManager; 65 mAlarmManager = (AlarmManager) in SipWakeupTimer() 231 mAlarmManager.set(AlarmManager.ELAPSED_REALTIME_WAKEUP, in scheduleNext()
|
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/ |
D | CdmaDataConnectionTracker.java | 19 import android.app.AlarmManager; 272 AlarmManager am = in cleanUpConnection() 273 (AlarmManager) mPhone.getContext().getSystemService(Context.ALARM_SERVICE); in cleanUpConnection() 526 AlarmManager am = in startAlarmForReconnect() 527 (AlarmManager) mPhone.getContext().getSystemService(Context.ALARM_SERVICE); in startAlarmForReconnect() 532 am.set(AlarmManager.ELAPSED_REALTIME_WAKEUP, in startAlarmForReconnect()
|
D | CdmaServiceStateTracker.java | 30 import android.app.AlarmManager; 1438 AlarmManager alarm = in setAndBroadcastNetworkSetTimeZone() 1439 (AlarmManager) phone.getContext().getSystemService(Context.ALARM_SERVICE); in setAndBroadcastNetworkSetTimeZone()
|
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
D | KeyguardViewMediator.java | 25 import android.app.AlarmManager; 158 private AlarmManager mAlarmManager; 290 mAlarmManager = (AlarmManager) context in KeyguardViewMediator() 403 mAlarmManager.set(AlarmManager.ELAPSED_REALTIME_WAKEUP, when, in onScreenTurnedOff()
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
D | MccTable.java | 20 import android.app.AlarmManager; 219 AlarmManager alarm = in setTimezoneFromMccIfNeeded() 220 (AlarmManager) context.getSystemService(Context.ALARM_SERVICE); in setTimezoneFromMccIfNeeded()
|
/frameworks/base/core/java/android/provider/ |
D | CalendarContract.java | 22 import android.app.AlarmManager; 2116 Context context, AlarmManager manager) { in rescheduleMissedAlarms() 2171 public static void scheduleAlarm(Context context, AlarmManager manager, long alarmTime) { in scheduleAlarm() 2180 manager = (AlarmManager) context.getSystemService(Context.ALARM_SERVICE); in scheduleAlarm() 2187 manager.set(AlarmManager.RTC_WAKEUP, alarmTime, pi); in scheduleAlarm()
|
/frameworks/base/services/java/com/android/server/location/ |
D | GpsLocationProvider.java | 19 import android.app.AlarmManager; 279 private final AlarmManager mAlarmManager; 392 mAlarmManager = (AlarmManager)mContext.getSystemService(Context.ALARM_SERVICE); in GpsLocationProvider() 1009 mAlarmManager.set(AlarmManager.ELAPSED_REALTIME_WAKEUP, in startNavigating() 1037 mAlarmManager.set(AlarmManager.ELAPSED_REALTIME_WAKEUP, in hibernate()
|
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/ |
D | GsmDataConnectionTracker.java | 19 import android.app.AlarmManager; 854 AlarmManager am = in cancelReconnectAlarm() 855 (AlarmManager) mPhone.getContext().getSystemService(Context.ALARM_SERVICE); in cancelReconnectAlarm() 1552 AlarmManager am = in startAlarmForReconnect() 1553 (AlarmManager) mPhone.getContext().getSystemService(Context.ALARM_SERVICE); in startAlarmForReconnect() 1564 am.set(AlarmManager.ELAPSED_REALTIME_WAKEUP, in startAlarmForReconnect()
|
D | GsmServiceStateTracker.java | 32 import android.app.AlarmManager; 1490 AlarmManager alarm = in setAndBroadcastNetworkSetTimeZone() 1491 (AlarmManager) phone.getContext().getSystemService(Context.ALARM_SERVICE); in setAndBroadcastNetworkSetTimeZone()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | NetworkStatsServiceTest.java | 49 import android.app.AlarmManager; 778 eq(AlarmManager.ELAPSED_REALTIME), anyLong(), anyLong(), isA(PendingIntent.class)); in expectSystemReady()
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | WifiStateMachine.java | 40 import android.app.AlarmManager; 173 private AlarmManager mAlarmManager; 529 mAlarmManager = (AlarmManager)mContext.getSystemService(Context.ALARM_SERVICE); in WifiStateMachine() 3074 mAlarmManager.setRepeating(AlarmManager.RTC_WAKEUP, in setScanAlarm()
|
/frameworks/base/core/java/android/content/ |
D | SyncManager.java | 27 import android.app.AlarmManager; 137 private AlarmManager mAlarmService = null; 397 mAlarmService = (AlarmManager)mContext.getSystemService(Context.ALARM_SERVICE); in ensureAlarmService() 2349 mAlarmService.set(AlarmManager.ELAPSED_REALTIME_WAKEUP, alarmTime, in manageSyncAlarmLocked()
|
/frameworks/base/docs/html/sdk/api_diff/3/ |
D | missingSinces.txt | 415 NO DOC BLOCK: android.app.AlarmManager Method setInexactRepeating(int, long, long, android.app.Pend… 640 NO DOC BLOCK: android.app.AlarmManager Field INTERVAL_DAY 641 NO DOC BLOCK: android.app.AlarmManager Field INTERVAL_FIFTEEN_MINUTES 642 NO DOC BLOCK: android.app.AlarmManager Field INTERVAL_HALF_DAY 643 NO DOC BLOCK: android.app.AlarmManager Field INTERVAL_HALF_HOUR 644 NO DOC BLOCK: android.app.AlarmManager Field INTERVAL_HOUR
|