Searched refs:TestAlarmScheduler (Results 1 – 3 of 3) sorted by relevance
23 import android.alarmmanager.alarmtestapp.cts.TestAlarmScheduler;97 final Intent setAlarmIntent = new Intent(TestAlarmScheduler.ACTION_SET_ALARM); in scheduleAlarm()99 setAlarmIntent.putExtra(TestAlarmScheduler.EXTRA_TYPE, type); in scheduleAlarm()100 setAlarmIntent.putExtra(TestAlarmScheduler.EXTRA_TRIGGER_TIME, triggerMillis); in scheduleAlarm()101 setAlarmIntent.putExtra(TestAlarmScheduler.EXTRA_REPEAT_INTERVAL, interval); in scheduleAlarm()108 final Intent setAlarmClockIntent = new Intent(TestAlarmScheduler.ACTION_SET_ALARM_CLOCK); in scheduleAlarmClock()110 setAlarmClockIntent.putExtra(TestAlarmScheduler.EXTRA_ALARM_CLOCK_INFO, alarmInfo); in scheduleAlarmClock()155 final Intent cancelAlarmsIntent = new Intent(TestAlarmScheduler.ACTION_CANCEL_ALL_ALARMS); in tearDown()
26 import android.alarmmanager.alarmtestapp.cts.TestAlarmScheduler;178 final Intent setAlarmIntent = new Intent(TestAlarmScheduler.ACTION_SET_ALARM); in scheduleAlarm()180 setAlarmIntent.putExtra(TestAlarmScheduler.EXTRA_TYPE, ELAPSED_REALTIME_WAKEUP); in scheduleAlarm()181 setAlarmIntent.putExtra(TestAlarmScheduler.EXTRA_TRIGGER_TIME, triggerMillis); in scheduleAlarm()182 setAlarmIntent.putExtra(TestAlarmScheduler.EXTRA_REPEAT_INTERVAL, interval); in scheduleAlarm()183 setAlarmIntent.putExtra(TestAlarmScheduler.EXTRA_ALLOW_WHILE_IDLE, allowWhileIdle); in scheduleAlarm()191 final Intent setAlarmClockIntent = new Intent(TestAlarmScheduler.ACTION_SET_ALARM_CLOCK); in scheduleAlarmClock()193 setAlarmClockIntent.putExtra(TestAlarmScheduler.EXTRA_ALARM_CLOCK_INFO, alarmInfo); in scheduleAlarmClock()445 final Intent cancelAlarmsIntent = new Intent(TestAlarmScheduler.ACTION_CANCEL_ALL_ALARMS); in tearDown()
30 public class TestAlarmScheduler extends BroadcastReceiver { class31 private static final String TAG = TestAlarmScheduler.class.getSimpleName();