Home
last modified time | relevance | path

Searched refs:calId (Results 1 – 3 of 3) sorted by relevance

/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
DCalendarProvider2Test.java1156 private Uri insertEvent(int calId, EventInfo event) { in insertEvent() argument
1157 return insertEvent(calId, event, null); in insertEvent()
1160 private Uri insertEvent(int calId, EventInfo event, ContentValues cv) { in insertEvent() argument
1167 cv = eventInfoToContentValues(calId, event); in insertEvent()
1183 private ContentValues eventInfoToContentValues(int calId, EventInfo event) { in eventInfoToContentValues() argument
1185 m.put(Events.CALENDAR_ID, calId); in eventInfoToContentValues()
1487 final int calId = insertCal("Calendar0", DEFAULT_TIMEZONE); in testInsertNormalEvents() local
1520 cvs[ii] = eventInfoToContentValues(calId, event); in testInsertNormalEvents()
1521 uris[ii] = insertEvent(calId, event, cvs[ii]); in testInsertNormalEvents()
1551 int calId = insertCal("Calendar0", "America/Los_Angeles"); in testInsertRepeatingEvents() local
[all …]
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarProvider2.java1761 Long calId = cursor.getLong(calIdCol); in handleInsertException() local
1764 if (calId != null) { in handleInsertException()
1765 Account account = getAccount(calId); in handleInsertException()
2702 private String getOwner(long calId) { in getOwner() argument
2703 if (calId < 0) { in getOwner()
2705 Log.e(TAG, "Calendar Id is not valid: " + calId); in getOwner()
2713 cursor = query(ContentUris.withAppendedId(Calendars.CONTENT_URI, calId), in getOwner()
2720 Log.d(TAG, "Couldn't find " + calId + " in Calendars table"); in getOwner()
2733 private Account getAccount(long calId) { in getAccount() argument
2737 cursor = query(ContentUris.withAppendedId(Calendars.CONTENT_URI, calId), in getAccount()
[all …]
/packages/apps/Calendar/src/com/android/calendar/
DDayView.java4509 long calId = cursor.getLong(0); in getEventAccessLevel() local
4513 String where = String.format(CALENDARS_WHERE, calId); in getEventAccessLevel()