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

1234567

/frameworks/base/wifi/java/android/net/wifi/p2p/nsd/
H A DWifiP2pServiceRequest.java48 * query data field.
59 * The hex dump string of query data for the requested service information.
70 * @param query The part of service specific query.
73 protected WifiP2pServiceRequest(int protocolType, String query) { argument
74 validateQuery(query);
77 mQuery = query;
78 if (query != null) {
79 mLength = query.length()/2 + 2;
91 * @param query Th
93 WifiP2pServiceRequest(int serviceType, int length, int transId, String query) argument
154 validateQuery(String query) argument
[all...]
H A DWifiP2pUpnpServiceRequest.java34 * @param query The part of service specific query.
37 protected WifiP2pUpnpServiceRequest(String query) { argument
38 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 (<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 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/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/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/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DCallerInfoTest.java80 * Same as testEmergencyIsProperlySet but uses the async query api.
84 QueryRunner query;
86 query = new QueryRunner("911");
87 query.runAndCheckCompletion();
90 query = new QueryRunner("tel:911");
91 query.runAndCheckCompletion();
94 query = new QueryRunner("18001234567");
95 query.runAndCheckCompletion();
165 * query, so we have to use a thread with its own looper.
178 // Run the query i
[all...]
/frameworks/base/core/java/android/net/
H A DUri.java105 <scheme>://<authority><path>?<query>
272 * Gets the decoded query component from this URI. The query comes after
273 * the query separator ('?') and before the fragment separator ('#'). This
277 * @return the decoded query or null if there isn't one
282 * Gets the encoded query component from this URI. The query comes after
283 * the query separator ('?') and before the fragment separator ('#'). This
287 * @return the encoded query or null if there isn't one
387 // the data we include -- only the ssp, not the query param
630 private Part query; field in class:Uri.StringUri
1138 private final Part query; field in class:Uri.HierarchicalUri
1141 HierarchicalUri(String scheme, Part authority, PathPart path, Part query, Part fragment) argument
1320 private Part query; field in class:Uri.Builder
1428 query(Part query) argument
1439 query(String query) argument
1446 encodedQuery(String query) argument
[all...]
H A DMailTo.java76 // Parse out the query parameters
77 String query = email.getQuery();
78 if (query != null ) {
79 String[] queries = query.split("&");
/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 DApplications.java76 public static Cursor search(ContentResolver resolver, String query) { argument
77 Uri searchUri = CONTENT_URI.buildUpon().appendPath(SEARCH_PATH).appendPath(query).build();
78 return resolver.query(searchUri, null, null, null, null);
/frameworks/base/core/java/android/webkit/
H A DMimeTypeMap.java50 int query = url.lastIndexOf('?');
51 if (query > 0) {
52 url = url.substring(0, query);
/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/core/tests/coretests/src/android/content/
H A DContentResolverTest.java38 mContentResolver.query(ContactsContract.Contacts.CONTENT_URI, null, null, null, null);
/frameworks/base/core/java/android/app/
H A DSearchManager.java86 * to obtain the query string from Intent.ACTION_SEARCH.
88 public final static String QUERY = "query";
94 * to obtain the query string typed in by the user.
126 * to obtain the keycode that the user used to trigger this query. It will be zero if the
141 * the initial query should be selected when the global search activity is started, so
142 * that the user can easily replace it with another query.
178 * Flag to specify that the entry can be used for query refinement, i.e., the query text
179 * in the search field can be replaced with the text in this entry, when a query refinement
313 * used when forming the suggestion's query
633 triggerSearch(String query, ComponentName launchActivity, Bundle appSearchData) argument
767 getSuggestions(SearchableInfo searchable, String query) argument
782 getSuggestions(SearchableInfo searchable, String query, int limit) argument
[all...]
/frameworks/support/v4/java/android/support/v4/widget/
H A DSearchViewCompat.java42 void setQuery(View searchView, CharSequence query, boolean submit); argument
96 public void setQuery(View searchView, CharSequence query, boolean submit) { argument
152 public boolean onQueryTextSubmit(String query) {
153 return listener.onQueryTextSubmit(query);
189 public void setQuery(View searchView, CharSequence query, boolean submit) { argument
190 SearchViewCompatHoneycomb.setQuery(searchView, query, submit);
294 * Sets the IME options on the query text field. This is a no-op if
300 * @param imeOptions the options to set on the query text field
307 * Sets the input type on the query text field. This is a no-op if
313 * @param inputType the input type to set on the query tex
352 onQueryTextSubmit(String query) argument
420 setQuery(View searchView, CharSequence query, boolean submit) 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/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

Completed in 1823 milliseconds

1234567