/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
AlarmManagerTest.java | 43 alarmManager.set(AlarmManager.ELAPSED_REALTIME, 0, PendingIntent.getActivity(activity, 0, new Intent(activity, activity.getClass()), 0)); 52 alarmManager.setRepeating(AlarmManager.ELAPSED_REALTIME, 0, AlarmManager.INTERVAL_HOUR, 60 alarmManager.set(AlarmManager.ELAPSED_REALTIME, 0, PendingIntent.getActivity(activity, 0, new Intent(activity, activity.getClass()), 0)); 61 alarmManager.set(AlarmManager.ELAPSED_REALTIME, 0, PendingIntent.getActivity(activity, 0, new Intent(activity, activity.getClass()), 0)); 66 alarmManager.setRepeating(AlarmManager.ELAPSED_REALTIME, 0, AlarmManager.INTERVAL_HOUR, PendingIntent.getActivity(activity, 0, new Intent(activity, activity.getClass()), 0)); 67 alarmManager.setRepeating(AlarmManager.ELAPSED_REALTIME, 0, AlarmManager.INTERVAL_HOUR, PendingIntent.getActivity(activity, 0, new Intent(activity, activity.getClass()), 0)); 77 alarmManager.set(AlarmManager.ELAPSED_REALTIME, now, pendingIntent); 90 alarmManager.setRepeating(AlarmManager.ELAPSED_REALTIME, now, AlarmManager.INTERVAL_HOUR, pendingIntent); 103 alarmManager.set(AlarmManager.ELAPSED_REALTIME, now, pendingIntent); 150 assertThat(scheduledAlarm.type, equalTo(AlarmManager.ELAPSED_REALTIME)); [all...] |
/developers/build/prebuilts/gradle/RepeatingAlarm/RepeatingAlarmSample/src/main/java/com/example/android/repeatingalarm/ |
RepeatingAlarmFragment.java | 67 // There are two clock types for alarms, ELAPSED_REALTIME and RTC. 68 // ELAPSED_REALTIME uses time since system boot as a reference, and RTC uses UTC (wall 69 // clock) time. This means ELAPSED_REALTIME is suited to setting an alarm according to 77 // For most situations, ELAPSED_REALTIME will suffice. 78 int alarmType = AlarmManager.ELAPSED_REALTIME;
|
/developers/samples/android/background/alarms/RepeatingAlarm/RepeatingAlarmSample/src/main/java/com/example/android/repeatingalarm/ |
RepeatingAlarmFragment.java | 67 // There are two clock types for alarms, ELAPSED_REALTIME and RTC. 68 // ELAPSED_REALTIME uses time since system boot as a reference, and RTC uses UTC (wall 69 // clock) time. This means ELAPSED_REALTIME is suited to setting an alarm according to 77 // For most situations, ELAPSED_REALTIME will suffice. 78 int alarmType = AlarmManager.ELAPSED_REALTIME;
|
/development/samples/browseable/repeatingAlarm/src/com.example.android.repeatingalarm/ |
RepeatingAlarmFragment.java | 67 // There are two clock types for alarms, ELAPSED_REALTIME and RTC. 68 // ELAPSED_REALTIME uses time since system boot as a reference, and RTC uses UTC (wall 69 // clock) time. This means ELAPSED_REALTIME is suited to setting an alarm according to 77 // For most situations, ELAPSED_REALTIME will suffice. 78 int alarmType = AlarmManager.ELAPSED_REALTIME;
|
/frameworks/base/core/java/android/app/ |
AlarmManager.java | 95 public static final int ELAPSED_REALTIME = 3; 169 * @param type One of {@link #ELAPSED_REALTIME}, {@link #ELAPSED_REALTIME_WAKEUP}, 185 * @see #ELAPSED_REALTIME 227 * @param type One of {@link #ELAPSED_REALTIME}, {@link #ELAPSED_REALTIME_WAKEUP}, 245 * @see #ELAPSED_REALTIME 275 * @param type One of {@link #ELAPSED_REALTIME}, {@link #ELAPSED_REALTIME_WAKEUP}, 295 * @see #ELAPSED_REALTIME 319 * @param type One of {@link #ELAPSED_REALTIME}, {@link #ELAPSED_REALTIME_WAKEUP}, 334 * @see #ELAPSED_REALTIME 427 * @param type One of {@link #ELAPSED_REALTIME}, {@link #ELAPSED_REALTIME_WAKEUP} [all...] |
/cts/tests/tests/app/src/android/app/cts/ |
AlarmManagerTest.java | 97 // test parameter type is ELAPSED_REALTIME 100 mAlarmManager.set(AlarmManager.ELAPSED_REALTIME, mWakeupTime, mSender);
|
/frameworks/base/services/java/com/android/server/ |
NetworkTimeUpdateService.java | 219 mAlarmManager.set(AlarmManager.ELAPSED_REALTIME, next, mPendingPollIntent);
|
AlarmManagerService.java | 63 import static android.app.AlarmManager.ELAPSED_REALTIME; 75 private static final int ELAPSED_REALTIME_MASK = 1 << ELAPSED_REALTIME; 538 if (type < RTC_WAKEUP || type > ELAPSED_REALTIME) { 667 setLocked(ELAPSED_REALTIME, firstBatch.start); [all...] |
/packages/services/Telephony/src/com/android/phone/ |
CallerInfoCache.java | 197 alarmManager.setInexactRepeating(AlarmManager.ELAPSED_REALTIME,
|
/packages/apps/DeskClock/src/com/android/deskclock/timer/ |
TimerReceiver.java | 316 alarmManager.setExact(AlarmManager.ELAPSED_REALTIME, nextBroadcastTime, pendingNextBroadcast); 318 alarmManager.set(AlarmManager.ELAPSED_REALTIME, nextBroadcastTime, pendingNextBroadcast);
|
/frameworks/base/services/java/com/android/server/connectivity/ |
PacManager.java | 247 getAlarmManager().set(AlarmManager.ELAPSED_REALTIME, timeTillTrigger, mPacRefreshIntent);
|
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
NotificationActionUtils.java | 581 alarmManager.set(AlarmManager.ELAPSED_REALTIME, triggerAtMills, pendingIntent); [all...] |
/frameworks/base/services/java/com/android/server/net/ |
NetworkStatsService.java | 435 mAlarmManager.setInexactRepeating(AlarmManager.ELAPSED_REALTIME, currentRealtime, [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
NetworkStatsServiceTest.java | [all...] |
/prebuilts/sdk/10/ |
android.jar | |
/prebuilts/sdk/11/ |
android.jar | |
/prebuilts/sdk/12/ |
android.jar | |
/prebuilts/sdk/14/ |
android.jar | |
/prebuilts/sdk/15/ |
android.jar | |
/prebuilts/sdk/17/ |
android.jar | |
/prebuilts/sdk/18/ |
android.jar | |
/prebuilts/sdk/19/ |
android.jar | |
/prebuilts/sdk/4/ |
android.jar | |
/prebuilts/sdk/5/ |
android.jar | |
/prebuilts/sdk/6/ |
android.jar | |