Home
last modified time | relevance | path

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

/cts/tests/AlarmManager/app/src/android/alarmmanager/alarmtestapp/cts/
DTestAlarmScheduler.java68 final long triggerTime = intent.getLongExtra(EXTRA_TRIGGER_TIME, 0); in onReceive() local
72 Log.d(TAG, "Setting alarm: type=" + type + ", triggerTime=" + triggerTime in onReceive()
75 am.setRepeating(type, triggerTime, interval, alarmSender); in onReceive()
77 am.setExactAndAllowWhileIdle(type, triggerTime, alarmSender); in onReceive()
79 am.setExact(type, triggerTime, alarmSender); in onReceive()
/cts/tests/tests/batterysaving/apps/app_target_api_current/src/android/os/cts/batterysaving/app/
DCommReceiver.java96 final long triggerTime = req.getTriggerTime(); in handleBatterySaverBgServiceRequest() local
103 Log.d(TAG, "Setting alarm: type=" + type + ", triggerTime=" + triggerTime in handleBatterySaverBgServiceRequest()
106 am.setRepeating(type, triggerTime, interval, alarmSender); in handleBatterySaverBgServiceRequest()
108 am.setExactAndAllowWhileIdle(type, triggerTime, alarmSender); in handleBatterySaverBgServiceRequest()
110 am.setExact(type, triggerTime, alarmSender); in handleBatterySaverBgServiceRequest()
/cts/tests/AlarmManager/src/android/alarmmanager/cts/
DAppStandbyTests.java276 final long triggerTime = SystemClock.elapsedRealtime() + MIN_FUTURITY; in testBucketUpgradeToSmallerDelay() local
279 scheduleAlarm(triggerTime, false, 0); in testBucketUpgradeToSmallerDelay()
433 final long triggerTime = SystemClock.elapsedRealtime() + MIN_FUTURITY; in testPowerWhitelistedAlarmNotBlocked() local
434 scheduleAlarm(triggerTime, false, 0); in testPowerWhitelistedAlarmNotBlocked()