Home
last modified time | relevance | path

Searched refs:alarmTime (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/java/android/provider/
DCalendarContract.java2264 long begin, long end, long alarmTime, int minutes) { in insert() argument
2269 values.put(CalendarAlerts.ALARM_TIME, alarmTime); in insert()
2300 long alarmTime = -1; in findNextAlarmTime() local
2303 alarmTime = cursor.getLong(0); in findNextAlarmTime()
2310 return alarmTime; in findNextAlarmTime()
2349 long alarmTime = -1; in rescheduleMissedAlarms() local
2353 if (alarmTime != newAlarmTime) { in rescheduleMissedAlarms()
2358 alarmTime = newAlarmTime; in rescheduleMissedAlarms()
2380 public static void scheduleAlarm(Context context, AlarmManager manager, long alarmTime) { in scheduleAlarm() argument
2383 time.set(alarmTime); in scheduleAlarm()
[all …]
/frameworks/base/services/java/com/android/server/content/
DSyncManager.java2720 long alarmTime = Math.min(notificationTime, earliestTimeoutTime); in manageSyncAlarmLocked() local
2721 alarmTime = Math.min(alarmTime, nextPeriodicEventElapsedTime); in manageSyncAlarmLocked()
2722 alarmTime = Math.min(alarmTime, nextPendingEventElapsedTime); in manageSyncAlarmLocked()
2726 if (alarmTime < now + SYNC_ALARM_TIMEOUT_MIN) { in manageSyncAlarmLocked()
2729 + alarmTime + ", setting to " + (now + SYNC_ALARM_TIMEOUT_MIN)); in manageSyncAlarmLocked()
2731 alarmTime = now + SYNC_ALARM_TIMEOUT_MIN; in manageSyncAlarmLocked()
2732 } else if (alarmTime > now + SYNC_ALARM_TIMEOUT_MAX) { in manageSyncAlarmLocked()
2735 + alarmTime + ", setting to " + (now + SYNC_ALARM_TIMEOUT_MIN)); in manageSyncAlarmLocked()
2737 alarmTime = now + SYNC_ALARM_TIMEOUT_MAX; in manageSyncAlarmLocked()
2744 final boolean needAlarm = alarmTime != Long.MAX_VALUE; in manageSyncAlarmLocked()
[all …]
/frameworks/base/services/java/com/android/server/
DDevicePolicyManagerService.java618 final long alarmTime; in setExpirationAlarmCheckLocked() local
621 alarmTime = 0; in setExpirationAlarmCheckLocked()
624 alarmTime = now + MS_PER_DAY; in setExpirationAlarmCheckLocked()
632 alarmTime = now + alarmInterval; in setExpirationAlarmCheckLocked()
643 if (alarmTime != 0) { in setExpirationAlarmCheckLocked()
644 am.set(AlarmManager.RTC, alarmTime, pi); in setExpirationAlarmCheckLocked()
/frameworks/base/api/
Dcurrent.txt19290 field public static final java.lang.String ALARM_TIME = "alarmTime";