Home
last modified time | relevance | path

Searched refs:currentMillis (Results 1 – 9 of 9) sorted by relevance

/packages/apps/Calendar/src/com/android/calendar/alerts/
DAlarmScheduler.java111 int batchSize, long currentMillis) { in scheduleNextAlarm() argument
115 currentMillis); in scheduleNextAlarm()
118 context.getContentResolver(), alarmManager, batchSize, currentMillis); in scheduleNextAlarm()
131 long currentMillis) { in queryUpcomingEvents() argument
135 final long localStartMin = currentMillis; in queryUpcomingEvents()
178 int batchSize, long currentMillis) { in queryNextReminderAndSchedule() argument
253 if (alarmTime > currentMillis && alarmTime < nextAlarmTime) { in queryNextReminderAndSchedule()
281 scheduleAlarm(context, nextAlarmEventId, nextAlarmTime, currentMillis, alarmManager); in queryNextReminderAndSchedule()
291 long currentMillis, AlarmManagerInterface alarmManager) { in scheduleAlarm() argument
295 long maxAlarmTime = currentMillis + MAX_ALARM_ELAPSED_MS; in scheduleAlarm()
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarAlarmManager.java256 final long currentMillis = System.currentTimeMillis(); in scheduleNextAlarmLocked() local
257 final long start = currentMillis - SCHEDULE_ALARM_SLACK; in scheduleNextAlarmLocked()
258 final long end = currentMillis + DateUtils.DAY_IN_MILLIS; in scheduleNextAlarmLocked()
275 currentMillis - CLEAR_OLD_ALARM_THRESHOLD) }; in scheduleNextAlarmLocked()
282 final long tmpAlarmTime = CalendarAlerts.findNextAlarmTime(resolver, currentMillis); in scheduleNextAlarmLocked()
346 String.valueOf(currentMillis), String.valueOf(start), String.valueOf(nextAlarmTime), in scheduleNextAlarmLocked()
347 String.valueOf(currentMillis) }; in scheduleNextAlarmLocked()
452 scheduleAlarm(currentMillis); in scheduleNextAlarmLocked()
/packages/apps/DocumentsUI/src/com/android/documentsui/picker/
DPickResult.java69 public void increaseDuration(long currentMillis) { in increaseDuration() argument
70 mDuration += currentMillis - mPickStartTime; in increaseDuration()
71 setPickStartTime(currentMillis); in increaseDuration()
/packages/modules/StatsD/statsd/src/anomaly/
DAlarmTracker.cpp33 const int64_t currentMillis, in AlarmTracker() argument
43 mAlarmSec = findNextAlarmSec(currentMillis / MS_PER_SEC); // round up in AlarmTracker()
DAlarmTracker.h35 const int64_t currentMillis,
/packages/apps/Dialer/java/com/android/dialer/database/
DDialerDatabaseHelper.java500 SQLiteDatabase db, Cursor updatedContactCursor, Long currentMillis) { in insertUpdatedContactsAndNumberPrefix() argument
593 insert.bindLong(14, currentMillis); in insertUpdatedContactsAndNumberPrefix()
698 final Long currentMillis = System.currentTimeMillis(); in updateSmartDialDatabase() local
769 insertUpdatedContactsAndNumberPrefix(db, updatedPhoneCursor, currentMillis); in updateSmartDialDatabase()
792 + currentMillis, in updateSmartDialDatabase()
876 editor.putLong(LAST_UPDATED_MILLIS, currentMillis); in updateSmartDialDatabase()
/packages/apps/Calendar/src/com/android/calendar/
DUtils.java1314 public static String getDisplayedDatetime(long startMillis, long endMillis, long currentMillis, in getDisplayedDatetime() argument
1324 currentTime.set(currentMillis); in getDisplayedDatetime()
1334 localStartMillis, currentMillis, currentTime.gmtoff); in getDisplayedDatetime()
1356 currentMillis, currentTime.gmtoff); in getDisplayedDatetime()
1429 long currentMillis, long localGmtOffset) { in isTodayOrTomorrow() argument
1431 int currentDay = Time.getJulianDay(currentMillis, localGmtOffset); in isTodayOrTomorrow()
DAllInOneActivity.java498 long currentMillis = System.currentTimeMillis(); in onResume() local
500 if (currentMillis > mIntentEventStartMillis && currentMillis < mIntentEventEndMillis) { in onResume()
501 selectedTime = currentMillis; in onResume()
/packages/apps/Calendar/src/com/android/calendar/month/
DSimpleDayPickerFragment.java130 long currentMillis = midnight.toMillis(true);
136 long millisToMidnight = midnight.normalize(true) - currentMillis;