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

123456789

/frameworks/base/core/java/android/net/
H A DUrlQuerySanitizer.java101 * A functor used to sanitize a single query value.
591 * Parse the query parameters out of an encoded URL.
592 * Works by extracting the query portion from the URL and then
593 * calling parseQuery(). If there is no query portion it is
594 * treated as if the query portion is an empty string.
599 String query;
601 query = url.substring(queryIndex + 1);
604 query = "";
606 parseQuery(query);
610 * Parse a query
616 parseQuery(String query) argument
[all...]
/frameworks/base/core/java/android/database/sqlite/
H A DSqliteWrapper.java56 public static Cursor query(Context context, ContentResolver resolver, Uri uri, method in class:SqliteWrapper
59 return resolver.query(uri, projection, selection, selectionArgs, sortOrder);
61 Log.e(TAG, "Catch a SQLiteException when query: ", e);
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/
H A DTrackerProvider.java111 public Cursor query(Uri uri, String[] projection, String selection, method in class:TrackerProvider
115 Cursor cursor = db.query(TABLE_NAME, projection, selection,
/frameworks/opt/telephony/src/java/com/google/android/mms/util/
H A DSqliteWrapper.java68 public static Cursor query(Context context, ContentResolver resolver, Uri uri, method in class:SqliteWrapper
71 return resolver.query(uri, projection, selection, selectionArgs, sortOrder);
73 Log.e(TAG, "Catch a SQLiteException when query: ", e);
/frameworks/base/core/java/android/provider/
H A DMediaStore.java121 * on a search query</a> in <a href="{@docRoot}guide/components/intents-common.html">Common
463 * work with multiple media file types in a single query.
647 c = cr.query(cancelUri, PROJECTION, null, null, null);
696 c = cr.query(baseUri, PROJECTION, column + origId, null, null);
710 c = cr.query(blockingUri, PROJECTION, null, null, null);
744 c = cr.query(uri, PROJECTION, null, null, null);
840 public static final Cursor query(ContentResolver cr, Uri uri, String[] projection) { method in class:MediaStore.Images.Media
841 return cr.query(uri, projection, null, null, DEFAULT_SORT_ORDER);
844 public static final Cursor query(ContentResolver cr, Uri uri, String[] projection, method in class:MediaStore.Images.Media
846 return cr.query(ur
850 public static final Cursor query(ContentResolver cr, Uri uri, String[] projection, method in class:MediaStore.Images.Media
1043 public static final Cursor query(ContentResolver cr, Uri uri, String[] projection) { method in class:MediaStore.Images.Thumbnails
1949 public static final Cursor query(ContentResolver cr, Uri uri, String[] projection) { method in class:MediaStore.Video
[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/opt/chips/src/com/android/ex/chips/
H A DRecipientAlternatesAdapter.java96 Queries.Query query;
98 query = Queries.EMAIL;
100 query = Queries.PHONE;
125 c = context.getContentResolver().query(
126 query.getContentUri(),
127 query.getProjection(),
128 query.getProjection()[Queries.Query.DESTINATION] + " IN ("
141 addresses, account, matchesNotFound, query, callback);
157 Account account, Set<String> matchesNotFound, Queries.Query query,
166 directoryCursor = context.getContentResolver().query(DirectoryListQuer
155 getMatchingRecipientsFromDirectoryQueries(Context context, Map<String, RecipientEntry> recipientEntries, Set<String> addresses, Account account, Set<String> matchesNotFound, Queries.Query query, RecipientMatchCallback callback) argument
340 doQuery(CharSequence constraint, int limit, Long directoryId, Account account, ContentResolver resolver, Query query) argument
[all...]
/frameworks/base/core/java/android/widget/
H A DSearchView.java64 * A widget that provides a user interface for the user to enter a search query and submit a request
65 * to a search provider. Shows a list of query suggestions or results, if available, and allows the
184 * Callbacks for changes to the query text.
189 * Called when the user submits the query. This could be due to a key press on the
195 * @param query the query text that is to be submitted
197 * @return true if the query has been handled by the listener, false to let the
200 boolean onQueryTextSubmit(String query); argument
203 * Called when the query text is changed by the user.
205 * @param newText the new content of the query tex
560 setQuery(CharSequence query, boolean submit) argument
1475 setQuery(CharSequence query) argument
1481 launchQuerySearch(int actionKey, String actionMsg, String query) argument
1502 createIntent(String action, Uri data, String extraData, String query, int actionKey, String actionMsg) argument
[all...]
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DSearchView.java76 * A widget that provides a user interface for the user to enter a search query and submit a request
77 * to a search provider. Shows a list of query suggestions or results, if available, and allows the
204 * Callbacks for changes to the query text.
209 * Called when the user submits the query. This could be due to a key press on the
215 * @param query the query text that is to be submitted
217 * @return true if the query has been handled by the listener, false to let the
220 boolean onQueryTextSubmit(String query); argument
223 * Called when the query text is changed by the user.
225 * @param newText the new content of the query tex
585 setQuery(CharSequence query, boolean submit) argument
1406 setQuery(CharSequence query) argument
1412 launchQuerySearch(int actionKey, String actionMsg, String query) argument
1431 createIntent(String action, Uri data, String extraData, String query, int actionKey, String actionMsg) argument
[all...]
H A DSuggestionsAdapter.java109 * Enables query refinement for all suggestions. This means that an additional icon
111 * copied to the query text field.
122 * Returns the current query refinement preference.
123 * @return value of query refinement preference
140 * in a worker thread, so it's OK if the query is slow (e.g. round trip for suggestions).
146 String query = (constraint == null) ? "" : constraint.toString();
157 cursor = getSearchManagerSuggestions(mSearchable, query, QUERY_LIMIT);
165 Log.w(LOG_TAG, "Search suggestions query threw an exception.", e);
202 // Check if the Cursor indicates that the query is not complete and show the spinner
405 * Gets the text to show in the query fiel
712 getSearchManagerSuggestions(SearchableInfo searchable, String query, int limit) argument
[all...]
/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/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 * Interface for receiving notification of 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
339 setSearchQuery(String query) argument
345 setSearchQueryInternal(String query) 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) { argument
197 return query == null;
199 if (query == null) {
202 final int NQ = query.size();
207 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/native/services/surfaceflinger/
H A DMonitoredProducer.cpp91 int MonitoredProducer::query(int what, int* value) { function in class:android::MonitoredProducer
92 return mProducer->query(what, value);
/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");

Completed in 1048 milliseconds

123456789