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

1 2 3 4 5

  /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 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().
  /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}.
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 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();
  /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/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();
  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/accounts/
AccountImageUriGetter.java 61 // Return this but don't save into mIconUri, requery later.
  /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 86 * If set the adapter will call requery() on the cursor whenever a content change
108 * Constructor that always enables auto-requery.
124 * Constructor that allows control over auto-requery. It is recommended
131 * @param autoRequery If true the adapter will call requery() on the
439 * The default implementation provides the auto-requery logic, but may be overridden by
447 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 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.");

Completed in 749 milliseconds

1 2 3 4 5