/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
CalendarAlarmManager.java | 39 import android.provider.CalendarContract.Reminders; 72 + " LEFT OUTER JOIN " + Tables.REMINDERS + " AS r ON" 73 + " (ca." + CalendarAlerts.EVENT_ID + "=r." + Reminders.EVENT_ID 74 + " AND ca." + CalendarAlerts.MINUTES + "=r." + Reminders.MINUTES + ")" 79 + " OR (r." + Reminders.MINUTES + " ISNULL" 84 * We search backward in time for event reminders that we may have missed 100 * problems with missed reminders, set this to something greater than a day. 306 // are milliseconds) and Reminders.minutes (whose units are 312 // Note 1: we can add support for the case where Reminders.minutes 315 // Reminders.minutes != -1 and Reminders.minutes = 1, respectively [all...] |
CalendarDatabaseHelper.java | 36 import android.provider.CalendarContract.Reminders; 123 Reminders.MINUTES + "," + 124 Reminders.METHOD; 147 public static final String REMINDERS = "Reminders"; 175 "DELETE FROM " + Tables.REMINDERS + 176 " WHERE " + CalendarContract.Reminders.EVENT_ID + "=" + 239 /** Selects rows from Reminders for which the event_id refers to a nonexistent Event */ 241 Reminders.EVENT_ID + " IN (SELECT " + Reminders.EVENT_ID + " FROM " [all...] |
CalendarProvider2.java | 51 import android.provider.CalendarContract.Reminders; 233 Tables.REMINDERS + "." + Reminders._ID + "=? AND " + 234 Tables.EVENTS + "." + Events._ID + "=" + Tables.REMINDERS + "." + Reminders.EVENT_ID + 3439 Cursor reminders = mDb.query(Tables.REMINDERS, new String[] { GENERIC_ID }, local [all...] |
/packages/apps/Calendar/src/com/android/calendar/alerts/ |
AlarmScheduler.java | 30 import android.provider.CalendarContract.Reminders; 44 * and reminders tables for the next upcoming alert. 61 private static final String REMINDERS_WHERE = Reminders.METHOD + "=1 AND " 62 + Reminders.EVENT_ID + " IN "; 64 Reminders.EVENT_ID, 65 Reminders.MINUTES, 66 Reminders.METHOD, 80 // The reminders query looks like "SELECT ... AND eventId IN 101,102,202,...". This 86 // the Reminders table only stores the reminder interval (10min, 15min, etc), and 90 // reminders which are configured for more than 1 week out won't fire on time. W [all...] |
/packages/apps/Calendar/tests/src/com/android/calendar/event/ |
EditEventHelperTest.java | 29 import android.provider.CalendarContract.Reminders; 244 b.withValueBackReference(Reminders.EVENT_ID, id); 1110 ArrayList<ReminderEntry> reminders = new ArrayList<ReminderEntry>(); local 1164 ArrayList<ReminderEntry> reminders = new ArrayList<ReminderEntry>(); local [all...] |
/packages/apps/Calendar/src/com/android/calendar/event/ |
EditEventHelper.java | 30 import android.provider.CalendarContract.Reminders; 122 Reminders._ID, // 0 123 Reminders.MINUTES, // 1 124 Reminders.METHOD, // 2 128 public static final String REMINDERS_WHERE = Reminders.EVENT_ID + "=?"; 317 ArrayList<ReminderEntry> reminders = model.mReminders; local 318 int len = reminders.size(); 431 saveRemindersWithBackRef(ops, eventIdIndex, reminders, originalReminders, 435 saveReminders(ops, eventId, reminders, originalReminders, forceSaveReminders); [all...] |
EditEventFragment.java | 41 import android.provider.CalendarContract.Reminders; 220 Uri rUri = Reminders.CONTENT_URI; 309 // Add all reminders to the models 437 public EditEventFragment(EventInfo event, ArrayList<ReminderEntry> reminders, 443 mReminders = reminders; [all...] |
EditEventView.java | 37 import android.provider.CalendarContract.Reminders; 193 * (e.g. {@link Reminders#METHOD_ALERT}) associated with the labels. Any methods that 1015 ArrayList<ReminderEntry> reminders = model.mReminders; local [all...] |
/cts/tests/tests/provider/src/android/provider/cts/ |
CalendarTest.java | 42 import android.provider.CalendarContract.Reminders; 755 * Helper class for manipulating entries in the Reminders table. 759 Reminders._ID, 760 Reminders.EVENT_ID, 761 Reminders.MINUTES, 762 Reminders.METHOD 780 Uri uri = Reminders.CONTENT_URI; 783 reminder.put(Reminders.EVENT_ID, eventId); 784 reminder.put(Reminders.MINUTES, minutes); 785 reminder.put(Reminders.METHOD, method) [all...] |
/frameworks/base/core/java/android/provider/ |
CalendarContract.java | 59 * one-time or can recur multiple times. Attendees, reminders, and extended 70 * <li>The {@link Reminders} table holds the alert/notification data. Each row 71 * represents a single alert for an event. An event can have multiple reminders. 72 * The number of reminders per event is specified in 74 * the given calendar. Reminders are specified in minutes before the event and 438 * The maximum number of reminders allowed for an event. Column name. 446 * {@link Reminders#METHOD_DEFAULT}, {@link Reminders#METHOD_ALERT}, 447 * {@link Reminders#METHOD_EMAIL}, {@link Reminders#METHOD_SMS} [all...] |
/packages/apps/Calendar/tests/src/com/android/calendar/alerts/ |
AlarmSchedulerTest.java | 25 import android.provider.CalendarContract.Reminders; 119 } else if (Reminders.CONTENT_URI.equals(uri)) { 124 String msg = "Reminders query not as expected.\n"; 140 * Optionally set up expectation for the reminders query selection.
|
/packages/apps/Calendar/src/com/android/calendar/ |
CalendarEventModel.java | 25 import android.provider.CalendarContract.Reminders; 109 * @param method Type of alert ({@link Reminders#METHOD_ALERT}, etc). 122 return valueOf(minutes, Reminders.METHOD_DEFAULT); 129 * @param method Type of alert ({@link Reminders#METHOD_ALERT}, etc). 161 (re.mMethod == Reminders.METHOD_DEFAULT && mMethod == Reminders.METHOD_ALERT) || 162 (re.mMethod == Reminders.METHOD_ALERT && mMethod == Reminders.METHOD_DEFAULT);
|
EventInfoFragment.java | 56 import android.provider.CalendarContract.Reminders; 264 Reminders._ID, // 0 265 Reminders.MINUTES, // 1 266 Reminders.METHOD // 2 272 private static final String REMINDERS_WHERE = Reminders.EVENT_ID + "=?"; 405 * (e.g. {@link Reminders#METHOD_ALERT}) associated with the labels. Any methods that 525 // start reminders query 527 uri = Reminders.CONTENT_URI; 644 ArrayList<ReminderEntry> reminders) { 668 // Pass in null if no reminders are being specified 1945 ArrayList<ReminderEntry> reminders; local [all...] |
/packages/apps/Exchange/src/com/android/exchange/adapter/ |
CalendarSyncParser.java | 19 import android.provider.CalendarContract.Reminders; 116 asSyncAdapter(Reminders.CONTENT_URI, mAccount.mEmailAddress, 222 .withValue(Reminders.MINUTES, mins) 223 .withValue(Reminders.METHOD, Reminders.METHOD_ALERT), [all...] |