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

12345678910

/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/
H A DSearchViewUiTest.java48 String query = "file2";
50 bots.main.setSearchQuery(query);
62 String query = "file1";
64 bots.main.setSearchQuery(query);
65 bots.main.assertSearchTextField(true, query);
72 bots.main.assertSearchTextField(false, query);
80 String query = fileName1;
82 bots.main.setSearchQuery(query);
95 String query = "chocolate";
97 bots.main.setSearchQuery(query);
[all...]
/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());
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...]
/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/v4/java/android/support/v4/content/
H A DContentResolverCompat.java32 Cursor query(ContentResolver resolver, method in interface:ContentResolverCompat.ContentResolverCompatImpl
39 public Cursor query(ContentResolver resolver, Uri uri, String[] projection, method in class:ContentResolverCompat.ContentResolverCompatImplBase
42 // Note that the cancellation signal cannot cancel the query in progress
47 return resolver.query(uri, projection, selection, selectionArgs, sortOrder);
53 public Cursor query(ContentResolver resolver, Uri uri, String[] projection, method in class:ContentResolverCompat.ContentResolverCompatImplJB
57 return ContentResolverCompatJellybean.query(resolver,
63 // query() can throw a framework OperationCanceledException if it has been
118 * when the query is executed.
122 public static Cursor query(ContentResolver resolver, method in class:ContentResolverCompat
125 return IMPL.query(resolve
[all...]
/frameworks/support/v4/jellybean/android/support/v4/content/
H A DContentResolverCompatJellybean.java26 public static Cursor query(ContentResolver resolver, Uri uri, String[] projection, method in class:ContentResolverCompatJellybean
29 return resolver.query(uri, projection, selection, selectionArgs, sortOrder,
/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/v4/api24/android/support/v4/media/session/
H A DMediaControllerCompatApi24.java34 public static void prepareFromSearch(Object controlsObj, String query, Bundle extras) { argument
35 ((MediaController.TransportControls) controlsObj).prepareFromSearch(query, extras);
H A DMediaSessionCompatApi24.java48 public void onPrepareFromSearch(String query, Bundle extras); argument
69 public void onPrepareFromSearch(String query, Bundle extras) { argument
70 mCallback.onPrepareFromSearch(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/v4/honeycomb/android/support/v4/widget/
H A DSearchViewCompatHoneycomb.java33 public boolean onQueryTextSubmit(String query); argument
55 public boolean onQueryTextSubmit(String query) {
56 return listener.onQueryTextSubmit(query);
87 public static void setQuery(View searchView, CharSequence query, boolean submit) { argument
88 ((SearchView) searchView).setQuery(query, submit);
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
H A DSearchFragment.java73 private static final String ARG_QUERY = ARG_PREFIX + ".query";
89 * an ObjectAdapter that will contain the results to future updates of the search query.</p>
99 * <p>Method invoked when the search query is updated.</p>
101 * <p>This is called as soon as the query changes; it is up to the application to add a
107 * @param newQuery The current search query.
108 * @return whether the results changed as a result of the new query.
113 * Method invoked when the search query is submitted, either by dismissing the keyboard,
114 * pressing search or next on the keyboard or when voice has detected the end of the query.
116 * @param query The query entere
119 onQueryTextSubmit(String query) argument
247 createArgs(Bundle args, String query) argument
251 createArgs(Bundle args, String query, String title) argument
269 newInstance(String query) argument
560 setSearchQuery(String query, boolean submit) argument
622 submitQuery(String query) argument
715 setSearchQuery(String query) argument
723 ExternalQuery(String query, boolean submit) argument
[all...]
H A DSearchSupportFragment.java75 private static final String ARG_QUERY = ARG_PREFIX + ".query";
91 * an ObjectAdapter that will contain the results to future updates of the search query.</p>
101 * <p>Method invoked when the search query is updated.</p>
103 * <p>This is called as soon as the query changes; it is up to the application to add a
109 * @param newQuery The current search query.
110 * @return whether the results changed as a result of the new query.
115 * Method invoked when the search query is submitted, either by dismissing the keyboard,
116 * pressing search or next on the keyboard or when voice has detected the end of the query.
118 * @param query The query entere
121 onQueryTextSubmit(String query) argument
249 createArgs(Bundle args, String query) argument
253 createArgs(Bundle args, String query, String title) argument
271 newInstance(String query) argument
562 setSearchQuery(String query, boolean submit) argument
624 submitQuery(String query) argument
717 setSearchQuery(String query) argument
725 ExternalQuery(String query, boolean submit) argument
[all...]
/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
395 // the data we include -- only the ssp, not the query param
638 private Part query; field in class:Uri.StringUri
1146 private final Part query; field in class:Uri.HierarchicalUri
1149 HierarchicalUri(String scheme, Part authority, PathPart path, Part query, Part fragment) argument
1328 private Part query; field in class:Uri.Builder
1436 query(Part query) argument
1447 query(String query) argument
1454 encodedQuery(String query) argument
[all...]

Completed in 789 milliseconds

12345678910