/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 | 100 method = "requery", 108 assertTrue(cursor.requery()); 110 assertFalse(cursor.requery()); 153 assertTrue(cursor.requery()); 168 assertTrue(cursor.requery()); 190 method = "requery", 216 assertTrue(cursor.requery()); 217 // only after requery, getCount can get most up-to-date counting info now. 225 method = "requery", 240 // add more data to the table and requery [all...] |
/packages/apps/Phone/src/com/android/phone/ |
ADNList.java | 113 private void reQuery() { 195 if (DBG) log("onInsertComplete: requery"); 196 reQuery(); 201 if (DBG) log("onUpdateComplete: requery"); 202 reQuery(); 207 if (DBG) log("onDeleteComplete: requery"); 208 reQuery();
|
/frameworks/base/core/tests/coretests/src/android/database/sqlite/ |
SQLiteCursorTest.java | 73 // do a requery. cursor should continue to use the above pooled connection 74 cursor.requery(); 81 // requery - which should make the cursor use mDatabase connection since the pooled 83 cursor.requery(); 90 // enable WAL and requery - this time a pooled connection should be used 92 cursor.requery(); 169 c.requery(); 180 // and then delete 75% of data - and then do requery 190 c.requery();
|
SQLiteDatabaseTest.java | 133 c.requery(); 741 * cursor.requery(); 742 * // since the cursor uses pooled database connection, the above requery 767 // requery on the previously opened cursor 769 c.requery(); 777 // do the same test but now do the requery in a separate thread. 793 c1.requery(); [all...] |
/frameworks/base/core/java/android/database/sqlite/ |
SQLiteCursor.java | 226 public boolean requery() { method in class:SQLiteCursor 245 Log.w(TAG, "requery() failed " + e.getMessage(), e); 255 Log.w(TAG, "requery() failed " + e.getMessage(), e); 264 Log.w(TAG, "requery() failed " + e.getMessage(), e); 274 mQuery.requery(); 277 Log.w(TAG, "requery() failed " + e.getMessage(), e); 283 Log.v("DatabaseWindow", "closing window in requery()"); 284 Log.v(TAG, "--- Requery()ed cursor " + this + ": " + mQuery); 289 result = super.requery(); 292 Log.w(TAG, "requery() failed " + e.getMessage(), e) [all...] |
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);
|
/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 | 143 public boolean requery() { method in class:BulkCursorToCursorAdaptor 147 mCount = mBulkCursor.requery(getObserver()); 152 // super.requery() will call onChanged. Do it here instead of relying on the 155 super.requery(); 162 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}.
|
Cursor.java | 341 * Deactivates the Cursor, making all calls on it fail until {@link #requery} is called. 343 * Calling {@link #requery} will make the cursor active again. 356 * @return true if the requery succeeded, false if not, in which case the 362 boolean requery(); method in interface:Cursor 366 * Unlike {@link #deactivate()} a call to {@link #requery()} will not make the Cursor valid 379 * Typically the data set won't change until {@link #requery()} is called. 398 * {@link #requery()}, {@link #deactivate()}, or {@link #close()}. 435 * <p>These values may only change when requery is called.
|
CursorWrapper.java | 181 public boolean requery() { method in class:CursorWrapper 182 return mCursor.requery();
|
CursorToBulkCursorAdaptor.java | 226 public int requery(IContentObserver observer) { method in class:CursorToBulkCursorAdaptor 233 if (!mCursor.requery()) { 238 mProviderName + " Requery misuse db, mCursor isClosed:" +
|
IBulkCursor.java | 59 public int requery(IContentObserver observer) throws RemoteException; method in interface:IBulkCursor
|
/frameworks/base/core/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);
|
/cts/tests/tests/content/src/android/content/cts/ |
ContentQueryMapTest.java | 150 mContentQueryMap.requery(); 158 method = "requery", 168 // Disable the keepUpdated to make sure requery() will not be called 188 mContentQueryMap.requery(); 215 method = "requery", 249 mContentQueryMap.requery(); 363 mContentQueryMap.requery();
|
/cts/tests/tests/database/src/android/database/cts/ |
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();
|
CursorWrapperTest.java | 90 method = "requery", 103 assertTrue(cursorWrapper.requery()); 109 assertTrue(cursorWrapper.requery()); 112 assertFalse(cursorWrapper.requery()); 130 method = "requery", 141 assertTrue(cursorWrapper.requery()); 145 assertTrue(cursorWrapper.requery()); 150 assertTrue(cursorWrapper.requery()); 153 assertTrue(cursorWrapper.requery()); 158 assertTrue(cursorWrapper.requery()); [all...] |
/frameworks/base/core/tests/coretests/src/android/content/ |
ContentQueryMapTest.java | 67 // Get the current state of the CQM. This forces a requery and means that the 68 // call to getValues() below won't do a requery().
|
/frameworks/base/core/tests/coretests/src/android/database/ |
DatabaseCursorTest.java | 400 c.requery(); 416 c.requery(); 434 c.requery(); 454 public boolean requery() { 456 return super.requery(); 469 // Our hacked requery() changes the query arguments in the cursor. 470 c.requery(); 480 c.requery();
|
/frameworks/base/core/java/android/widget/ |
CursorAdapter.java | 82 * If set the adapter will call requery() on the cursor whenever a content change 104 * Constructor that always enables auto-requery. 120 * Constructor that allows control over auto-requery. It is recommended 127 * @param autoRequery If true the adapter will call requery() on the 435 * The default implementation provides the auto-requery logic, but may be overridden by 443 mDataValid = mCursor.requery();
|
/frameworks/support/v4/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 441 * The default implementation provides the auto-requery logic, but may be overridden by 449 mDataValid = mCursor.requery();
|
/packages/apps/Email/src/com/android/email/data/ |
ThrottlingCursorLoader.java | 30 * A {@link CursorLoader} variant that throttle auto-requery on content changes using
|
/packages/apps/Mms/src/com/android/mms/ui/ |
ConversationListAdapter.java | 45 super(context, cursor, false /* auto-requery */);
|