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

1234

/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);
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/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/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/base/core/java/android/provider/
H A DSearchIndexablesProvider.java104 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, method in class:SearchIndexablesProvider
/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/base/core/tests/coretests/src/android/app/
H A DSuggestionProvider.java63 public Cursor query(Uri url, String[] projectionIn, String selection, method in class:SuggestionProvider
68 String query = url.getLastPathSegment();
72 addRow(cursor, query + suffix);
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/
H A DSingleUserProvider.java35 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, method in class:SingleUserProvider
/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/opt/photoviewer/sample/src/com/example/photoviewersample/
H A DSampleProvider.java61 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, method in class:SampleProvider
66 * Choose the table to query and a sort order based on the code returned for the incoming
95 // call the code to actually do the query
/frameworks/opt/telephony/src/java/com/google/android/mms/util/
H A DSqliteWrapper.java68 public static Cursor query(Context context, ContentResolver resolver, Uri uri, method in class:SqliteWrapper
71 return resolver.query(uri, projection, selection, selectionArgs, sortOrder);
73 Log.e(TAG, "Catch a SQLiteException when query: ", e);
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/
H A DExportTestProvider.java114 public Cursor query(Uri uri,String[] projection, method in class:ExportTestProvider

Completed in 682 milliseconds

1234