/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
|
/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...] |
/frameworks/base/core/java/android/database/ |
BulkCursorToCursorAdaptor.java | 132 public boolean requery() { method in class:BulkCursorToCursorAdaptor 136 mCount = mBulkCursor.requery(getObserver()); 141 // super.requery() will call onChanged. Do it here instead of relying on the 144 super.requery(); 151 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
|
CursorWrapper.java | 185 public boolean requery() { method in class:CursorWrapper 186 return mCursor.requery();
|
Cursor.java | 343 * Deactivates the Cursor, making all calls on it fail until {@link #requery} is called. 345 * Calling {@link #requery} will make the cursor active again. 346 * @deprecated Since {@link #requery()} is deprecated, so too is this. 359 * @return true if the requery succeeded, false if not, in which case the 365 boolean requery(); method in interface:Cursor 369 * Unlike {@link #deactivate()} a call to {@link #requery()} will not make the Cursor valid 382 * Typically the data set won't change until {@link #requery()} is called. 401 * {@link #requery()}, {@link #deactivate()}, or {@link #close()}. 438 * <p>These values may only change when requery is called.
|
CursorToBulkCursorAdaptor.java | 222 public int requery(IContentObserver observer) { method in class:CursorToBulkCursorAdaptor 229 if (!mCursor.requery()) { 234 mProviderName + " Requery misuse db, mCursor isClosed:" +
|
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/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 | 214 public boolean requery() { method in class:SQLiteCursor 234 return super.requery(); 237 Log.w(TAG, "requery() failed " + e.getMessage(), e); 249 * Changes the selection arguments. The new values take effect after a call to requery().
|
/frameworks/opt/mms/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/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/policy/src/com/android/internal/policy/impl/ |
ShortcutManager.java | 74 if (!c.requery()) {
|
/frameworks/base/test-runner/src/android/test/mock/ |
MockCursor.java | 160 public boolean requery() { method in class:MockCursor
|
/frameworks/base/core/tests/coretests/src/android/database/ |
DatabaseCursorTest.java | 397 c.requery(); 413 c.requery(); 431 c.requery(); 451 public boolean requery() { 453 return super.requery(); 466 // Our hacked requery() changes the query arguments in the cursor. 467 c.requery(); 477 c.requery();
|
/cts/tests/tests/content/src/android/content/cts/ |
ContentQueryMapTest.java | 124 mContentQueryMap.requery(); 130 // Disable the keepUpdated to make sure requery() will not be called 150 mContentQueryMap.requery(); 194 mContentQueryMap.requery(); 296 mContentQueryMap.requery();
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/tester/android/database/ |
TestCursor.java | 148 public boolean requery() { method in class:TestCursor
|
/frameworks/base/core/java/com/android/internal/database/ |
SortCursor.java | 295 public boolean requery() method in class:SortCursor 301 if (mCursors[i].requery() == false) {
|