Searched refs:setAlarmIntent (Results 1 – 2 of 2) sorted by relevance
97 final Intent setAlarmIntent = new Intent(TestAlarmScheduler.ACTION_SET_ALARM); in scheduleAlarm() local98 setAlarmIntent.setComponent(mAlarmScheduler); 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()102 mContext.sendBroadcast(setAlarmIntent); in scheduleAlarm()
178 final Intent setAlarmIntent = new Intent(TestAlarmScheduler.ACTION_SET_ALARM); in scheduleAlarm() local179 setAlarmIntent.setComponent(mAlarmScheduler); 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()184 setAlarmIntent.addFlags(Intent.FLAG_RECEIVER_FOREGROUND); in scheduleAlarm()185 mContext.sendBroadcast(setAlarmIntent); in scheduleAlarm()