/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/ |
H A D | SearchViewUiTest.java | 48 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 D | AbstractAssetMatcher.java | 22 * 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 D | WebAssetMatcher.java | 26 public WebAssetMatcher(WebAsset query) { argument 27 mQuery = query;
|
H A D | AndroidAppAssetMatcher.java | 30 public AndroidAppAssetMatcher(AndroidAppAsset query) { argument 31 mQuery = query;
|
H A D | AssetMatcherFactory.java | 30 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 D | WifiP2pServiceRequest.java | 50 * 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 D | WifiP2pUpnpServiceRequest.java | 36 * @param query The part of service specific query. 39 protected WifiP2pUpnpServiceRequest(String query) { argument 40 super(WifiP2pServiceInfo.SERVICE_TYPE_UPNP, query);
|
H A D | WifiP2pDnsSdServiceRequest.java | 34 * @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 D | SQLiteDirectCursorDriver.java | 24 * 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 D | SQLiteQueryBuilder.java | 56 * 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 (<append chunk 1><append chunk2>) AND (<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 (<append chunk 1><append chunk2>) AND (<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 D | SQLiteCursorDriver.java | 28 * Executes the query returning a Cursor over the result set. 34 Cursor query(CursorFactory factory, String[] bindArgs); method in interface:SQLiteCursorDriver
|
H A D | SQLiteQuery.java | 25 * 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 D | Search.java | 61 * @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/compat/java/android/support/v4/content/ |
H A D | ContentResolverCompat.java | 32 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/compat/jellybean/android/support/v4/content/ |
H A D | ContentResolverCompatJellybean.java | 26 public static Cursor query(ContentResolver resolver, Uri uri, String[] projection, method in class:ContentResolverCompatJellybean 29 return resolver.query(uri, projection, selection, selectionArgs, sortOrder,
|
/frameworks/support/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/app/ |
H A D | SearchActivity.java | 35 // 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 D | SearchActivity.java | 35 // 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 D | TrackerDataHelper.java | 108 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 D | Marshaler.java | 45 * @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 D | MediaControllerCompatApi24.java | 34 public static void prepareFromSearch(Object controlsObj, String query, Bundle extras) { argument 35 ((MediaController.TransportControls) controlsObj).prepareFromSearch(query, extras);
|
H A D | MediaSessionCompatApi24.java | 48 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 D | SelectionBuilder.java | 96 * 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/honeycomb/android/support/v4/widget/ |
H A D | SearchViewCompatHoneycomb.java | 43 boolean onQueryTextSubmit(String query); argument 65 public boolean onQueryTextSubmit(String query) { 66 return listener.onQueryTextSubmit(query); 97 public static void setQuery(View searchView, CharSequence query, boolean submit) { argument 98 ((SearchView) searchView).setQuery(query, submit);
|
/frameworks/support/frameworks/support/samples/SupportLeanbackDemos/src/com/example/android/leanback/ |
H A D | SearchFragment.java | 56 public boolean onQueryTextSubmit(String query) { argument 57 Log.i(TAG, String.format("Search Query Text Submit %s", query)); 59 loadQuery(query); 63 private void loadQuery(String query) { argument 64 mQuery = query; 66 if (!TextUtils.isEmpty(query) && !query.equals("nil")) {
|
H A D | SearchSupportFragment.java | 58 public boolean onQueryTextSubmit(String query) { argument 59 Log.i(TAG, String.format("Search Query Text Submit %s", query)); 61 loadQuery(query); 65 private void loadQuery(String query) { argument 66 mQuery = query; 68 if (!TextUtils.isEmpty(query) && !query.equals("nil")) {
|