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.java119 private void scheduleAlarm(String targetPackage, int type, long triggerMillis) in scheduleAlarm() argument
121 scheduleAlarm(targetPackage, type, triggerMillis, /*whileIdle=*/ true); in scheduleAlarm()
124 private void scheduleAlarm(String targetPackage, int type, long triggerMillis, in scheduleAlarm() argument
126 Log.d(TAG, "Setting an alarm at " + triggerMillis + " (in " in scheduleAlarm()
127 + (triggerMillis - SystemClock.elapsedRealtime()) + "ms)"); in scheduleAlarm()
132 .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()