/packages/apps/Settings/src/com/android/settings/notification/ |
D | ZenModeEventRuleSettings.java | 108 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 …]
|
D | ZenRuleSelectionDialog.java | 173 event.calendarId = null; in defaultNewEvent()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/ |
D | ZenModeEventRuleSettings.java | 108 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 …]
|
D | ZenRuleSelectionDialog.java | 173 event.calendarId = null; in defaultNewEvent()
|
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/ |
D | CalendarProvider2Test.java | 3295 final long calendarId = insertWorkCalendar(WORK_CALENDAR_TITLE); in testEnterpriseInstancesGetCorrectValue() local 3296 insertWorkEvent(WORK_EVENT_TITLE, calendarId, in testEnterpriseInstancesGetCorrectValue() 3298 insertWorkEvent(WORK_EVENT_TITLE_STANDBY, calendarId, in testEnterpriseInstancesGetCorrectValue() 3321 assertEquals(calendarId, cursor.getLong(1)); in testEnterpriseInstancesGetCorrectValue() 3326 cleanupEnterpriseTestForEvents(calendarId, 2); in testEnterpriseInstancesGetCorrectValue() 3331 final long calendarId = insertWorkCalendar(WORK_CALENDAR_TITLE); in testEnterpriseInstancesContentSearch() local 3332 insertWorkEvent(WORK_EVENT_TITLE, calendarId, in testEnterpriseInstancesContentSearch() 3334 insertWorkEvent(WORK_EVENT_TITLE_STANDBY, calendarId, in testEnterpriseInstancesContentSearch() 3362 cleanupEnterpriseTestForEvents(calendarId, 2); in testEnterpriseInstancesContentSearch() 3367 final long calendarId = insertWorkCalendar(WORK_CALENDAR_TITLE); in testEnterpriseEventsGetCorrectValue() local [all …]
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
D | CalendarInstancesHelper.java | 256 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()
|
D | CalendarProvider2.java | 2167 long calendarId = values.getAsLong(Events.CALENDAR_ID); in handleInsertException() local 2168 String accountName = getOwner(calendarId); in handleInsertException() 2242 String calendarId = values.getAsString(Events.CALENDAR_ID); in backfillExceptionOriginalIds() local 2244 if (TextUtils.isEmpty(syncId) || TextUtils.isEmpty(calendarId) || in backfillExceptionOriginalIds() 2254 new String[] { syncId, calendarId }); in backfillExceptionOriginalIds() 2873 private long getOriginalId(String originalSyncId, String calendarId) { in getOriginalId() argument 2874 if (TextUtils.isEmpty(originalSyncId) || TextUtils.isEmpty(calendarId)) { in getOriginalId() 2883 new String[] {originalSyncId, calendarId}, null); in getOriginalId()
|
/packages/apps/Car/CompanionDeviceSupport/src/com/android/car/companiondevicesupport/feature/calendarsync/ |
D | CalendarImporter.java | 96 int calendarId = findCalendar(calendar.getUuid()); in findOrCreateCalendar() local 97 if (calendarId != INVALID_CALENDAR_ID) { in findOrCreateCalendar() 98 return calendarId; in findOrCreateCalendar()
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | CalendarController.java | 154 public long calendarId; field in CalendarController.EventInfo 341 long selectedMillis, String title, long calendarId) { in sendEventRelatedEventWithExtraWithTitleWithCalendarId() argument 363 info.calendarId = calendarId; in sendEventRelatedEventWithExtraWithTitleWithCalendarId()
|
/packages/apps/Car/CompanionDeviceSupport/tests/unit/src/com/android/car/companiondevicesupport/feature/calendarsync/ |
D | CalendarImporterTest.java | 214 private ArgumentMatcher<ContentValues> eventMatcher(String calendarId, in eventMatcher() argument 223 return argument.getAsString(Events.CALENDAR_ID).equals(calendarId) && in eventMatcher()
|