Searched refs:oldCursor (Results 1 – 9 of 9) sorted by relevance
101 Cursor oldCursor = mCursor; in deliverResult() local108 if (oldCursor != null && oldCursor != cursor && !oldCursor.isClosed()) { in deliverResult()109 oldCursor.close(); in deliverResult()
105 Cursor oldCursor = mCursor; in deliverResult() local112 if (oldCursor != null && oldCursor != cursor && !oldCursor.isClosed()) { in deliverResult()113 oldCursor.close(); in deliverResult()
341 Cursor oldCursor = mCursor; in swapCursor() local342 if (oldCursor != null) { in swapCursor()343 if (mChangeObserver != null) oldCursor.unregisterContentObserver(mChangeObserver); in swapCursor()344 if (mDataSetObserver != null) oldCursor.unregisterDataSetObserver(mDataSetObserver); in swapCursor()360 return oldCursor; in swapCursor()
65 Cursor oldCursor = mClient.getCursor(); in publishResults() local67 if (results.values != null && results.values != oldCursor) { in publishResults()
369 Cursor oldCursor = mCursor; in swapCursor() local370 if (oldCursor != null) { in swapCursor()371 if (mChangeObserver != null) oldCursor.unregisterContentObserver(mChangeObserver); in swapCursor()372 if (mDataSetObserver != null) oldCursor.unregisterDataSetObserver(mDataSetObserver); in swapCursor()388 return oldCursor; in swapCursor()
64 Cursor oldCursor = mClient.getCursor(); in publishResults() local66 if (results.values != null && results.values != oldCursor) { in publishResults()
79 Cursor oldCursor = mCursor; in swapCursor() local83 return oldCursor; in swapCursor()
180 Cursor oldCursor = mCursor; in swapCursor() local190 return oldCursor; in swapCursor()
766 try (final Cursor oldCursor = in testFailToReplaceExisitingUnmappedRoots() argument768 assertEquals(1, oldCursor.getCount()); in testFailToReplaceExisitingUnmappedRoots()769 oldCursor.moveToNext(); in testFailToReplaceExisitingUnmappedRoots()770 assertEquals("1", getString(oldCursor, Root.COLUMN_ROOT_ID)); in testFailToReplaceExisitingUnmappedRoots()788 assertFalse(oldCursor.getString(0).equals(newCursor.getString(0))); in testFailToReplaceExisitingUnmappedRoots()790 assertFalse(oldCursor.getString(0).equals(newCursor.getString(0))); in testFailToReplaceExisitingUnmappedRoots()