Home
last modified time | relevance | path

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

/packages/apps/Car/CompanionDeviceSupport/tests/unit/src/com/android/car/companiondevicesupport/feature/calendarsync/
DCalendarCleanerTest.java70 private Cursor mCalendarsCursor; field in CalendarCleanerTest
141 .thenReturn(mCalendarsCursor); in eraseCalendars()
142 when(mCalendarsCursor.moveToNext()).thenReturn(true, true, false); in eraseCalendars()
143 when(mCalendarsCursor.getString(0)).thenReturn(CALENDAR_IDENTIFIER, secondCalendarId); in eraseCalendars()
151 verify(mCalendarsCursor, times(2)).getString(0); in eraseCalendars()
/packages/apps/Calendar/src/com/android/calendar/
DEventInfoFragment.java251 private Cursor mCalendarsCursor; field in EventInfoFragment
592 if (mCalendarsCursor != null) { in onDestroy()
593 mCalendarsCursor.close(); in onDestroy()
767 if (mCalendarsCursor != null && mEventCursor != null) { in updateCalendar()
768 mCalendarsCursor.moveToFirst(); in updateCalendar()
769 String tempAccount = mCalendarsCursor.getString(CALENDARS_INDEX_OWNER_ACCOUNT); in updateCalendar()
771 mOwnerCanRespond = mCalendarsCursor.getInt(CALENDARS_INDEX_OWNER_CAN_RESPOND) != 0; in updateCalendar()
772 mSyncAccountName = mCalendarsCursor.getString(CALENDARS_INDEX_ACCOUNT_NAME); in updateCalendar()