/frameworks/base/wifi/java/android/net/wifi/p2p/nsd/ |
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 | 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 | 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 | 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 | SqliteWrapper.java | 56 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 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/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/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/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
|
H A D | EnabledProvider.java | 34 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 D | TestProvider.java | 33 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, method in class:TestProvider
|
H A D | TestReceiver.java | 33 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 D | NullProvider.java | 15 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 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/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/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/tests/ActivityTests/src/com/google/android/test/activity/ |
H A D | SingleUserProvider.java | 35 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 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/opt/mms/src/java/com/google/android/mms/util/ |
H A D | SqliteWrapper.java | 68 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/photoviewer/sample/src/com/example/photoviewersample/ |
H A D | SampleProvider.java | 61 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/vcard/tests/src/com/android/vcard/tests/testutils/ |
H A D | ExportTestProvider.java | 114 public Cursor query(Uri uri,String[] projection, method in class:ExportTestProvider
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
H A D | LocalProvider.java | 84 public Cursor query(Uri url, String[] projectionIn, String selection, method in class:LocalProvider 88 // Generate the body of the query 104 Cursor ret = qb.query(db, projectionIn, selection, selectionArgs, 108 if (false) Log.d(TAG, "Alarms.query: failed");
|
/frameworks/base/core/tests/coretests/src/android/content/ |
H A D | MemoryFileProvider.java | 113 public Cursor query(Uri url, String[] projectionIn, String selection, method in class:MemoryFileProvider 115 throw new UnsupportedOperationException("query not supported");
|
/frameworks/base/services/java/com/android/server/ |
H A D | PreferredComponent.java | 195 public boolean sameSet(List<ResolveInfo> query, int priority) { argument 197 final int NQ = query.size(); 201 ResolveInfo ri = query.get(i);
|