Searched refs:alarmReason (Results 1 – 2 of 2) sorted by relevance
108 final @AlarmReason int alarmReason = bundle.getInt(ALARM_REASON, -1 /* undefined */); in onReceive() local109 if (alarmReason < 0) { in onReceive()114 + alarmReason); in onReceive()125 return getCheckInFuture(context, alarmReason); in onReceive()145 @AlarmReason int alarmReason) { in getCheckInFuture() argument153 switch (alarmReason) { in getCheckInFuture()213 public static void scheduleAlarm(Context context, @AlarmReason int alarmReason) { in scheduleAlarm() argument217 bundle.putInt(ALARM_REASON, alarmReason); in scheduleAlarm()225 LogUtil.i(TAG, "Alarm scheduled, reason: " + alarmReason); in scheduleAlarm()232 public void scheduleAlarmAndTerminate(Context context, @AlarmReason int alarmReason) { in scheduleAlarmAndTerminate() argument[all …]
163 private Intent getIntentForAlarmReason(@AlarmReason int alarmReason) { in getIntentForAlarmReason() argument167 bundle.putInt(ALARM_REASON, alarmReason); in getIntentForAlarmReason()173 @AlarmReason int alarmReason) { in sendBroadcastToWorkFailureAlarmReceiver()177 getIntentForAlarmReason(alarmReason), in sendBroadcastToWorkFailureAlarmReceiver()