Searched refs:query (Results 51 - 75 of 196) sorted by relevance

12345678

/frameworks/base/core/tests/coretests/src/android/widget/listview/
H A DListManagedCursor.java39 Cursor c = getContentResolver().query(Settings.System.CONTENT_URI, null, null, null, null);
H A DListWithDisappearingItemBug.java47 Cursor c = getContentResolver().query(People.CONTENT_URI, null, null, null, null);
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/
H A DSingleUserProvider.java35 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, method in class:SingleUserProvider
/frameworks/base/core/java/android/provider/
H A DBrowser.java239 return cr.query(Bookmarks.CONTENT_URI,
254 return cr.query(Combined.CONTENT_URI,
298 return cr.query(History.CONTENT_URI, new String[] { History._ID, History.VISITS },
369 c = cr.query(History.CONTENT_URI, projection, History.VISITS + " > 0", null, null);
403 cursor = cr.query(History.CONTENT_URI,
432 cursor = cr.query(History.CONTENT_URI,
468 cursor = cr.query(History.CONTENT_URI, new String[] { History.URL }, whereClause,
542 // (i.e. remove google.com/query= blah blah blah)
556 * @param where Clause to be used to limit the query from the database.
557 * Must be an allowable string to be passed into a database query
[all...]
H A DSyncStateContract.java75 Cursor c = provider.query(uri, DATA_PROJECTION, SELECT_BY_ACCOUNT,
78 // Unable to query the provider
130 Cursor c = provider.query(uri, DATA_PROJECTION, SELECT_BY_ACCOUNT,
/frameworks/base/core/tests/hosttests/test-apps/DownloadManagerTestApp/src/com/android/frameworks/downloadmanagertests/
H A DDownloadManagerBaseTest.java354 * @param id The download id to query on (wait for)
377 Cursor cursor = mDownloadManager.query(q);
487 Cursor response = mDownloadManager.query(q);
518 Cursor cursor = mDownloadManager.query(new Query());
534 * Performs a query based on ID and returns a Cursor for the query.
536 * @param id The id of the download in DL Manager; pass -1 to query all downloads
537 * @return A cursor for the query results
540 Query query = new Query();
542 query
[all...]
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
H A DRecentsProvider.java172 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, method in class:RecentsProvider
178 return db.query(TABLE_RECENT, projection, RecentColumns.TIMESTAMP + ">" + cutoff,
184 return db.query(TABLE_STATE, projection, StateColumns.AUTHORITY + "=? AND "
189 return db.query(TABLE_RESUME, projection, ResumeColumns.PACKAGE_NAME + "=?",
310 Cursor cursor = db.query(TABLE_RECENT, null, null, null, null, null, null);
329 cursor = db.query(TABLE_STATE, new String[] {
344 cursor = db.query(TABLE_RESUME, null, null, null, null, null, null);
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DSearchBar.java68 * Listener for search query changes
73 * Method invoked when the search bar detects a change in the query.
75 * @param query The current full query.
77 public void onSearchQueryChange(String query); argument
80 * <p>Method invoked when the search query is submitted.</p>
85 * @param query The query being submitted.
87 public void onSearchQuerySubmit(String query); argument
92 * @param query Th
94 onKeyboardDismiss(String query) argument
336 setSearchQuery(String query) argument
342 setSearchQueryInternal(String query) argument
[all...]
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DSuggestionsAdapter.java107 * Enables query refinement for all suggestions. This means that an additional icon
109 * copied to the query text field.
120 * Returns the current query refinement preference.
121 * @return value of query refinement preference
138 * in a worker thread, so it's OK if the query is slow (e.g. round trip for suggestions).
144 String query = (constraint == null) ? "" : constraint.toString();
155 cursor = getSearchManagerSuggestions(mSearchable, query, QUERY_LIMIT);
163 Log.w(LOG_TAG, "Search suggestions query threw an exception.", e);
200 // Check if the Cursor indicates that the query is not complete and show the spinner
399 * Gets the text to show in the query fiel
706 getSearchManagerSuggestions(SearchableInfo searchable, String query, int limit) argument
[all...]
/frameworks/base/core/java/android/service/textservice/
H A DSpellCheckerService.java386 final CharSequence query = originalText.subSequence(wordStart, wordEnd);
387 final TextInfo ti = new TextInfo(query, 0, query.length(), cookie,
388 query.hashCode());
391 Log.d(TAG, "Adapter: word (" + (wordItems.size() - 1) + ") " + query);
/frameworks/base/services/core/java/com/android/server/pm/
H A DPreferredComponent.java195 public boolean sameSet(List<ResolveInfo> query, int priority) { argument
197 return query == null;
199 if (query == null) {
202 final int NQ = query.size();
206 ResolveInfo ri = query.get(i);
/frameworks/base/core/tests/coretests/src/android/database/
H A DDatabaseCursorTest.java112 Cursor c = mDatabase.query("test", null, null, null, null, null, null);
146 Cursor c = mDatabase.query("test", null, null, null, null, null, null);
210 Cursor c = mDatabase.query("test", null, "_id > 1000", null, null, null, null);
250 Cursor c = mDatabase.query("test", null, null, null, null, null, null);
302 Cursor c = mDatabase.query("test", new String[]{"data"}, null, null, null, null, null);
338 Cursor c = mDatabase.query("test", new String[]{"data"}, null, null, null, null, null);
375 Cursor c = mDatabase.query("test", new String[]{"txt", "data"}, null, null, null, null, null);
441 * Test the ability of a subclass of SQLiteCursor to change its query arguments.
448 SQLiteQuery query) {
449 return new SQLiteCursor(db, masterQuery, editTable, query) {
[all...]
H A DDatabaseGeneralTest.java106 Cursor c = mDatabase.query("test", null, "_id=1", null, null, null, null);
124 c = mDatabase.query("phones", null,
129 c = mDatabase.query("phones", null,
138 c = mDatabase.query("phones", null,
147 c = mDatabase.query("phones", null,
152 c = mDatabase.query("phones", null,
161 c = mDatabase.query("phones", null,
170 c = mDatabase.query("phones", null,
180 c = mDatabase.query("phones", null,
190 c = mDatabase.query("phone
[all...]
/frameworks/av/cmds/screenrecord/
H A DEglWindow.cpp48 surface->query(NATIVE_WINDOW_WIDTH, &mWidth);
49 surface->query(NATIVE_WINDOW_HEIGHT, &mHeight);
/frameworks/base/core/tests/coretests/src/android/app/activity/
H A DLocalProvider.java84 public Cursor query(Uri url, String[] projectionIn, String selection, method in class:LocalProvider
88 // Generate the body of the query
104 Cursor ret = qb.query(db, projectionIn, selection, selectionArgs,
108 if (false) Log.d(TAG, "Alarms.query: failed");
/frameworks/base/core/java/android/content/
H A DContentProviderClient.java47 * {@link ContentResolver}, the methods here such as {@link #query} and
111 /** See {@link ContentProvider#query ContentProvider.query} */
112 public Cursor query(Uri url, String[] projection, String selection, method in class:ContentProviderClient
114 return query(url, projection, selection, selectionArgs, sortOrder, null);
117 /** See {@link ContentProvider#query ContentProvider.query} */
118 public Cursor query(Uri url, String[] projection, String selection, String[] selectionArgs, method in class:ContentProviderClient
128 return mContentProvider.query(mPackageName, url, projection, selection, selectionArgs,
/frameworks/base/core/tests/coretests/src/android/content/
H A DContentQueryMapTest.java58 Cursor cursor = r.query(
/frameworks/base/core/tests/coretests/src/android/provider/
H A DSmsProviderTest.java67 Cursor c = contentResolver.query(Sms.Inbox.CONTENT_URI, null, null, null, "date");
/frameworks/base/media/java/android/media/
H A DRingtoneManager.java482 return query(
494 ? query(
547 private Cursor query(Uri uri, method in class:RingtoneManager
555 return mContext.getContentResolver().query(uri, projection, selection, selectionArgs,
567 * @param context A context used to query.
/frameworks/base/native/android/
H A Dnative_window.cpp45 int res = window->query(window, what, &value);
/frameworks/base/policy/src/com/android/internal/policy/impl/
H A DShortcutManager.java60 mCursor = mContext.getContentResolver().query(
74 Log.e(TAG, "ShortcutObserver could not re-query shortcuts.");
/frameworks/native/include/gui/
H A DBufferQueueProducer.h52 // can be obtained by calling query(NATIVE_WINDOW_MIN_UNDEQUEUED_BUFFERS,
136 virtual int query(int what, int* outValue);
/frameworks/native/include/ui/
H A DFramebufferNativeWindow.h73 static int query(const ANativeWindow* window, int what, int* value);
/frameworks/native/opengl/tests/include/
H A DEGLUtils.h133 if ((err = window->query(window, NATIVE_WINDOW_FORMAT, &format)) < 0) {
/frameworks/native/services/surfaceflinger/
H A DMonitoredProducer.h49 virtual int query(int what, int* value);

Completed in 3713 milliseconds

12345678