/cts/tests/tests/app/src/android/app/cts/ |
AlarmManagerTest.java | 30 private AlarmManager mAlarmManager; 53 mAlarmManager = (AlarmManager) mContext.getSystemService(Context.ALARM_SERVICE); 76 mAlarmManager.set(AlarmManager.RTC_WAKEUP, mWakeupTime, mSender); 88 mAlarmManager.set(AlarmManager.RTC, mWakeupTime, mSender); 100 mAlarmManager.set(AlarmManager.ELAPSED_REALTIME, mWakeupTime, mSender); 112 mAlarmManager.set(AlarmManager.ELAPSED_REALTIME_WAKEUP, mWakeupTime, mSender); 128 mAlarmManager.set(AlarmManager.RTC, mWakeupTime, mSender); 140 mAlarmManager.setRepeating(AlarmManager.RTC_WAKEUP, mWakeupTime, TIME_DELAY / 2, mSender); 154 mAlarmManager.cancel(mSender); 160 mAlarmManager.setRepeating(AlarmManager.RTC_WAKEUP, mWakeupTime, 1000, mSender) [all...] |
/development/samples/Alarm/src/com/example/android/newalarm/ |
AlarmActivity.java | 50 private AlarmManager mAlarmManager; 86 mAlarmManager = (AlarmManager)getSystemService(ALARM_SERVICE); 100 mAlarmManager.setRepeating( 123 mAlarmManager.cancel(mAlarmSender);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
DcRetryAlarmController.java | 41 private AlarmManager mAlarmManager; 82 mAlarmManager = (AlarmManager) mPhone.getContext().getSystemService(Context.ALARM_SERVICE); 100 mAlarmManager = null; 151 mAlarmManager.set(AlarmManager.ELAPSED_REALTIME_WAKEUP, 161 sb.append(" mAlaramManager=").append(mAlarmManager);
|
DcTrackerBase.java | 99 AlarmManager mAlarmManager; 538 mAlarmManager = [all...] |
DcTracker.java | [all...] |
/frameworks/base/services/java/com/android/server/ |
NetworkTimeUpdateService.java | 74 private AlarmManager mAlarmManager; 96 mAlarmManager = (AlarmManager) mContext.getSystemService(Context.ALARM_SERVICE); 216 mAlarmManager.cancel(mPendingPollIntent); 219 mAlarmManager.set(AlarmManager.ELAPSED_REALTIME, next, mPendingPollIntent);
|
TwilightService.java | 59 private final AlarmManager mAlarmManager; 75 mAlarmManager = (AlarmManager)mContext.getSystemService(Context.ALARM_SERVICE); 522 mAlarmManager.cancel(pendingIntent); 523 mAlarmManager.setExact(AlarmManager.RTC, nextUpdate, pendingIntent);
|
AppWidgetServiceImpl.java | 185 final AlarmManager mAlarmManager; 209 mAlarmManager = (AlarmManager) mContext.getSystemService(Context.ALARM_SERVICE); 569 mAlarmManager.cancel(p.broadcast); [all...] |
BackupManagerService.java | 210 private AlarmManager mAlarmManager; 669 mAlarmManager.set(AlarmManager.RTC_WAKEUP, System.currentTimeMillis(), 786 mAlarmManager = (AlarmManager) context.getSystemService(Context.ALARM_SERVICE); [all...] |
ConnectivityService.java | 206 AlarmManager mAlarmManager; 680 mAlarmManager = (AlarmManager)mContext.getSystemService(Context.ALARM_SERVICE); [all...] |
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/ |
LocationStatsAggregator.java | 61 private AlarmManager mAlarmManager; 79 mAlarmManager = 103 mAlarmManager.setInexactRepeating(AlarmManager.ELAPSED_REALTIME_WAKEUP, 111 mAlarmManager.cancel(mPendingIntent);
|
/frameworks/base/core/java/android/net/ |
DhcpStateMachine.java | 61 private AlarmManager mAlarmManager; 119 mAlarmManager = (AlarmManager)mContext.getSystemService(Context.ALARM_SERVICE); 280 mAlarmManager.cancel(mDhcpRenewalIntent); 321 mAlarmManager.cancel(mDhcpRenewalIntent); 377 mAlarmManager.setExact(AlarmManager.ELAPSED_REALTIME_WAKEUP,
|
/frameworks/opt/net/voip/src/java/com/android/server/sip/ |
SipWakeupTimer.java | 42 private AlarmManager mAlarmManager; 54 mAlarmManager = (AlarmManager) 68 mAlarmManager.cancel(mPendingIntent); 85 mAlarmManager.cancel(mPendingIntent); 220 mAlarmManager.set(AlarmManager.ELAPSED_REALTIME_WAKEUP,
|
/frameworks/base/services/java/com/android/server/wifi/ |
WifiController.java | 62 private AlarmManager mAlarmManager; 139 mAlarmManager = (AlarmManager)mContext.getSystemService(Context.ALARM_SERVICE); 321 mAlarmManager.cancel(mIdleIntent); 339 mAlarmManager.set(AlarmManager.RTC_WAKEUP, 364 mAlarmManager.set(AlarmManager.RTC_WAKEUP, triggerTime, mIdleIntent);
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
CalendarAlarmManager.java | 126 private AlarmManager mAlarmManager; 145 mAlarmManager = (AlarmManager) context.getSystemService(Context.ALARM_SERVICE); 504 mAlarmManager.setExact(type, triggerAtTime, operation); 508 mAlarmManager.cancel(operation); 512 CalendarContract.CalendarAlerts.scheduleAlarm(mContext, mAlarmManager, alarmTime); 516 CalendarContract.CalendarAlerts.rescheduleMissedAlarms(cr, mContext, mAlarmManager);
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
DownloadService.java | 80 private AlarmManager mAlarmManager; 159 mAlarmManager = (AlarmManager) getSystemService(Context.ALARM_SERVICE); 367 mAlarmManager.set(AlarmManager.RTC_WAKEUP, now + nextActionMillis,
|
/frameworks/base/services/java/com/android/server/connectivity/ |
PacManager.java | 79 private AlarmManager mAlarmManager; 148 if (mAlarmManager == null) { 149 mAlarmManager = (AlarmManager)mContext.getSystemService(Context.ALARM_SERVICE); 151 return mAlarmManager;
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
NetworkStatsServiceTest.java | 112 private IAlarmManager mAlarmManager; 132 mAlarmManager = createMock(IAlarmManager.class); 138 mServiceContext, mNetManager, mAlarmManager, mTime, mStatsDir, mSettings); 172 mAlarmManager = null; [all...] |
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
KeyguardViewMediator.java | 158 private AlarmManager mAlarmManager; 503 mAlarmManager = (AlarmManager) context.getSystemService(Context.ALARM_SERVICE); 664 mAlarmManager.set(AlarmManager.ELAPSED_REALTIME_WAKEUP, when, sender); [all...] |
/frameworks/base/services/java/com/android/server/net/ |
NetworkStatsService.java | 157 private final AlarmManager mAlarmManager; 267 mAlarmManager = (AlarmManager) context.getSystemService(Context.ALARM_SERVICE); 428 mAlarmManager.cancel(mPollIntent); 435 mAlarmManager.setInexactRepeating(AlarmManager.ELAPSED_REALTIME, currentRealtime, [all...] |
/frameworks/base/wifi/java/android/net/wifi/ |
WifiStateMachine.java | 271 private AlarmManager mAlarmManager; 683 mAlarmManager = (AlarmManager)mContext.getSystemService(Context.ALARM_SERVICE); [all...] |
/frameworks/base/services/java/com/android/server/location/ |
GpsLocationProvider.java | 327 private final AlarmManager mAlarmManager; 461 mAlarmManager = (AlarmManager)mContext.getSystemService(Context.ALARM_SERVICE); 795 mAlarmManager.cancel(mWakeupIntent); 796 mAlarmManager.cancel(mTimeoutIntent); [all...] |