/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 | 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 | 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 | 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());
|
H A D | SQLiteCursor.java | 29 * 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 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/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/support/v17/leanback/src/android/support/v17/leanback/app/ |
H A D | SearchFragment.java | 68 private static final String ARG_QUERY = ARG_PREFIX + ".query"; 79 * an ObjectAdapter that will contain the results to future updates of the search query.</p> 89 * <p>Method invoked when the search query is updated.</p> 91 * <p>This is called as soon as the query changes; it is up to the application to add a 97 * @param newQuery The current search query. 98 * @return whether the results changed as a result of the new query. 103 * Method invoked when the search query is submitted, either by dismissing the keyboard, 104 * pressing search or next on the keyboard or when voice has detected the end of the query. 106 * @param query The query entere 109 onQueryTextSubmit(String query) argument 192 createArgs(Bundle args, String query) argument 196 createArgs(Bundle args, String query, String title) argument 214 newInstance(String query) argument 510 setSearchQuery(String query, boolean submit) argument 625 setSearchQuery(String query) argument [all...] |
/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/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/v4/honeycomb/android/support/v4/widget/ |
H A D | SearchViewCompatHoneycomb.java | 33 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 D | Uri.java | 108 <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 390 // the data we include -- only the ssp, not the query param 633 private Part query; field in class:Uri.StringUri 1141 private final Part query; field in class:Uri.HierarchicalUri 1144 HierarchicalUri(String scheme, Part authority, PathPart path, Part query, Part fragment) argument 1323 private Part query; field in class:Uri.Builder 1431 query(Part query) argument 1442 query(String query) argument 1449 encodedQuery(String query) argument [all...] |
H A D | MailTo.java | 76 // Parse out the query parameters 77 String query = email.getQuery(); 78 if (query != null ) { 79 String[] queries = query.split("&");
|
/frameworks/native/libs/gui/tests/ |
H A D | IGraphicBufferProducer_test.cpp | 271 EXPECT_OK(mProducer->query(NATIVE_WINDOW_WIDTH, &value)); 274 EXPECT_OK(mProducer->query(NATIVE_WINDOW_HEIGHT, &value)); 277 EXPECT_OK(mProducer->query(NATIVE_WINDOW_FORMAT, &value)); 280 EXPECT_OK(mProducer->query(NATIVE_WINDOW_MIN_UNDEQUEUED_BUFFERS, &value)); 284 EXPECT_OK(mProducer->query(NATIVE_WINDOW_CONSUMER_RUNNING_BEHIND, &value)); 287 EXPECT_OK(mProducer->query(NATIVE_WINDOW_CONSUMER_USAGE_BITS, &value)); 295 // One past the end of the last 'query' enum value. Update this if we add more enums. 300 EXPECT_EQ(BAD_VALUE, mProducer->query(/*what*/-1, &value)); 301 EXPECT_EQ(BAD_VALUE, mProducer->query(/*what*/0xDEADBEEF, &value)); 302 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 D | BandwidthEnforcementTestService.java | 150 * 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 D | MimeTypeMap.java | 50 int query = url.lastIndexOf('?'); 51 if (query > 0) { 52 url = url.substring(0, query);
|
/frameworks/base/core/tests/coretests/src/android/app/ |
H A D | SuggestionProvider.java | 63 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 D | ContentResolverTest.java | 38 mContentResolver.query(ContactsContract.Contacts.CONTENT_URI, null, null, null, null);
|
/frameworks/base/core/java/android/app/ |
H A D | SearchManager.java | 85 * to obtain the query string from Intent.ACTION_SEARCH. 87 public final static String QUERY = "query"; 93 * to obtain the query string typed in by the user. 125 * to obtain the keycode that the user used to trigger this query. It will be zero if the 140 * the initial query should be selected when the global search activity is started, so 141 * that the user can easily replace it with another query. 177 * Flag to specify that the entry can be used for query refinement, i.e., the query text 178 * in the search field can be replaced with the text in this entry, when a query refinement 335 * used when forming the suggestion's query 742 triggerSearch(String query, ComponentName launchActivity, Bundle appSearchData) argument 876 getSuggestions(SearchableInfo searchable, String query) argument 891 getSuggestions(SearchableInfo searchable, String query, int limit) argument [all...] |
/frameworks/support/v4/java/android/support/v4/widget/ |
H A D | SearchViewCompat.java | 42 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 D | DatabaseLocaleTest.java | 65 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 D | DisabledProvider.java | 34 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, method in class:DisabledProvider
|