/frameworks/base/core/java/android/app/ |
D | AlarmManager.java | 349 public void set(@AlarmType int type, long triggerAtMillis, PendingIntent operation) { in set() argument 350 setImpl(type, triggerAtMillis, legacyExactLength(), 0, 0, operation, null, null, in set() 376 public void set(@AlarmType int type, long triggerAtMillis, String tag, OnAlarmListener listener, in set() argument 378 setImpl(type, triggerAtMillis, legacyExactLength(), 0, 0, null, listener, tag, in set() 437 public void setRepeating(@AlarmType int type, long triggerAtMillis, in setRepeating() argument 439 setImpl(type, triggerAtMillis, legacyExactLength(), intervalMillis, 0, operation, in setRepeating() 541 public void setExact(@AlarmType int type, long triggerAtMillis, PendingIntent operation) { in setExact() argument 542 setImpl(type, triggerAtMillis, WINDOW_EXACT, 0, 0, operation, null, null, null, in setExact() 555 public void setExact(@AlarmType int type, long triggerAtMillis, String tag, in setExact() argument 557 setImpl(type, triggerAtMillis, WINDOW_EXACT, 0, 0, null, listener, tag, in setExact() [all …]
|
/frameworks/support/compat/src/main/java/androidx/core/app/ |
D | AlarmManagerCompat.java | 116 long triggerAtMillis, @NonNull PendingIntent operation) { in setAndAllowWhileIdle() argument 118 alarmManager.setAndAllowWhileIdle(type, triggerAtMillis, operation); in setAndAllowWhileIdle() 120 alarmManager.set(type, triggerAtMillis, operation); in setAndAllowWhileIdle() 160 public static void setExact(@NonNull AlarmManager alarmManager, int type, long triggerAtMillis, in setExact() argument 163 alarmManager.setExact(type, triggerAtMillis, operation); in setExact() 165 alarmManager.set(type, triggerAtMillis, operation); in setExact() 221 long triggerAtMillis, @NonNull PendingIntent operation) { in setExactAndAllowWhileIdle() argument 223 alarmManager.setExactAndAllowWhileIdle(type, triggerAtMillis, operation); in setExactAndAllowWhileIdle() 225 AlarmManagerCompat.setExact(alarmManager, type, triggerAtMillis, operation); in setExactAndAllowWhileIdle()
|
/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/background/systemalarm/ |
D | Alarms.java | 58 long triggerAtMillis) { in setAlarm() argument 65 setExactAlarm(context, workSpecId, systemIdInfo.systemId, triggerAtMillis); in setAlarm() 71 setExactAlarm(context, workSpecId, alarmId, triggerAtMillis); in setAlarm() 119 long triggerAtMillis) { in setExactAlarm() argument 127 alarmManager.setExact(RTC_WAKEUP, triggerAtMillis, pendingIntent); in setExactAlarm() 129 alarmManager.set(RTC_WAKEUP, triggerAtMillis, pendingIntent); in setExactAlarm()
|
/frameworks/base/tests/utils/testutils/java/android/app/test/ |
D | TestAlarmManager.java | 112 public PendingAlarm(int type, long triggerAtMillis, String tag, Runnable callback) { in PendingAlarm() argument 114 mTriggerAtMillis = triggerAtMillis; in PendingAlarm() 139 public void answer(int type, long triggerAtMillis, String tag, in answer() argument 141 mPendingAlarms.add(new PendingAlarm(type, triggerAtMillis, tag, in answer()
|
/frameworks/support/work/workmanager-firebase/src/main/java/androidx/work/impl/background/firebase/ |
D | FirebaseJobScheduler.java | 103 long triggerAtMillis = workSpec.calculateNextRunTime(); in scheduleLater() local 105 mAlarmManager.setExact(AlarmManager.RTC_WAKEUP, triggerAtMillis, pendingIntent); in scheduleLater() 107 mAlarmManager.set(AlarmManager.RTC_WAKEUP, triggerAtMillis, pendingIntent); in scheduleLater()
|
/frameworks/base/services/core/java/com/android/server/twilight/ |
D | TwilightService.java | 236 final long triggerAtMillis = state.isNight() in updateTwilightState() local 238 mAlarmManager.setExact(AlarmManager.RTC, triggerAtMillis, TAG, this, mHandler); in updateTwilightState()
|