Home
last modified time | relevance | path

Searched refs:calendarId (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Settings/src/com/android/settings/notification/zen/
DZenModeEventRuleSettings.java108 if (eventCalendar != null && (mEvent.calendarId == null in reloadCalendar()
110 mEvent.calendarId = calendar.calendarId; in reloadCalendar()
138 mEvent.calendarId = key[1].equals("") ? null : Long.parseLong(key[1]); in onCreateInternal()
230 void addCalendar(long calendarId, String calName, int userId, List<CalendarInfo> in addCalendar() argument
233 ci.calendarId = calendarId; in addCalendar()
242 return key(calendar.userId, calendar.calendarId, calendar.name); in key()
246 return key(event.userId, event.calendarId, event.calName); in key()
249 private static String key(int userId, Long calendarId, String displayName) { in key() argument
250 return EventInfo.resolveUserId(userId) + ":" + (calendarId == null ? "" : calendarId) in key()
264 public Long calendarId; field in ZenModeEventRuleSettings.CalendarInfo
[all …]
DZenRuleSelectionDialog.java173 event.calendarId = null; in defaultNewEvent()
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
DCalendarProvider2Test.java3314 final long calendarId = insertWorkCalendar(WORK_CALENDAR_TITLE); in testEnterpriseInstancesGetCorrectValue() local
3315 insertWorkEvent(WORK_EVENT_TITLE, calendarId, in testEnterpriseInstancesGetCorrectValue()
3317 insertWorkEvent(WORK_EVENT_TITLE_STANDBY, calendarId, in testEnterpriseInstancesGetCorrectValue()
3340 assertEquals(calendarId, cursor.getLong(1)); in testEnterpriseInstancesGetCorrectValue()
3345 cleanupEnterpriseTestForEvents(calendarId, 2); in testEnterpriseInstancesGetCorrectValue()
3350 final long calendarId = insertWorkCalendar(WORK_CALENDAR_TITLE); in testEnterpriseInstancesContentSearch() local
3351 insertWorkEvent(WORK_EVENT_TITLE, calendarId, in testEnterpriseInstancesContentSearch()
3353 insertWorkEvent(WORK_EVENT_TITLE_STANDBY, calendarId, in testEnterpriseInstancesContentSearch()
3381 cleanupEnterpriseTestForEvents(calendarId, 2); in testEnterpriseInstancesContentSearch()
3386 final long calendarId = insertWorkCalendar(WORK_CALENDAR_TITLE); in testEnterpriseEventsGetCorrectValue() local
[all …]
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarInstancesHelper.java256 long calendarId = entries.getLong(calendarIdColumn); in performInstanceExpansion() local
258 String syncIdKey = CalendarInstancesHelper.getSyncIdKey(syncId, calendarId); in performInstanceExpansion()
366 CalendarInstancesHelper.getSyncIdKey(originalEvent, calendarId)); in performInstanceExpansion()
876 static String getSyncIdKey(String syncId, long calendarId) { in getSyncIdKey() argument
877 return calendarId + ":" + syncId; in getSyncIdKey()
DCalendarProvider2.java2191 long calendarId = values.getAsLong(Events.CALENDAR_ID); in handleInsertException() local
2192 String accountName = getOwner(calendarId); in handleInsertException()
2266 String calendarId = values.getAsString(Events.CALENDAR_ID); in backfillExceptionOriginalIds() local
2268 if (TextUtils.isEmpty(syncId) || TextUtils.isEmpty(calendarId) || in backfillExceptionOriginalIds()
2278 new String[] { syncId, calendarId }); in backfillExceptionOriginalIds()
2897 private long getOriginalId(String originalSyncId, String calendarId) { in getOriginalId() argument
2898 if (TextUtils.isEmpty(originalSyncId) || TextUtils.isEmpty(calendarId)) { in getOriginalId()
2907 new String[] {originalSyncId, calendarId}, null); in getOriginalId()
/packages/apps/Calendar/src/com/android/calendar/
DCalendarController.java154 public long calendarId; field in CalendarController.EventInfo
341 long selectedMillis, String title, long calendarId) { in sendEventRelatedEventWithExtraWithTitleWithCalendarId() argument
363 info.calendarId = calendarId; in sendEventRelatedEventWithExtraWithTitleWithCalendarId()