Searched defs:query (Results 1 - 25 of 115) sorted by relevance

12345

/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 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);
H A DWebAssetMatcher.java26 public WebAssetMatcher(WebAsset query) { argument
27 mQuery = query;
/frameworks/base/wifi/java/android/net/wifi/p2p/nsd/
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 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 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 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/tests/coretests/src/android/database/
H A DDatabaseLocaleTest.java65 private String[] query(String sql) { method in class:DatabaseLocaleTest
83 String[] results = query("SELECT data FROM test");
93 results = query("SELECT data FROM test ORDER BY data COLLATE LOCALIZED ASC");
/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/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);
/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/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/tests/coretests/EnabledTestApp/src/com/android/frameworks/coretests/enabled_app/
H A DDisabledProvider.java34 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, method in class:DisabledProvider
H A DEnabledProvider.java34 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, method in class:EnabledProvider
/frameworks/base/core/tests/coretests/apks/install_complete_package_info/src/com/android/frameworks/coretests/
H A DTestProvider.java33 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, method in class:TestProvider
H A DTestReceiver.java33 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, method in class:TestReceiver
/frameworks/base/core/tests/coretests/apks/version/src/com/android/frameworks/coretests/version_test/
H A DNullProvider.java15 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, method in class:NullProvider
/frameworks/base/core/tests/coretests/apks/version_nosys/src/com/android/frameworks/coretests/version_test/
H A DNullProvider.java15 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, method in class:NullProvider
/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/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/
H A DSearchViewBindingAdapter.java44 public boolean onQueryTextSubmit(String query) {
46 return submit.onQueryTextSubmit(query);
98 boolean onQueryTextSubmit(String query); argument
/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/base/core/java/android/provider/
H A DSearchIndexablesProvider.java106 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, method in class:SearchIndexablesProvider

Completed in 949 milliseconds

12345