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.java123 private void scheduleAlarm(String targetPackage, int type, long triggerMillis) in scheduleAlarm() argument
125 scheduleAlarm(targetPackage, type, triggerMillis, /*whileIdle=*/ true, in scheduleAlarm()
129 private void scheduleAlarm(String targetPackage, int type, long triggerMillis, in scheduleAlarm() argument
131 Log.d(TAG, "Setting an alarm at " + triggerMillis + " (in " in scheduleAlarm()
132 + (triggerMillis - SystemClock.elapsedRealtime()) + "ms)"); in scheduleAlarm()
137 .setTriggerTime(triggerMillis) in scheduleAlarm()
/cts/tests/AlarmManager/src/android/alarmmanager/cts/
DBackgroundRestrictedAlarmsTest.java122 private void scheduleAlarm(int type, long triggerMillis, long interval) { in scheduleAlarm() argument
126 setAlarmIntent.putExtra(TestAlarmScheduler.EXTRA_TRIGGER_TIME, triggerMillis); in scheduleAlarm()
DAppStandbyTests.java155 private void scheduleAlarm(long triggerMillis, long interval) throws InterruptedException { in scheduleAlarm() argument
159 setAlarmIntent.putExtra(TestAlarmScheduler.EXTRA_TRIGGER_TIME, triggerMillis); in scheduleAlarm()