Lines Matching refs:time
152 long time = 0; in createContentValues() local
154 time = calculateAlarm(alarm); in createContentValues()
160 values.put(Alarm.Columns.ALARM_TIME, time); in createContentValues()
272 long time = 0; in enableAlarmInternal() local
274 time = calculateAlarm(alarm); in enableAlarmInternal()
276 values.put(Alarm.Columns.ALARM_TIME, time); in enableAlarmInternal()
325 if (a.time == 0) { in calculateNextAlert()
326 a.time = calculateAlarm(a); in calculateNextAlert()
332 if (a.time < now) { in calculateNextAlert()
333 Log.v("Disabling expired alarm set for " + Log.formatTime(a.time)); in calculateNextAlert()
338 if (a.time < minTime) { in calculateNextAlert()
339 minTime = a.time; in calculateNextAlert()
361 if (alarm.time != 0 && alarm.time < now) { in disableExpiredAlarms()
363 Log.formatTime(alarm.time)); in disableExpiredAlarms()
381 enableAlert(context, alarm, alarm.time); in setNextAlert()
449 final long time) { in saveSnoozeAlert() argument
460 ed.putLong(getAlarmPrefSnoozeTimeKey(id), time); in saveSnoozeAlert() local
542 final long time = prefs.getLong(getAlarmPrefSnoozeTimeKey(alarm.id), -1); in updateAlarmTimeForSnooze() local
546 alarm.time = time; in updateAlarmTimeForSnooze()