Home
last modified time | relevance | path

Searched refs:triggerMillis (Results 1 – 3 of 3) sorted by relevance

/cts/tests/tests/batterysaving/src/android/os/cts/batterysaving/
DBatterySaverAlarmTest.java118 private void scheduleAlarm(String targetPackage, int type, long triggerMillis) in scheduleAlarm() argument
120 scheduleAlarm(targetPackage, type, triggerMillis, /*whileIdle=*/ true); in scheduleAlarm()
123 private void scheduleAlarm(String targetPackage, int type, long triggerMillis, in scheduleAlarm() argument
125 Log.d(TAG, "Setting an alarm at " + triggerMillis + " (in " in scheduleAlarm()
126 + (triggerMillis - SystemClock.elapsedRealtime()) + "ms)"); in scheduleAlarm()
131 .setTriggerTime(triggerMillis) in scheduleAlarm()
/cts/tests/AlarmManager/src/android/alarmmanager/cts/
DBackgroundRestrictedAlarmsTest.java96 private void scheduleAlarm(int type, long triggerMillis, long interval) { in scheduleAlarm() argument
100 setAlarmIntent.putExtra(TestAlarmScheduler.EXTRA_TRIGGER_TIME, triggerMillis); in scheduleAlarm()
DAppStandbyTests.java177 private void scheduleAlarm(long triggerMillis, boolean allowWhileIdle, long interval) { in scheduleAlarm() argument
181 setAlarmIntent.putExtra(TestAlarmScheduler.EXTRA_TRIGGER_TIME, triggerMillis); in scheduleAlarm()