HomeSort by relevance Sort by last modified time
    Searched refs:requery (Results 1 - 25 of 83) sorted by null

1 2 3 4

  /frameworks/base/core/java/android/content/
ContentQueryMap.java 47 /** Set when a cursor change notification is received and is cleared on a call to requery(). */
105 requery();
125 if (mDirty) requery(); method
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(); method
  /frameworks/base/core/java/android/database/
BulkCursorToCursorAdaptor.java 131 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());
IBulkCursor.java 50 public int requery(IContentObserver observer) throws RemoteException; method in interface:IBulkCursor
Cursor.java 346 * 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.
362 * @return true if the requery succeeded, false if not, in which case the
368 boolean requery(); method in interface:Cursor
372 * Unlike {@link #deactivate()} a call to {@link #requery()} will not make the Cursor valid
385 * Typically the data set won't change until {@link #requery()} is called.
404 * {@link #requery()}, {@link #deactivate()}, or {@link #close()}.
458 * <p>These values may only change when requery is called.
CursorToBulkCursorAdaptor.java 219 public int requery(IContentObserver observer) { method in class:CursorToBulkCursorAdaptor
226 if (!mCursor.requery()) {
231 mProviderName + " Requery misuse db, mCursor isClosed:" +
CursorWrapper.java 227 public boolean requery() { method in class:CursorWrapper
228 return mCursor.requery();
MergeCursor.java 220 public boolean requery() method in class:MergeCursor
228 if (mCursors[i].requery() == false) {
BulkCursorNative.java 93 int count = requery(observer);
222 public int requery(IContentObserver observer) throws RemoteException { method in class:BulkCursorProxy
  /cts/tests/tests/database/src/android/database/sqlite/cts/
SQLiteCursorTest.java 80 assertTrue(cursor.requery());
82 assertFalse(cursor.requery());
108 assertTrue(cursor.requery());
123 assertTrue(cursor.requery());
159 assertTrue(cursor.requery());
160 // only after requery, getCount can get most up-to-date counting info now.
176 // add more data to the table and requery
178 assertTrue(c.requery());
186 // close the database and see if requery throws an exception
188 assertFalse(c.requery());
    [all...]
  /cts/tests/tests/database/src/android/database/cts/
CursorWrapperTest.java 69 assertTrue(cursorWrapper.requery());
75 assertTrue(cursorWrapper.requery());
78 assertFalse(cursorWrapper.requery());
93 assertTrue(cursorWrapper.requery());
97 assertTrue(cursorWrapper.requery());
102 assertTrue(cursorWrapper.requery());
105 assertTrue(cursorWrapper.requery());
110 assertTrue(cursorWrapper.requery());
114 assertFalse(cursorWrapper.requery());
138 assertTrue(cursorWrapper.requery());
    [all...]
DatabaseCursorTest.java 424 testCursor.requery();
441 testCursor.requery();
459 testCursor.requery();
478 public boolean requery() {
480 return super.requery();
493 // Our hacked requery() changes the query arguments in the cursor.
494 testCursor.requery();
504 testCursor.requery();
MergeCursorTest.java 242 assertTrue(mergeCursor.requery());
294 assertTrue(mergeCursor.requery());
300 assertTrue(mergeCursor.requery());
304 assertFalse(mergeCursor.requery());
CursorJoinerTest.java 112 cursor1.requery();
113 cursor2.requery();
  /development/apps/Development/src/com/android/development/
DataList.java 70 mCursor.requery();
79 menu.add(0, 0, 0, "Requery").setOnMenuItemClickListener(mRequery);
117 // Should just do requery on cursor, but
119 mCursor.requery();
  /frameworks/base/core/java/android/database/sqlite/
SqliteWrapper.java 67 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);
SQLiteCursor.java 213 public boolean requery() { method in class:SQLiteCursor
233 return super.requery();
236 Log.w(TAG, "requery() failed " + e.getMessage(), e);
248 * Changes the selection arguments. The new values take effect after a call to requery().
  /frameworks/opt/telephony/src/java/com/google/android/mms/util/
SqliteWrapper.java 79 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);
  /external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowCursorWrapper.java 154 public boolean requery() { method in class:ShadowCursorWrapper
155 return wrappedCursor.requery();
  /frameworks/base/core/tests/coretests/src/android/database/sqlite/
SQLiteCursorTest.java 123 c.requery();
134 // and then delete 75% of data - and then do requery
144 c.requery();
  /frameworks/base/core/tests/coretests/src/android/database/
DatabaseCursorTest.java 398 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();
  /cts/tests/tests/content/src/android/content/cts/
ContentQueryMapTest.java 130 mContentQueryMap.requery();
136 // Disable the keepUpdated to make sure requery() will not be called
156 mContentQueryMap.requery();
200 mContentQueryMap.requery();
302 mContentQueryMap.requery();
  /external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/tester/android/database/
TestCursor.java 148 public boolean requery() { method in class:TestCursor
  /frameworks/base/test-runner/src/android/test/mock/
MockCursor.java 199 public boolean requery() { method in class:MockCursor
  /frameworks/base/core/java/com/android/internal/database/
SortCursor.java 295 public boolean requery() method in class:SortCursor
301 if (mCursors[i].requery() == false) {
  /packages/apps/Music/src/com/android/music/
SortCursor.java 295 public boolean requery() method in class:SortCursor
301 if (mCursors[i].requery() == false) {

Completed in 829 milliseconds

1 2 3 4