/packages/apps/Settings/src/com/android/settings/notification/zen/ |
D | ZenModeEventRuleSettings.java | 109 if (eventCalendar != null && (mEvent.calendarId == null in reloadCalendar() 111 mEvent.calendarId = calendar.calendarId; in reloadCalendar() 139 mEvent.calendarId = key[1].equals("") ? null : Long.parseLong(key[1]); in onCreateInternal() 231 void addCalendar(long calendarId, String calName, int userId, List<CalendarInfo> in addCalendar() argument 234 ci.calendarId = calendarId; in addCalendar() 243 return key(calendar.userId, calendar.calendarId, calendar.name); in key() 247 return key(event.userId, event.calendarId, event.calName); in key() 250 private static String key(int userId, Long calendarId, String displayName) { in key() argument 251 return EventInfo.resolveUserId(userId) + ":" + (calendarId == null ? "" : calendarId) in key() 265 public Long calendarId; field in ZenModeEventRuleSettings.CalendarInfo [all …]
|
D | ZenRuleSelectionDialog.java | 197 event.calendarId = null; in defaultNewEvent()
|
/packages/apps/Settings/src/com/android/settings/notification/modes/ |
D | ZenModeSetCalendarPreferenceController.java | 105 if (eventCalendar != null && (mEvent.calendarId == null in reloadCalendar() 107 mEvent.calendarId = calendar.calendarId; in reloadCalendar() 142 mEvent.calendarId = key[1].equals("") ? null : Long.parseLong(key[1]); 215 protected static void addCalendar(long calendarId, String calName, int userId, in addCalendar() argument 218 ci.calendarId = calendarId; in addCalendar() 227 return key(calendar.userId, calendar.calendarId, calendar.name); in key() 231 return key(event.userId, event.calendarId, event.calName); in key() 235 protected static String key(int userId, Long calendarId, String displayName) { in key() argument 237 + (calendarId == null ? "" : calendarId) in key() 248 public Long calendarId; field in CalendarInfo [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/modes/ |
D | ZenModeSetCalendarPreferenceControllerTest.java | 96 eventInfo.calendarId = 1L; in updateEventMode_updatesConditionAndTriggerDescription() 110 eventInfo.calendarId = 1L; in updateState_setsPreferenceValues() 122 ZenModeSetCalendarPreferenceController.key(eventInfo.userId, eventInfo.calendarId, in updateState_setsPreferenceValues()
|
D | ZenModeSetTriggerLinkPreferenceControllerTest.java | 153 eventInfo.calendarId = 1L; in testRuleLink_calendar()
|
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/ |
D | CalendarProvider2Test.java | 3314 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/apps/Calendar/src/com/android/calendar/ |
D | CalendarController.kt | 128 @JvmField var calendarId: Long = 0 variable in com.android.calendar.EventInfo 298 calendarId: Long in sendEventRelatedEventWithExtraWithTitleWithCalendarId() 320 info.calendarId = calendarId in sendEventRelatedEventWithExtraWithTitleWithCalendarId()
|
/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 | 2190 long calendarId = values.getAsLong(Events.CALENDAR_ID); in handleInsertException() local 2191 String accountName = getOwner(calendarId); in handleInsertException() 2265 String calendarId = values.getAsString(Events.CALENDAR_ID); in backfillExceptionOriginalIds() local 2267 if (TextUtils.isEmpty(syncId) || TextUtils.isEmpty(calendarId) || in backfillExceptionOriginalIds() 2277 new String[] { syncId, calendarId }); in backfillExceptionOriginalIds() 2896 private long getOriginalId(String originalSyncId, String calendarId) { in getOriginalId() argument 2897 if (TextUtils.isEmpty(originalSyncId) || TextUtils.isEmpty(calendarId)) { in getOriginalId() 2906 new String[] {originalSyncId, calendarId}, null); in getOriginalId()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/zen/ |
D | ZenModeEventRuleSettingsTest.java | 117 eventInfo.calendarId = 1L; in updateEventRule_updatesConditionAndTriggerDescription()
|