Home
last modified time | relevance | path

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

/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
DCalendarProvider2Test.java1279 private Uri insertEvent(int calId, EventInfo event) { in insertEvent() argument
1280 return insertEvent(calId, event, null); in insertEvent()
1283 private Uri insertEvent(int calId, EventInfo event, ContentValues cv) { in insertEvent() argument
1290 cv = eventInfoToContentValues(calId, event); in insertEvent()
1306 private ContentValues eventInfoToContentValues(int calId, EventInfo event) { in eventInfoToContentValues() argument
1308 m.put(Events.CALENDAR_ID, calId); in eventInfoToContentValues()
1610 final int calId = insertCal("Calendar0", DEFAULT_TIMEZONE); in testInsertNormalEvents() local
1643 cvs[ii] = eventInfoToContentValues(calId, event); in testInsertNormalEvents()
1644 uris[ii] = insertEvent(calId, event, cvs[ii]); in testInsertNormalEvents()
1674 int calId = insertCal("Calendar0", "America/Los_Angeles"); in testInsertRepeatingEvents() local
[all …]
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarProvider2.java1944 Long calId = cursor.getLong(calIdCol); in handleInsertException() local
1947 if (calId != null) { in handleInsertException()
1948 Account account = getAccount(calId); in handleInsertException()
2953 private String getOwner(long calId) { in getOwner() argument
2954 if (calId < 0) { in getOwner()
2956 Log.e(TAG, "Calendar Id is not valid: " + calId); in getOwner()
2964 cursor = query(ContentUris.withAppendedId(Calendars.CONTENT_URI, calId), in getOwner()
2971 Log.d(TAG, "Couldn't find " + calId + " in Calendars table"); in getOwner()
2984 private Account getAccount(long calId) { in getAccount() argument
2988 cursor = query(ContentUris.withAppendedId(Calendars.CONTENT_URI, calId), in getAccount()
[all …]