Searched defs:query (Results 1 - 25 of 89) sorted by path

1234

/frameworks/base/core/java/android/app/
H A DActivity.java1913 * {@link ContentResolver#query(android.net.Uri , String[], String, String[], String)}
1924 * you call {@link #stopManagingCursor} on a cursor from a managed query, the system <em>will
1928 * @param uri The URI of the content provider to query.
1933 * @return The Cursor that was returned by query().
1935 * @see ContentResolver#query(android.net.Uri , String[], String, String[], String)
1944 Cursor c = getContentResolver().query(uri, projection, selection, null, sortOrder);
1953 * {@link ContentResolver#query(android.net.Uri , String[], String, String[], String)}
1964 * you call {@link #stopManagingCursor} on a cursor from a managed query, the system <em>will
1968 * @param uri The URI of the content provider to query.
1974 * @return The Cursor that was returned by query()
3577 triggerSearch(String query, @Nullable Bundle appSearchData) argument
[all...]
H A DDownloadManager.java802 * Controls whether this query includes downloads not visible in the system's Downloads UI.
803 * @param value if true, this query will only include downloads that should be displayed in
804 * the system's Downloads UI; if false (the default), this query will include
841 * Run this query using the given ContentResolver.
842 * @param projection the projection to pass to ContentResolver.query()
843 * @return the Cursor returned by ContentResolver.query()
890 return resolver.query(uri, projection, selection, selectionArgs, orderBy);
991 * @param query parameters specifying filters for this query
995 public Cursor query(Quer argument
[all...]
H A DSearchDialog.java95 // The query entered by the user. This is not changed when selecting a suggestion
521 * Launch a search for the text in the query text field.
528 * Launch a search for the text in the query text field.
536 String query = mSearchAutoComplete.getText().toString();
538 Intent intent = createIntent(action, null, null, query, actionKey, actionMsg);
577 * @param query Intent query, or <code>null</code>.
586 private Intent createIntent(String action, Uri data, String extraData, String query, argument
598 if (query != null) {
599 intent.putExtra(SearchManager.QUERY, query);
708 setUserQuery(String query) argument
[all...]
H A DSearchManager.java85 * to obtain the query string from Intent.ACTION_SEARCH.
87 public final static String QUERY = "query";
93 * to obtain the query string typed in by the user.
125 * to obtain the keycode that the user used to trigger this query. It will be zero if the
140 * the initial query should be selected when the global search activity is started, so
141 * that the user can easily replace it with another query.
177 * Flag to specify that the entry can be used for query refinement, i.e., the query text
178 * in the search field can be replaced with the text in this entry, when a query refinement
335 * used when forming the suggestion's query
742 triggerSearch(String query, ComponentName launchActivity, Bundle appSearchData) argument
876 getSuggestions(SearchableInfo searchable, String query) argument
891 getSuggestions(SearchableInfo searchable, String query, int limit) argument
[all...]
/frameworks/base/core/java/android/content/
H A DContentProvider.java68 * <li>{@link #query} which returns data to the caller</li>
200 public Cursor query(String callingPkg, Uri uri, String[] projection, method in class:ContentProvider.Transport
211 return ContentProvider.this.query(
771 * (via {@link #query}, {@link #insert}, etc). Deferred initialization
819 * Implementation when a caller has performed a query on the content
824 * and calls through to {@link #query(android.net.Uri, String[], String, String[],
839 return query(uri, projection, selection, selectionArgs, sortOrder, cancellationSignal);
843 * Implement this to handle query requests from clients.
864 // If the query ends in a specific record number, we're
866 // WHERE clause in our query
897 public abstract Cursor query(Uri uri, String[] projection, method in class:ContentProvider
963 public Cursor query(Uri uri, String[] projection, method in class:ContentProvider
[all...]
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,
H A DContentProviderNative.java112 Cursor cursor = query(callingPkg, url, projection, selection, selectionArgs,
386 public Cursor query(String callingPkg, Uri url, String[] projection, String selection, method in class:ContentProviderProxy
H A DContentResolver.java367 * such as *&#47;*, to query for all available MIME types that match the
420 public final Cursor query(Uri uri, String[] projection, method in class:ContentResolver
422 return query(uri, projection, selection, selectionArgs, sortOrder, null);
455 * when the query is executed.
459 public final Cursor query(final Uri uri, String[] projection, method in class:ContentResolver
478 qCursor = unstableProvider.query(mPackageName, uri, projection,
489 qCursor = stableProvider.query(mPackageName, uri, projection,
496 // Force query execution. Might fail and throw a runtime exception here.
533 * {@link #query}, {@link #openInputStream(android.net.Uri)}, etc. The
H A DIContentProvider.java37 public Cursor query(String callingPkg, Uri url, String[] projection, String selection, method in interface:IContentProvider
H A DSearchRecentSuggestionsProvider.java34 * <li>Implement and test query search, as described in {@link android.app.SearchManager}. (This
87 private static final String NULL_COLUMN = "query";
111 // Uri and query support
145 builder.append(",query TEXT" +
200 "query AS " + SearchManager.SUGGEST_COLUMN_QUERY,
212 "query AS " + SearchManager.SUGGEST_COLUMN_QUERY,
319 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, method in class:SearchRecentSuggestionsProvider
340 Cursor c = db.query(sSuggestions, mSuggestionProjection,
346 // otherwise process arguments and perform a standard query
380 // And perform the generic query a
[all...]
/frameworks/base/core/java/android/database/
H A DDatabaseUtils.java732 * query again when we move outside the bounds of the current window.
754 * @param table the name of the table to query
764 * @param table the name of the table to query
777 * @param table the name of the table to query
797 * @param table the name of the table to query
807 * Utility method to run the query on the db and return the value in the
810 public static long longForQuery(SQLiteDatabase db, String query, String[] selectionArgs) { argument
811 SQLiteStatement prog = db.compileStatement(query);
820 * Utility method to run the pre-compiled query and return the value in the
829 * Utility method to run the query o
832 stringForQuery(SQLiteDatabase db, String query, String[] selectionArgs) argument
856 blobFileDescriptorForQuery(SQLiteDatabase db, String query, String[] selectionArgs) argument
[all...]
/frameworks/base/core/java/android/database/sqlite/
H A DSQLiteCursor.java29 * A Cursor implementation that exposes results from a query on a
45 /** The query object for the cursor */
48 /** The compiled query this cursor came from */
64 * Execute a query and provide access to its result set through a Cursor
65 * interface. For a query such as: {@code SELECT name, birth, phone FROM
72 * @param editTable the name of the table used for this query
73 * @param query the rest of the query terms
79 String editTable, SQLiteQuery query) {
80 this(driver, editTable, query);
78 SQLiteCursor(SQLiteDatabase db, SQLiteCursorDriver driver, String editTable, SQLiteQuery query) argument
93 SQLiteCursor(SQLiteCursorDriver driver, String editTable, SQLiteQuery query) argument
[all...]
H A DSQLiteCursorDriver.java28 * Executes the query returning a Cursor over the result set.
34 Cursor query(CursorFactory factory, String[] bindArgs); method in interface:SQLiteCursorDriver
H A DSQLiteDatabase.java663 * cursor when query is called, or null for default
684 * cursor when query is called, or null for default
823 * cursor when query is called
1004 * @param table The table name to compile the query against.
1025 * @param limit Limits the number of rows returned by the query,
1031 public Cursor query(boolean distinct, String table, String[] columns, method in class:SQLiteDatabase
1042 * @param table The table name to compile the query against.
1063 * @param limit Limits the number of rows returned by the query,
1067 * when the query is executed.
1072 public Cursor query(boolea method in class:SQLiteDatabase
1198 public Cursor query(String table, String[] columns, String selection, method in class:SQLiteDatabase
1236 public Cursor query(String table, String[] columns, String selection, method in class:SQLiteDatabase
2181 newCursor(SQLiteDatabase db, SQLiteCursorDriver masterQuery, String editTable, SQLiteQuery query) argument
[all...]
H A DSQLiteDirectCursorDriver.java24 * A cursor driver that uses the given query directly.
43 public Cursor query(CursorFactory factory, String[] selectionArgs) { method in class:SQLiteDirectCursorDriver
44 final SQLiteQuery query = new SQLiteQuery(mDatabase, mSql, mCancellationSignal);
47 query.bindAllArgsAsStrings(selectionArgs);
50 cursor = new SQLiteCursor(this, mEditTable, query);
52 cursor = factory.newCursor(mDatabase, this, mEditTable, query);
55 query.close();
59 mQuery = query;
H A DSQLiteQuery.java25 * Represents a query that reads the resulting rows into a {@link SQLiteQuery}.
36 SQLiteQuery(SQLiteDatabase db, String query, CancellationSignal cancellationSignal) { argument
37 super(db, query, null, cancellationSignal);
48 * If it won't fit, then the query should discard part of what it filled.
49 * @param countAllRows True to count all rows that the query would
70 Log.e(TAG, "exception: " + ex.getMessage() + "; query: " + getSql());
H A DSQLiteQueryBuilder.java56 * Mark the query as DISTINCT.
58 * @param distinct if true the query is DISTINCT, otherwise it isn't
74 * Sets the list of tables to query. Multiple tables can be specified to perform a join.
79 * @param inTables the list of tables to query on
86 * Append a chunk to the WHERE clause of the query. All chunks appended are surrounded
87 * by parenthesis and ANDed with the selection passed to {@link #query}. The final
90 * WHERE (&lt;append chunk 1>&lt;append chunk2>) AND (&lt;query() selection parameter>)
105 * Append a chunk to the WHERE clause of the query. All chunks appended are surrounded
106 * by parenthesis and ANDed with the selection passed to {@link #query}. The final
109 * WHERE (&lt;append chunk 1>&lt;append chunk2>) AND (&lt;query() selectio
291 public Cursor query(SQLiteDatabase db, String[] projectionIn, method in class:SQLiteQueryBuilder
330 public Cursor query(SQLiteDatabase db, String[] projectionIn, method in class:SQLiteQueryBuilder
372 public Cursor query(SQLiteDatabase db, String[] projectionIn, method in class:SQLiteQueryBuilder
[all...]
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/core/java/android/hardware/camera2/marshal/
H A DMarshaler.java45 * @param query an instance of {@link MarshalQueryable}
56 MarshalQueryable<T> query, TypeReference<T> typeReference, int nativeType) {
60 if (!query.isTypeMappingSupported(typeReference, nativeType)) {
55 Marshaler( MarshalQueryable<T> query, TypeReference<T> typeReference, int nativeType) argument
/frameworks/base/core/java/android/net/
H A DUri.java108 <scheme>://<authority><path>?<query>
275 * Gets the decoded query component from this URI. The query comes after
276 * the query separator ('?') and before the fragment separator ('#'). This
280 * @return the decoded query or null if there isn't one
285 * Gets the encoded query component from this URI. The query comes after
286 * the query separator ('?') and before the fragment separator ('#'). This
290 * @return the encoded query or null if there isn't one
390 // the data we include -- only the ssp, not the query param
633 private Part query; field in class:Uri.StringUri
1141 private final Part query; field in class:Uri.HierarchicalUri
1144 HierarchicalUri(String scheme, Part authority, PathPart path, Part query, Part fragment) argument
1323 private Part query; field in class:Uri.Builder
1431 query(Part query) argument
1442 query(String query) argument
1449 encodedQuery(String query) argument
[all...]
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/provider/
H A DCalendarContract.java174 * query parameters.
333 * Columns specific to the Calendars Uri that other Uris can query.
503 * cursor contains a calendars query.
505 * @param cursor query on {@link #CONTENT_URI}
639 * matches the query selection, or at most a single row if the {@link #_ID}
715 * {@link #ACCOUNT_NAME}, and {@link #ACCOUNT_TYPE} in the Uri's query
834 * {@link #query(ContentResolver, long, String[])} will return a list of attendees for
868 * @param cr The content resolver to use for the query
873 public static final Cursor query(ContentResolver cr, long eventId, String[] projection) { method in class:CalendarContract.Attendees
875 return cr.query(CONTENT_UR
1751 public static final Cursor query(ContentResolver cr, String[] projection, method in class:CalendarContract.Instances
1780 public static final Cursor query(ContentResolver cr, String[] projection, method in class:CalendarContract.Instances
2030 public static final Cursor query(ContentResolver cr, int startDay, int numDays, method in class:CalendarContract.EventDays
2114 public static final Cursor query(ContentResolver cr, long eventId, String[] projection) { method in class:CalendarContract.Reminders
[all...]
H A DDocumentsContract.java74 // content://com.example/root/sdcard/search/?query=pony
502 * choose to retry, resulting in a new query.
523 private static final String PARAM_QUERY = "query";
684 String authority, String rootId, String query) {
687 .appendQueryParameter(PARAM_QUERY, query).build();
767 * Extract the search query from a URI built by
683 buildSearchDocumentsUri( String authority, String rootId, String query) argument
H A DDocumentsProvider.java358 * Return documents that that match the given query under the requested
360 * order. How documents are matched against the query string is an
383 * @param query string to match documents against.
392 public Cursor querySearchDocuments(String rootId, String query, String[] projection) argument
475 public final Cursor query(Uri uri, String[] projection, String selection, method in class:DocumentsProvider
503 Log.w(TAG, "Failed during query", e);
H A DMediaStore.java119 * on a search query</a> in <a href="{@docRoot}guide/components/intents-common.html">Common
432 * work with multiple media file types in a single query.
616 c = cr.query(cancelUri, PROJECTION, null, null, null);
665 c = cr.query(baseUri, PROJECTION, column + origId, null, null);
679 c = cr.query(blockingUri, PROJECTION, null, null, null);
713 c = cr.query(uri, PROJECTION, null, null, null);
809 public static final Cursor query(ContentResolver cr, Uri uri, String[] projection) { method in class:MediaStore.Images.Media
810 return cr.query(uri, projection, null, null, DEFAULT_SORT_ORDER);
813 public static final Cursor query(ContentResolver cr, Uri uri, String[] projection, method in class:MediaStore.Images.Media
815 return cr.query(ur
819 public static final Cursor query(ContentResolver cr, Uri uri, String[] projection, method in class:MediaStore.Images.Media
1012 public static final Cursor query(ContentResolver cr, Uri uri, String[] projection) { method in class:MediaStore.Images.Thumbnails
1918 public static final Cursor query(ContentResolver cr, Uri uri, String[] projection) { method in class:MediaStore.Video
[all...]

Completed in 452 milliseconds

1234