Searched refs:oldCursor (Results 1 – 5 of 5) sorted by relevance
112 Cursor oldCursor = mCursor; in deliverResult() local119 if (oldCursor != null && oldCursor != cursor && !oldCursor.isClosed()) { in deliverResult()120 oldCursor.close(); in deliverResult()
376 Cursor oldCursor = mCursor; in swapCursor() local377 if (oldCursor != null) { in swapCursor()378 if (mChangeObserver != null) oldCursor.unregisterContentObserver(mChangeObserver); in swapCursor()379 if (mDataSetObserver != null) oldCursor.unregisterDataSetObserver(mDataSetObserver); in swapCursor()395 return oldCursor; in swapCursor()
64 Cursor oldCursor = mClient.getCursor(); in publishResults() local66 if (results.values != null && results.values != oldCursor) { in publishResults()
180 Cursor oldCursor = mCursor; in swapCursor() local190 return oldCursor; in swapCursor()
767 try (final Cursor oldCursor = in testFailToReplaceExisitingUnmappedRoots() argument769 assertEquals(1, oldCursor.getCount()); in testFailToReplaceExisitingUnmappedRoots()770 oldCursor.moveToNext(); in testFailToReplaceExisitingUnmappedRoots()771 assertEquals("1", getString(oldCursor, Root.COLUMN_ROOT_ID)); in testFailToReplaceExisitingUnmappedRoots()789 assertFalse(oldCursor.getString(0).equals(newCursor.getString(0))); in testFailToReplaceExisitingUnmappedRoots()791 assertFalse(oldCursor.getString(0).equals(newCursor.getString(0))); in testFailToReplaceExisitingUnmappedRoots()