Home
last modified time | relevance | path

Searched refs:CALENDAR_ID (Results 1 – 11 of 11) sorted by relevance

/packages/apps/Car/CompanionDeviceSupport/tests/unit/src/com/android/car/companiondevicesupport/feature/calendarsync/
DCalendarImporterTest.java65 private static final String CALENDAR_ID = "42"; field in CalendarImporterTest
123 when(mCursor.getString(eq(0))).thenReturn(CALENDAR_ID); in findCalendar()
125 assertEquals(CALENDAR_ID, in findCalendar()
145 when(mCursor.getString(eq(0))).thenReturn(CALENDAR_ID); in importCalendarsWithExistingCalendar()
160 argThat(eventMatcher(CALENDAR_ID, mEventProtoBuilder1.build()))); in importCalendarsWithExistingCalendar()
163 argThat(eventMatcher(CALENDAR_ID, mEventProtoBuilder2.build()))); in importCalendarsWithExistingCalendar()
223 return argument.getAsString(Events.CALENDAR_ID).equals(calendarId) && in eventMatcher()
DCalendarCleanerTest.java131 verifyDelete(Events.CONTENT_URI, Events.CALENDAR_ID, CALENDAR_IDENTIFIER); in eraseCalendar()
160 verifyDelete(Events.CONTENT_URI, Events.CALENDAR_ID, CALENDAR_IDENTIFIER); in eraseCalendars()
163 verifyDelete(Events.CONTENT_URI, Events.CALENDAR_ID, secondCalendarId); in eraseCalendars()
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarDatabaseHelper.java84 Events.CALENDAR_ID + "," +
201 " WHERE " + CalendarContract.Events.CALENDAR_ID + "=" +
221 + Tables.CALENDARS + " WHERE " + Calendars._ID + "=new." + Events.CALENDAR_ID
223 + Tables.CALENDARS + " WHERE " + Calendars._ID + "=new." + Events.CALENDAR_ID
528 CalendarContract.Events.CALENDAR_ID + " INTEGER NOT NULL," + in createEventsTable()
587 + CalendarContract.Events.CALENDAR_ID + ");"); in createEventsTable()
1583 + Tables.CALENDARS + " WHERE " + Calendars._ID + "=new." + Events.CALENDAR_ID in upgradeToVersion400()
1586 + Events.CALENDAR_ID + ") AND " + Colors.COLOR_KEY + "=" + "new." in upgradeToVersion400()
3196 + CalendarContract.Events.CALENDAR_ID + "," in createEventsView()
3260 + " ON (" + Tables.EVENTS + "." + Events.CALENDAR_ID in createEventsView()
DCalendarDebug.java99 String where = CalendarContract.Events.CALENDAR_ID + "=" + id; in doInBackground()
110 String dirtyWhere = CalendarContract.Events.CALENDAR_ID + "=" + id in doInBackground()
DCalendarProvider2.java235 Tables.EVENTS + "." + Events.CALENDAR_ID + "=" + Tables.CALENDARS + "." + Calendars._ID;
244 Tables.EVENTS + "." + Events.CALENDAR_ID + "=" + Tables.CALENDARS + "." + Calendars._ID;
1919 int calIdCol = cursor.getColumnIndex(Events.CALENDAR_ID); in handleInsertException()
2167 long calendarId = values.getAsLong(Events.CALENDAR_ID); in handleInsertException()
2242 String calendarId = values.getAsString(Events.CALENDAR_ID); in backfillExceptionOriginalIds()
2253 Events.ORIGINAL_SYNC_ID + "=? AND " + Events.CALENDAR_ID + "=?", in backfillExceptionOriginalIds()
2374 Long calendar_id = updatedValues.getAsLong(Events.CALENDAR_ID); in insertInTransactionInner()
2409 updatedValues.getAsString(Events.CALENDAR_ID)); in insertInTransactionInner()
2811 if (TextUtils.isEmpty(values.getAsString(Events.CALENDAR_ID))) { in validateEventData()
2882 Events._SYNC_ID + "=?" + " AND " + Events.CALENDAR_ID + "=?", in getOriginalId()
[all …]
DCalendarInstancesHelper.java121 Events.CALENDAR_ID,
182 int calendarIdColumn = entries.getColumnIndex(Events.CALENDAR_ID); in performInstanceExpansion()
/packages/apps/Car/CompanionDeviceSupport/src/com/android/car/companiondevicesupport/feature/calendarsync/
DCalendarCleaner.java41 CalendarContract.Events.CALENDAR_ID + " = ?";
DCalendarImporter.java162 values.put(CalendarContract.Events.CALENDAR_ID, calId); in insertEvent()
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
DCalendarProvider2Test.java1289 m.put(Events.CALENDAR_ID, calId); in eventInfoToContentValues()
2176 Cursor cursor = db.query("Events", null, Events.CALENDAR_ID + "=?", new String[] {calendar}, in checkEvents()
3308 Instances.CALENDAR_ID, in testEnterpriseInstancesGetCorrectValue()
3382 Events.CALENDAR_ID, in testEnterpriseEventsGetCorrectValue()
3418 Events.CALENDAR_ID, in testEnterpriseEventsGetCorrectValueWithId()
3469 cursor.getColumnIndex(Events.CALENDAR_ID))); in testEnterpriseEventsProjectionCalibration()
3483 "(" + Events.CALENDAR_ID + " = ? )", in cleanupEnterpriseTestForEvents()
3491 cv.put(Events.CALENDAR_ID, calendarId); in insertWorkEvent()
/packages/providers/CalendarProvider/src/com/android/providers/calendar/enterprise/
DCrossProfileCalendarHelper.java47 EVENTS_TABLE_WHITELIST.add(CalendarContract.Events.CALENDAR_ID);
/packages/apps/Calendar/src/com/android/calendar/
DEventInfoFragment.java175 Events.CALENDAR_ID, // 4 do not remove; used in DeleteEventHelper