Searched refs:query (Results 1 - 25 of 284) sorted by relevance

1234567891011>>

/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/
H A DAbstractAssetMatcher.java22 * An asset matcher that can match asset with the given query.
40 * <p> For web namespace, {@code query} will match assets that have the same 'site' field.
42 * <p> For Android namespace, {@code query} will match assets that have the same
46 public static AbstractAssetMatcher createMatcher(String query) argument
48 return AssetMatcherFactory.create(query);
H A DWebAssetMatcher.java26 public WebAssetMatcher(WebAsset query) { argument
27 mQuery = query;
H A DAndroidAppAssetMatcher.java30 public AndroidAppAssetMatcher(AndroidAppAsset query) { argument
31 mQuery = query;
H A DAssetMatcherFactory.java30 public static AbstractAssetMatcher create(String query) throws AssociationServiceException, argument
32 JSONObject queryObject = new JSONObject(query);
/frameworks/base/wifi/java/android/net/wifi/p2p/nsd/
H A DWifiP2pServiceRequest.java50 * query data field.
61 * The hex dump string of query data for the requested service information.
72 * @param query The part of service specific query.
75 protected WifiP2pServiceRequest(int protocolType, String query) { argument
76 validateQuery(query);
79 mQuery = query;
80 if (query != null) {
81 mLength = query.length()/2 + 2;
93 * @param query Th
95 WifiP2pServiceRequest(int serviceType, int length, int transId, String query) argument
156 validateQuery(String query) argument
[all...]
H A DWifiP2pUpnpServiceRequest.java36 * @param query The part of service specific query.
39 protected WifiP2pUpnpServiceRequest(String query) { argument
40 super(WifiP2pServiceInfo.SERVICE_TYPE_UPNP, query);
H A DWifiP2pDnsSdServiceRequest.java34 * @param query The part of service specific query.
37 private WifiP2pDnsSdServiceRequest(String query) { argument
38 super(WifiP2pServiceInfo.SERVICE_TYPE_BONJOUR, query);
/frameworks/base/core/java/android/database/sqlite/
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 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 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 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());
/frameworks/ex/common/java/com/android/common/
H A DSearch.java61 * @param query The search text entered (so far).
62 * @return a cursor with suggestions, or <code>null</null> the suggestion query failed.
64 public static Cursor getSuggestions(Context context, SearchableInfo searchable, String query) { argument
65 return getSuggestions(context, searchable, query, -1);
72 * @param query The search text entered (so far).
73 * @param limit The query limit to pass to the suggestion provider. This is advisory,
75 * @return a cursor with suggestions, or <code>null</null> the suggestion query failed.
78 String query, int limit) {
91 .query("") // TODO: Remove, workaround for a bug in Uri.writeToParcel()
100 // append standard suggestion query pat
77 getSuggestions(Context context, SearchableInfo searchable, String query, int limit) argument
[all...]
/frameworks/support/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/app/
H A DSearchActivity.java35 // Get the intent, verify the action and get the query
38 String query = intent.getStringExtra(SearchManager.QUERY);
41 suggestions.saveRecentQuery(query, null);
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/app/
H A DSearchActivity.java35 // Get the intent, verify the action and get the query
38 String query = intent.getStringExtra(SearchManager.QUERY);
41 suggestions.saveRecentQuery(query, null);
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/
H A DTrackerDataHelper.java108 public Cursor query(String tag, int limit) { method in class:TrackerDataHelper
111 Cursor cursor = mContext.getContentResolver().query(
128 public Cursor query(int limit) { method in class:TrackerDataHelper
129 return query(null, limit);
139 public Cursor query(String tag) { method in class:TrackerDataHelper
140 return query(tag, Integer.MAX_VALUE);
/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/support/media-compat/api24/android/support/v4/media/session/
H A DMediaControllerCompatApi24.java36 public static void prepareFromSearch(Object controlsObj, String query, Bundle extras) { argument
37 ((MediaController.TransportControls) controlsObj).prepareFromSearch(query, extras);
/frameworks/base/core/java/com/android/internal/content/
H A DSelectionBuilder.java96 * Execute query using the current internal state as {@code WHERE} clause.
99 public Cursor query(SQLiteDatabase db, String table, String[] columns, String orderBy) { method in class:SelectionBuilder
100 return query(db, table, columns, null, null, orderBy, null);
104 * Execute query using the current internal state as {@code WHERE} clause.
106 public Cursor query(SQLiteDatabase db, String table, String[] columns, String groupBy, method in class:SelectionBuilder
108 return db.query(table, columns, getSelection(), getSelectionArgs(), groupBy, having,
/frameworks/support/compat/java/android/support/v4/content/
H A DContentResolverCompat.java66 * when the query is executed.
70 public static Cursor query(ContentResolver resolver, method in class:ContentResolverCompat
80 return resolver.query(uri, projection, selection, selectionArgs, sortOrder,
84 // query() can throw a framework OperationCanceledException if it has been
93 // Note that the cancellation signal cannot cancel the query in progress
98 return resolver.query(uri, projection, selection, selectionArgs, sortOrder);
/frameworks/support/frameworks/support/samples/SupportLeanbackDemos/src/com/example/android/leanback/
H A DSearchFragment.java60 public boolean onQueryTextSubmit(String query) { argument
61 Log.i(TAG, String.format("Search Query Text Submit %s", query));
63 loadQuery(query);
67 private void loadQuery(String query) { argument
68 mQuery = query;
70 if (!TextUtils.isEmpty(query) && !query.equals("nil")) {
H A DSearchSupportFragment.java63 public boolean onQueryTextSubmit(String query) { argument
64 Log.i(TAG, String.format("Search Query Text Submit %s", query));
66 loadQuery(query);
70 private void loadQuery(String query) { argument
71 mQuery = query;
73 if (!TextUtils.isEmpty(query) && !query.equals("nil")) {
/frameworks/support/samples/SupportLeanbackDemos/src/com/example/android/leanback/
H A DSearchFragment.java60 public boolean onQueryTextSubmit(String query) { argument
61 Log.i(TAG, String.format("Search Query Text Submit %s", query));
63 loadQuery(query);
67 private void loadQuery(String query) { argument
68 mQuery = query;
70 if (!TextUtils.isEmpty(query) && !query.equals("nil")) {
H A DSearchSupportFragment.java63 public boolean onQueryTextSubmit(String query) { argument
64 Log.i(TAG, String.format("Search Query Text Submit %s", query));
66 loadQuery(query);
70 private void loadQuery(String query) { argument
71 mQuery = query;
73 if (!TextUtils.isEmpty(query) && !query.equals("nil")) {
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
H A DSearchFragment.java74 private static final String ARG_QUERY = ARG_PREFIX + ".query";
90 * an ObjectAdapter that will contain the results to future updates of the search query.</p>
100 * <p>Method invoked when the search query is updated.</p>
102 * <p>This is called as soon as the query changes; it is up to the application to add a
108 * @param newQuery The current search query.
109 * @return whether the results changed as a result of the new query.
114 * Method invoked when the search query is submitted, either by dismissing the keyboard,
115 * pressing search or next on the keyboard or when voice has detected the end of the query.
117 * @param query The query entere
120 onQueryTextSubmit(String query) argument
254 createArgs(Bundle args, String query) argument
258 createArgs(Bundle args, String query, String title) argument
276 newInstance(String query) argument
600 setSearchQuery(String query, boolean submit) argument
662 submitQuery(String query) argument
754 setSearchQuery(String query) argument
762 ExternalQuery(String query, boolean submit) argument
[all...]
H A DSearchSupportFragment.java77 private static final String ARG_QUERY = ARG_PREFIX + ".query";
93 * an ObjectAdapter that will contain the results to future updates of the search query.</p>
103 * <p>Method invoked when the search query is updated.</p>
105 * <p>This is called as soon as the query changes; it is up to the application to add a
111 * @param newQuery The current search query.
112 * @return whether the results changed as a result of the new query.
117 * Method invoked when the search query is submitted, either by dismissing the keyboard,
118 * pressing search or next on the keyboard or when voice has detected the end of the query.
120 * @param query The query entere
123 onQueryTextSubmit(String query) argument
257 createArgs(Bundle args, String query) argument
261 createArgs(Bundle args, String query, String title) argument
279 newInstance(String query) argument
603 setSearchQuery(String query, boolean submit) argument
665 submitQuery(String query) argument
757 setSearchQuery(String query) argument
765 ExternalQuery(String query, boolean submit) argument
[all...]

Completed in 2628 milliseconds

1234567891011>>