/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/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
|
/packages/services/Telephony/src/com/android/phone/ |
ADNList.java | 119 private void reQuery() { 203 if (DBG) log("onInsertComplete: requery"); 204 reQuery(); 209 if (DBG) log("onUpdateComplete: requery"); 210 reQuery(); 215 if (DBG) log("onDeleteComplete: requery"); 216 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().
|
/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();
|
/development/samples/MySampleRss/src/com/example/codelab/rssexample/ |
RssService.java | 47 public static final String REQUERY_KEY = "Requery_All"; // Sent to tell us force a requery. 48 public static final String RSS_URL = "RSS_URL"; // Sent to tell us to requery a specific item. 85 // Our run() method will check whether we need to requery 94 // A cheap way to pass a message to tell the service to requery. 119 // previous value has been stored), it will requery all RSS feeds; 143 // The cursor might have gone stale. Requery to be sure. 144 // We need to call next() after a requery to get to the 146 mCur.requery(); 243 // Callback we send to ourself to requery all feeds.
|
/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());
|
DataSetObserver.java | 27 * most likely through a call to {@link Cursor#requery()} on a {@link Cursor}.
|
CursorWrapper.java | 227 public boolean requery() { method in class:CursorWrapper 228 return mCursor.requery();
|
IBulkCursor.java | 50 public int requery(IContentObserver observer) throws RemoteException; method in interface:IBulkCursor
|
CursorToBulkCursorAdaptor.java | 219 public int requery(IContentObserver observer) { method in class:CursorToBulkCursorAdaptor 226 if (!mCursor.requery()) { 231 mProviderName + " Requery misuse db, mCursor isClosed:" +
|
/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);
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
madcapcl.h | 72 DWORD WINAPI McastEnumerateScopes(IP_ADDR_FAMILY AddrFamily,WINBOOL ReQuery,PMCAST_SCOPE_ENTRY pScopeList,PDWORD pScopeLen,PDWORD pScopeCount);
|
/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());
|
/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/content/ |
ContentQueryMapTest.java | 69 // Get the current state of the CQM. This forces a requery and means that the 70 // call to getValues() below won't do a 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();
|
/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();
|
/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();
|
/frameworks/base/core/java/android/widget/ |
CursorAdapter.java | 94 * 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();
|
/frameworks/support/core-ui/java/android/support/v4/widget/ |
CursorAdapter.java | 88 * If set the adapter will call requery() on the cursor whenever a content change 110 * Constructor that always enables auto-requery. 126 * Constructor that allows control over auto-requery. It is recommended 133 * @param autoRequery If true the adapter will call requery() on the 450 * The default implementation provides the auto-requery logic, but may be overridden by 458 mDataValid = mCursor.requery();
|
/packages/apps/Calendar/src/com/android/calendar/alerts/ |
AlertActivity.java | 233 // If the cursor is null, start the async handler. If it is not null just requery. 239 if (!mCursor.requery()) { 240 Log.w(TAG, "Cursor#requery() failed.");
|