Searched refs:TestAlarmScheduler (Results 1 – 3 of 3) sorted by relevance
23 import android.alarmmanager.alarmtestapp.cts.TestAlarmScheduler;98 final Intent setAlarmIntent = new Intent(TestAlarmScheduler.ACTION_SET_ALARM); in scheduleAlarm()100 setAlarmIntent.putExtra(TestAlarmScheduler.EXTRA_TYPE, type); in scheduleAlarm()101 setAlarmIntent.putExtra(TestAlarmScheduler.EXTRA_TRIGGER_TIME, triggerMillis); in scheduleAlarm()102 setAlarmIntent.putExtra(TestAlarmScheduler.EXTRA_REPEAT_INTERVAL, interval); in scheduleAlarm()109 final Intent setAlarmClockIntent = new Intent(TestAlarmScheduler.ACTION_SET_ALARM_CLOCK); in scheduleAlarmClock()111 setAlarmClockIntent.putExtra(TestAlarmScheduler.EXTRA_ALARM_CLOCK_INFO, alarmInfo); in scheduleAlarmClock()156 final Intent cancelAlarmsIntent = new Intent(TestAlarmScheduler.ACTION_CANCEL_ALL_ALARMS); in tearDown()
26 import android.alarmmanager.alarmtestapp.cts.TestAlarmScheduler;147 final Intent setAlarmIntent = new Intent(TestAlarmScheduler.ACTION_SET_ALARM); in scheduleAlarm()149 setAlarmIntent.putExtra(TestAlarmScheduler.EXTRA_TYPE, ELAPSED_REALTIME_WAKEUP); in scheduleAlarm()150 setAlarmIntent.putExtra(TestAlarmScheduler.EXTRA_TRIGGER_TIME, triggerMillis); in scheduleAlarm()151 setAlarmIntent.putExtra(TestAlarmScheduler.EXTRA_WINDOW_LENGTH, MIN_WINDOW); in scheduleAlarm()152 setAlarmIntent.putExtra(TestAlarmScheduler.EXTRA_REPEAT_INTERVAL, interval); in scheduleAlarm()247 final Intent cancelAlarmsIntent = new Intent(TestAlarmScheduler.ACTION_CANCEL_ALL_ALARMS); in tearDown()
32 public class TestAlarmScheduler extends BroadcastReceiver { class33 private static final String TAG = TestAlarmScheduler.class.getSimpleName();