Home
last modified time | relevance | path

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

/packages/apps/Calendar/src/com/android/calendar/alerts/
DAlertUtils.java233 private static String getFiredAlertsKey(long eventId, long beginTime,
238 sb.append(beginTime);
247 static boolean hasAlertFiredInSharedPrefs(Context context, long eventId, long beginTime,
250 return prefs.contains(getFiredAlertsKey(eventId, beginTime, alarmTime));
256 static void setAlertFiredInSharedPrefs(Context context, long eventId, long beginTime,
262 editor.putLong(getFiredAlertsKey(eventId, beginTime, alarmTime), alarmTime);
DAlertService.java608 final long beginTime = alertCursor.getLong(ALERT_INDEX_BEGIN); in processQuery() local
665 beginTime, alarmTime); in processQuery()
680 .append(" beginTime:").append(beginTime) in processQuery()
735 AlertUtils.setAlertFiredInSharedPrefs(context, eventId, beginTime, in processQuery()
755 description, beginTime, endTime, eventId, allDay, newAlert); in processQuery()
759 long beginTimeAdjustedForAllDay = beginTime; in processQuery()
763 beginTimeAdjustedForAllDay = Utils.convertAlldayUtcToLocal(null, beginTime, in processQuery()
814 getGracePeriodMs(beginTime, endTime, allDay); in processQuery()
839 private static long getGracePeriodMs(long beginTime, long endTime, boolean allDay) {
845 return Math.max(MIN_DEPRIORITIZE_GRACE_PERIOD_MS, ((endTime - beginTime) / 4));
/packages/apps/Messaging/src/com/android/messaging/sms/
DSmsSender.java230 final long beginTime = SystemClock.elapsedRealtime(); in sendMessage() local
241 waitTime = smsSendTimeoutInMillis - (SystemClock.elapsedRealtime() - beginTime); in sendMessage()
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarInstancesHelper.java476 long beginTime = originalValues.getAsLong(Instances.BEGIN); in performInstanceExpansion() local
477 if (beginTime == originalTime) { in performInstanceExpansion()