Searched refs:whenElapsed (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/alarm/ |
D | AlarmStoreTest.java | 62 private static Alarm createAlarm(long whenElapsed, long windowLength) { in createAlarm() argument 63 return createAlarm(ELAPSED_REALTIME, whenElapsed, windowLength, 0); in createAlarm() 66 private static Alarm createWakeupAlarm(long whenElapsed, long windowLength, int flags) { in createWakeupAlarm() argument 67 return createAlarm(ELAPSED_REALTIME_WAKEUP, whenElapsed, windowLength, flags); in createWakeupAlarm() 70 private static Alarm createAlarmClock(long whenElapsed) { in createAlarmClock() argument 71 final AlarmManager.AlarmClockInfo info = new AlarmManager.AlarmClockInfo(whenElapsed, in createAlarmClock() 73 return new Alarm(ELAPSED_REALTIME_WAKEUP, whenElapsed, whenElapsed, 0, 0, in createAlarmClock() 78 private static Alarm createAlarm(int type, long whenElapsed, long windowLength, int flags) { in createAlarm() argument 79 return new Alarm(type, whenElapsed, whenElapsed, windowLength, 0, mock(PendingIntent.class), in createAlarm()
|
D | AlarmTest.java | 111 public void whenElapsed() { in whenElapsed() method in AlarmTest
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/alarm/ |
D | AlarmManagerService.java | 2283 private void setImplLocked(int type, long when, long whenElapsed, long windowLength, in setImplLocked() argument 2288 final Alarm a = new Alarm(type, when, whenElapsed, windowLength, interval, in setImplLocked()
|