Searched refs:requery (Results 1 - 25 of 26) sorted by relevance

12

/frameworks/base/core/java/android/content/
H A DContentQueryMap.java47 /** Set when a cursor change notification is received and is cleared on a call to requery(). */
105 requery();
125 if (mDirty) requery();
130 public void requery() { method in class:ContentQueryMap
133 // If mCursor is null then it means there was a requery() in flight
135 // If this happens ignore the requery() since we are closed anyways.
139 if (!cursor.requery()) {
164 if (mDirty) requery();
/frameworks/base/core/java/android/database/
H A DBulkCursorToCursorAdaptor.java131 public boolean requery() { method in class:BulkCursorToCursorAdaptor
135 mCount = mBulkCursor.requery(getObserver());
140 // super.requery() will call onChanged. Do it here instead of relying on the
143 super.requery();
150 Log.e(TAG, "Unable to requery because the remote process exception " + ex.getMessage());
H A DIBulkCursor.java50 public int requery(IContentObserver observer) throws RemoteException; method in interface:IBulkCursor
H A DCursor.java346 * Deactivates the Cursor, making all calls on it fail until {@link #requery} is called.
348 * Calling {@link #requery} will make the cursor active again.
349 * @deprecated Since {@link #requery()} is deprecated, so too is this.
363 * @return true if the requery succeeded, false if not, in which case the
369 boolean requery(); method in interface:Cursor
373 * Unlike {@link #deactivate()} a call to {@link #requery()} will not make the Cursor valid
386 * Typically the data set won't change until {@link #requery()} is called.
405 * {@link #requery()}, {@link #deactivate()}, or {@link #close()}.
459 * <p>These values may only change when requery is called.
H A DCursorToBulkCursorAdaptor.java219 public int requery(IContentObserver observer) { method in class:CursorToBulkCursorAdaptor
226 if (!mCursor.requery()) {
H A DCursorWrapper.java227 public boolean requery() { method in class:CursorWrapper
228 return mCursor.requery();
H A DMergeCursor.java220 public boolean requery() method in class:MergeCursor
228 if (mCursors[i].requery() == false) {
H A DBulkCursorNative.java93 int count = requery(observer);
222 public int requery(IContentObserver observer) throws RemoteException { method in class:BulkCursorProxy
H A DAbstractCursor.java152 public boolean requery() { method in class:AbstractCursor
/frameworks/base/core/java/android/database/sqlite/
H A DSqliteWrapper.java67 public static boolean requery(Context context, Cursor cursor) { method in class:SqliteWrapper
69 return cursor.requery();
71 Log.e(TAG, "Catch a SQLiteException when requery: ", e);
H A DSQLiteCursor.java219 public boolean requery() { method in class:SQLiteCursor
239 return super.requery();
242 Log.w(TAG, "requery() failed " + e.getMessage(), e);
254 * Changes the selection arguments. The new values take effect after a call to requery().
/frameworks/opt/telephony/src/java/com/google/android/mms/util/
H A DSqliteWrapper.java79 public static boolean requery(Context context, Cursor cursor) { method in class:SqliteWrapper
81 return cursor.requery();
83 Log.e(TAG, "Catch a SQLiteException when requery: ", e);
/frameworks/base/core/tests/coretests/src/android/database/
H A DDatabaseCursorTest.java398 c.requery();
414 c.requery();
432 c.requery();
452 public boolean requery() {
454 return super.requery();
467 // Our hacked requery() changes the query arguments in the cursor.
468 c.requery();
478 c.requery();
/frameworks/base/test-mock/src/android/test/mock/
H A DMockCursor.java199 public boolean requery() { method in class:MockCursor
/frameworks/base/core/java/com/android/internal/database/
H A DSortCursor.java295 public boolean requery() method in class:SortCursor
301 if (mCursors[i].requery() == false) {
/frameworks/base/core/tests/coretests/src/android/database/sqlite/
H A DSQLiteCursorTest.java129 c.requery();
140 // and then delete 75% of data - and then do requery
150 c.requery();
/frameworks/base/core/tests/hosttests/test-apps/DownloadManagerTestApp/src/com/android/frameworks/downloadmanagertests/
H A DDownloadManagerBaseTest.java452 cursor.requery();
555 cursor.requery();
/frameworks/base/core/java/android/widget/
H A DCursorAdapter.java94 * If set the adapter will call requery() on the cursor whenever a content change
116 * Constructor that always enables auto-requery.
132 * Constructor that allows control over auto-requery. It is recommended
139 * @param autoRequery If true the adapter will call requery() on the
476 * The default implementation provides the auto-requery logic, but may be overridden by
484 mDataValid = mCursor.requery();
H A DCursorTreeAdapter.java58 * Constructor. The adapter will call {@link Cursor#requery()} on the cursor whenever
72 * @param autoRequery If true the adapter will call {@link Cursor#requery()}
503 mDataValid = mCursor.requery();
/frameworks/support/cursoradapter/src/main/java/androidx/cursoradapter/widget/
H A DCursorAdapter.java101 * If set the adapter will call requery() on the cursor whenever a content change
123 * Constructor that always enables auto-requery.
139 * Constructor that allows control over auto-requery. It is recommended
146 * @param autoRequery If true the adapter will call requery() on the
463 * The default implementation provides the auto-requery logic, but may be overridden by
471 mDataValid = mCursor.requery();
/frameworks/base/core/tests/coretests/src/android/app/
H A DDownloadManagerBaseTest.java813 cursor.requery();
1010 cursor.requery();
H A DDownloadManagerFunctionalTest.java327 cursor.requery();
/frameworks/support/v7/appcompat/src/androidTest/java/androidx/appcompat/app/
H A DAlertDialogCursorTest.java323 mCursor.requery();
/frameworks/base/media/java/android/media/
H A DRingtoneManager.java430 if (mCursor != null && mCursor.requery()) {
/frameworks/base/core/java/android/app/
H A DActivity.java2571 * it will call {@link Cursor#requery} for you. When the activity is
7245 if (!mc.mCursor.requery()) {
7249 "trying to requery an already closed cursor "

Completed in 446 milliseconds

12