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

123456789

/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 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 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 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/support/v17/leanback/src/android/support/v17/leanback/app/
H A DSearchFragment.java67 private static final String ARG_QUERY = ARG_PREFIX + ".query";
81 * an ObjectAdapter that will contain the results to future updates of the search query.</p>
91 * <p>Method invoked when the search query is updated.</p>
93 * <p>This is called as soon as the query changes; it is up to the application to add a
99 * @param newQuery The current search query.
100 * @return whether the results changed as a result of the new query.
105 * Method invoked when the search query is submitted, either by dismissing the keyboard,
106 * pressing search or next on the keyboard or when voice has detected the end of the query.
108 * @param query The query entere
111 onQueryTextSubmit(String query) argument
218 createArgs(Bundle args, String query) argument
222 createArgs(Bundle args, String query, String title) argument
240 newInstance(String query) argument
503 setSearchQuery(String query, boolean submit) argument
565 submitQuery(String query) argument
652 setSearchQuery(String query) argument
660 ExternalQuery(String query, boolean submit) argument
[all...]
H A DSearchSupportFragment.java69 private static final String ARG_QUERY = ARG_PREFIX + ".query";
83 * an ObjectAdapter that will contain the results to future updates of the search query.</p>
93 * <p>Method invoked when the search query is updated.</p>
95 * <p>This is called as soon as the query changes; it is up to the application to add a
101 * @param newQuery The current search query.
102 * @return whether the results changed as a result of the new query.
107 * Method invoked when the search query is submitted, either by dismissing the keyboard,
108 * pressing search or next on the keyboard or when voice has detected the end of the query.
110 * @param query The query entere
113 onQueryTextSubmit(String query) argument
220 createArgs(Bundle args, String query) argument
224 createArgs(Bundle args, String query, String title) argument
242 newInstance(String query) argument
505 setSearchQuery(String query, boolean submit) argument
567 submitQuery(String query) argument
654 setSearchQuery(String query) argument
662 ExternalQuery(String query, boolean submit) argument
[all...]
/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/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/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...]
/frameworks/native/libs/gui/tests/
H A DIGraphicBufferProducer_test.cpp277 EXPECT_OK(mProducer->query(NATIVE_WINDOW_WIDTH, &value));
280 EXPECT_OK(mProducer->query(NATIVE_WINDOW_HEIGHT, &value));
283 EXPECT_OK(mProducer->query(NATIVE_WINDOW_FORMAT, &value));
286 EXPECT_OK(mProducer->query(NATIVE_WINDOW_MIN_UNDEQUEUED_BUFFERS, &value));
290 EXPECT_OK(mProducer->query(NATIVE_WINDOW_CONSUMER_RUNNING_BEHIND, &value));
293 EXPECT_OK(mProducer->query(NATIVE_WINDOW_CONSUMER_USAGE_BITS, &value));
301 // One past the end of the last 'query' enum value. Update this if we add more enums.
306 EXPECT_EQ(BAD_VALUE, mProducer->query(/*what*/-1, &value));
307 EXPECT_EQ(BAD_VALUE, mProducer->query(/*what*/0xDEADBEEF, &value));
308 EXPECT_EQ(BAD_VALUE, mProducer->query(NATIVE_WINDOW_QUERY_LAST_OFF_BY_ON
[all...]
/frameworks/base/tests/BandwidthTests/src/com/android/tests/bandwidthenforcement/
H A DBandwidthEnforcementTestService.java150 * Tests dns query.
159 final byte[] query = buildDnsQuery("www", "android", "com");
161 query, query.length, InetAddress.parseNumericAddress("8.8.8.8"), 53);
164 final byte[] reply = new byte[query.length];
179 * Helper method to build a dns query
180 * @param query the dns strings of the server
181 * @return the byte array of the dns query to send
184 private static byte[] buildDnsQuery(String... query) throws IOException { argument
198 for (String phrase : query) {
[all...]
/frameworks/base/core/java/android/webkit/
H A DMimeTypeMap.java50 int query = url.lastIndexOf('?');
51 if (query > 0) {
52 url = url.substring(0, query);

Completed in 572 milliseconds

123456789