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.java1137 private Uri insertEvent(int calId, EventInfo event) { in insertEvent() argument
1138 return insertEvent(calId, event, null); in insertEvent()
1141 private Uri insertEvent(int calId, EventInfo event, ContentValues cv) { in insertEvent() argument
1148 cv = eventInfoToContentValues(calId, event); in insertEvent()
1164 private ContentValues eventInfoToContentValues(int calId, EventInfo event) { in eventInfoToContentValues() argument
1166 m.put(Events.CALENDAR_ID, calId); in eventInfoToContentValues()
1468 final int calId = insertCal("Calendar0", DEFAULT_TIMEZONE); in testInsertNormalEvents() local
1501 cvs[ii] = eventInfoToContentValues(calId, event); in testInsertNormalEvents()
1502 uris[ii] = insertEvent(calId, event, cvs[ii]); in testInsertNormalEvents()
1532 int calId = insertCal("Calendar0", "America/Los_Angeles"); in testInsertRepeatingEvents() local
[all …]
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarProvider2.java1773 Long calId = cursor.getLong(calIdCol); in handleInsertException() local
1776 if (calId != null) { in handleInsertException()
1777 Account account = getAccount(calId); in handleInsertException()
2687 private String getOwner(long calId) { in getOwner() argument
2688 if (calId < 0) { in getOwner()
2690 Log.e(TAG, "Calendar Id is not valid: " + calId); in getOwner()
2698 cursor = query(ContentUris.withAppendedId(Calendars.CONTENT_URI, calId), in getOwner()
2705 Log.d(TAG, "Couldn't find " + calId + " in Calendars table"); in getOwner()
2718 private Account getAccount(long calId) { in getAccount() argument
2722 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()