/packages/apps/Calendar/src/com/android/calendar/alerts/ |
SnoozeAlarmsService.java | 27 import android.provider.CalendarContract.CalendarAlerts; 35 CalendarAlerts.STATE, 71 Uri uri = CalendarAlerts.CONTENT_URI; 72 String selection = CalendarAlerts.STATE + "=" + CalendarAlerts.STATE_FIRED + " AND " + 73 CalendarAlerts.EVENT_ID + "=" + eventId; 75 dismissValues.put(PROJECTION[COLUMN_INDEX_STATE], CalendarAlerts.STATE_DISMISSED);
|
DismissAlarmsService.java | 27 import android.provider.CalendarContract.CalendarAlerts; 46 CalendarAlerts.STATE, 73 Uri uri = CalendarAlerts.CONTENT_URI; 79 selection = CalendarAlerts.STATE + "=" + CalendarAlerts.STATE_FIRED + " AND " + 80 CalendarAlerts.EVENT_ID + "=" + eventId; 89 selection = CalendarAlerts.STATE + "=" + CalendarAlerts.STATE_FIRED; 96 values.put(PROJECTION[COLUMN_INDEX_STATE], CalendarAlerts.STATE_DISMISSED); 118 selection.append(CalendarAlerts.STATE) [all...] |
AlertActivity.java | 31 import android.provider.CalendarContract.CalendarAlerts; 57 CalendarAlerts._ID, // 0 58 CalendarAlerts.TITLE, // 1 59 CalendarAlerts.EVENT_LOCATION, // 2 60 CalendarAlerts.ALL_DAY, // 3 61 CalendarAlerts.BEGIN, // 4 62 CalendarAlerts.END, // 5 63 CalendarAlerts.EVENT_ID, // 6 64 CalendarAlerts.CALENDAR_COLOR, // 7 65 CalendarAlerts.RRULE, // [all...] |
AlertService.java | 39 import android.provider.CalendarContract.CalendarAlerts; 66 CalendarAlerts._ID, // 0 67 CalendarAlerts.EVENT_ID, // 1 68 CalendarAlerts.STATE, // 2 69 CalendarAlerts.TITLE, // 3 70 CalendarAlerts.EVENT_LOCATION, // 4 71 CalendarAlerts.SELF_ATTENDEE_STATUS, // 5 72 CalendarAlerts.ALL_DAY, // 6 73 CalendarAlerts.ALARM_TIME, // 7 74 CalendarAlerts.MINUTES, // [all...] |
AlertUtils.java | 28 import android.provider.CalendarContract.CalendarAlerts; 135 Uri.Builder builder = CalendarAlerts.CONTENT_URI.buildUpon(); 140 intent.putExtra(CalendarContract.CalendarAlerts.ALARM_TIME, alarmTime); 205 values.put(CalendarAlerts.EVENT_ID, eventId); 206 values.put(CalendarAlerts.BEGIN, begin); 207 values.put(CalendarAlerts.END, end); 208 values.put(CalendarAlerts.ALARM_TIME, alarmTime); 210 values.put(CalendarAlerts.CREATION_TIME, currentTime); 211 values.put(CalendarAlerts.RECEIVED_TIME, 0); 212 values.put(CalendarAlerts.NOTIFY_TIME, 0) [all...] |
GlobalDismissManager.java | 29 import android.provider.CalendarContract.CalendarAlerts; 500 String selection = "(" + CalendarAlerts.STATE + "=" + 501 CalendarAlerts.STATE_FIRED + " OR " + 502 CalendarAlerts.STATE + "=" + 503 CalendarAlerts.STATE_SCHEDULED + ") AND " + 504 CalendarAlerts.EVENT_ID + "=" + eventId + " AND " + 505 CalendarAlerts.BEGIN + "=" + globalDismissId.mStartTime; 506 values.put(CalendarAlerts.STATE, CalendarAlerts.STATE_DISMISSED); 507 int rows = resolver.update(CalendarAlerts.CONTENT_URI, values [all...] |
AlarmScheduler.java | 75 // the CalendarAlerts table until the alert time, so for the unbundled app's 77 // read from the CalendarAlerts table until the alert is present. 318 intent.putExtra(CalendarContract.CalendarAlerts.ALARM_TIME, alarmTime);
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
CalendarAlarmManager.java | 35 import android.provider.CalendarContract.CalendarAlerts; 77 "_id IN (SELECT ca." + CalendarAlerts._ID + " FROM " 83 + " (ca." + CalendarAlerts.EVENT_ID + "=r." + Reminders.EVENT_ID 84 + " AND ca." + CalendarAlerts.MINUTES + "=r." + Reminders.MINUTES + ")" 86 + " (ca." + CalendarAlerts.EVENT_ID + "=e." + Events._ID + ")" 88 + " OR ca." + CalendarAlerts.ALARM_TIME + "<?" 90 + " AND ca." + CalendarAlerts.MINUTES + "<>0)" 104 * Alarms older than this threshold will be deleted from the CalendarAlerts 258 * a database table called CalendarAlerts which persists across reboots. But 261 * CalendarAlerts table when we start up the CalendarProvider2. Schedulin [all...] |
CalendarDatabaseHelper.java | 148 public static final String CALENDAR_ALERTS = "CalendarAlerts"; 179 " WHERE " + CalendarContract.CalendarAlerts.EVENT_ID + "=" + 462 CalendarContract.CalendarAlerts._ID + " INTEGER PRIMARY KEY," + 463 CalendarContract.CalendarAlerts.EVENT_ID + " INTEGER," + 464 CalendarContract.CalendarAlerts.BEGIN + " INTEGER NOT NULL," + // UTC millis 465 CalendarContract.CalendarAlerts.END + " INTEGER NOT NULL," + // UTC millis 466 CalendarContract.CalendarAlerts.ALARM_TIME + " INTEGER NOT NULL," + // UTC millis 468 CalendarContract.CalendarAlerts.CREATION_TIME + " INTEGER NOT NULL DEFAULT 0," + 470 CalendarContract.CalendarAlerts.RECEIVED_TIME + " INTEGER NOT NULL DEFAULT 0," + 472 CalendarContract.CalendarAlerts.NOTIFY_TIME + " INTEGER NOT NULL DEFAULT 0," [all...] |
CalendarProvider2.java | 47 import android.provider.CalendarContract.CalendarAlerts; 234 Tables.CALENDAR_ALERTS + "." + CalendarAlerts.EVENT_ID; 238 Tables.CALENDAR_ALERTS + "." + CalendarAlerts.EVENT_ID + 240 Tables.CALENDAR_ALERTS + "." + CalendarAlerts._ID + "=?"; [all...] |
/frameworks/base/core/java/android/provider/ |
CalendarContract.java | [all...] |
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/ |
CalendarProvider2Test.java | [all...] |
/packages/apps/Calendar/tests/src/com/android/calendar/alerts/ |
AlertServiceTest.java | 27 import android.provider.CalendarContract.CalendarAlerts; 167 public static final int SCHEDULED = CalendarAlerts.STATE_SCHEDULED; 168 public static final int FIRED = CalendarAlerts.STATE_FIRED; 169 public static final int DISMISSED = CalendarAlerts.STATE_DISMISSED; 261 // CalendarAlerts table [all...] |
/cts/tests/tests/provider/src/android/provider/cts/ |
CalendarTest.java | [all...] |
/frameworks/base/config/ |
compiled-classes-phone | [all...] |
/external/robolectric/v1/lib/main/ |
android.jar | |
/prebuilts/sdk/14/ |
android.jar | |
/prebuilts/sdk/15/ |
android.jar | |
/prebuilts/sdk/18/ |
android.jar | |
/prebuilts/sdk/19/ |
android.jar | |
/prebuilts/sdk/21/ |
android.jar | |
/prebuilts/sdk/25/ |
android.jar | |
/prebuilts/tools/common/m2/repository/com/google/android/android/4.0.1.2/ |
android-4.0.1.2.jar | |
/prebuilts/tools/common/m2/repository/com/google/android/android/4.1.1.4/ |
android-4.1.1.4.jar | |