Searched refs:mCalendarsCursor (Results 1 – 2 of 2) sorted by relevance
70 private Cursor mCalendarsCursor; field in CalendarCleanerTest141 .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()
251 private Cursor mCalendarsCursor; field in EventInfoFragment592 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()