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

1 2 3 4

  /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/apps/Phone/src/com/android/phone/
ADNList.java 113 private void reQuery() {
197 if (DBG) log("onInsertComplete: requery");
198 reQuery();
203 if (DBG) log("onUpdateComplete: requery");
204 reQuery();
209 if (DBG) log("onDeleteComplete: requery");
210 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 205 public boolean requery() { method in class:SQLiteCursor
225 return super.requery();
228 Log.w(TAG, "requery() failed " + e.getMessage(), e);
240 * 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 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());
DataSetObserver.java 27 * most likely through a call to {@link Cursor#requery()} on a {@link Cursor}.
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.
CursorWrapper.java 185 public boolean requery() { method in class:CursorWrapper
186 return mCursor.requery();
IBulkCursor.java 50 public int requery(IContentObserver observer) throws RemoteException; method in interface:IBulkCursor
CursorToBulkCursorAdaptor.java 217 public int requery(IContentObserver observer) { method in class:CursorToBulkCursorAdaptor
224 if (!mCursor.requery()) {
229 mProviderName + " Requery misuse db, mCursor isClosed:" +
  /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/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());
  /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 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();
  /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 124 mContentQueryMap.requery();
130 // Disable the keepUpdated to make sure requery() will not be called
150 mContentQueryMap.requery();
194 mContentQueryMap.requery();
296 mContentQueryMap.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/Calendar/src/com/android/calendar/alerts/
AlertActivity.java 201 // If the cursor is null, start the async handler. If it is not null just requery.
207 if (!mCursor.requery()) {
208 Log.w(TAG, "Cursor#requery() failed.");
  /packages/apps/Email/src/com/android/email/data/
ThrottlingCursorLoader.java 30 * A {@link CursorLoader} variant that throttle auto-requery on content changes using

Completed in 1512 milliseconds

1 2 3 4