/frameworks/support/media-compat/tests/src/android/support/v4/media/session/ |
H A D | MediaControllerCompatTest.java | 301 final String query = "test-query"; 302 controls.playFromSearch(query, extras); 305 assertEquals(query, mCallback.mQuery); 356 controls.prepareFromSearch(query, extras); 359 assertEquals(query, mCallback.mQuery); 626 public void onPlayFromSearch(String query, Bundle extras) { argument 629 mQuery = query; 694 public void onPrepareFromSearch(String query, Bundle extras) { argument 697 mQuery = query; [all...] |
/frameworks/base/core/java/android/database/sqlite/ |
H A D | SQLiteDatabase.java | 665 * cursor when query is called, or null for default 686 * cursor when query is called, or null for default 825 * cursor when query is called 1006 * @param table The table name to compile the query against. 1027 * @param limit Limits the number of rows returned by the query, 1033 public Cursor query(boolean distinct, String table, String[] columns, method in class:SQLiteDatabase 1044 * @param table The table name to compile the query against. 1065 * @param limit Limits the number of rows returned by the query, 1069 * when the query is executed. 1074 public Cursor query(boolea method in class:SQLiteDatabase 1200 public Cursor query(String table, String[] columns, String selection, method in class:SQLiteDatabase 1238 public Cursor query(String table, String[] columns, String selection, method in class:SQLiteDatabase 2199 newCursor(SQLiteDatabase db, SQLiteCursorDriver masterQuery, String editTable, SQLiteQuery query) argument [all...] |
/frameworks/base/media/java/android/media/ |
H A D | RingtoneManager.java | 504 * @param context Context used to query the database 506 * @return Uri of the ringtone, null if something fails in the query or the ringtone doesn't 514 try (final Cursor cursor = context.getContentResolver().query( 609 return query( 631 ? query( 684 private Cursor query(Uri uri, method in class:RingtoneManager 689 return query(uri, projection, selection, selectionArgs, sortOrder, mContext); 692 private Cursor query(Uri uri, method in class:RingtoneManager 701 return context.getContentResolver().query(uri, projection, selection, selectionArgs, 713 * @param context A context used to query [all...] |
/frameworks/ex/common/java/com/android/common/contacts/ |
H A D | DataUsageStatUpdater.java | 120 final Cursor cursor = mResolver.query(Email.CONTENT_URI, 170 final Cursor cursor = mResolver.query(Phone.CONTENT_URI,
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/ |
H A D | WifiP2pNative.java | 501 * wildcard query that is sent to every discovered P2P peer that supports 505 * @param query Hex dump of the query data. 509 public String p2pServDiscReq(String addr, String query) { argument 510 return mSupplicantP2pIfaceHal.requestServiceDiscovery(addr, query);
|
/frameworks/base/core/java/android/widget/ |
H A D | SuggestionsAdapter.java | 143 * Enables query refinement for all suggestions. This means that an additional icon 145 * copied to the query text field. 157 * Returns the current query refinement preference. 158 * @return value of query refinement preference 175 * in a worker thread, so it's OK if the query is slow (e.g. round trip for suggestions). 181 String query = (constraint == null) ? "" : constraint.toString(); 193 cursor = mSearchManager.getSuggestions(mSearchable, query, QUERY_LIMIT); 201 Log.w(LOG_TAG, "Search suggestions query threw an exception.", e); 241 // Check if the Cursor indicates that the query is not complete and show the spinner 447 * Gets the text to show in the query fiel [all...] |
/frameworks/base/core/tests/coretests/src/android/content/ |
H A D | ContentProviderOperationTest.java | 144 public Cursor query(Uri uri, String[] projection, String selection, 163 public Cursor query(Uri uri, String[] projection, String selection, 179 public Cursor query(Uri uri, String[] projection, String selection, 195 public Cursor query(Uri uri, String[] projection, String selection, 529 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, method in class:ContentProviderOperationTest.TestContentProvider
|
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/support/media-compat/java/android/support/v4/media/ |
H A D | MediaBrowserServiceCompat.java | 871 public void search(final String query, final Bundle extras, final ResultReceiver receiver, argument 873 if (TextUtils.isEmpty(query) || receiver == null) { 884 Log.w(TAG, "search for callback that isn't registered query=" + query); 887 performSearch(query, extras, connection, receiver); 1120 * @param query The search query sent from the media browser. It contains keywords separated 1125 public void onSearch(@NonNull String query, Bundle extras, argument 1394 void performSearch(final String query, Bundle extras, ConnectionRecord connection, argument 1397 new Result<List<MediaBrowserCompat.MediaItem>>(query) { [all...] |
/frameworks/base/core/java/android/content/ |
H A D | ContentResolver.java | 199 * returned Cursor as part of its query call. 205 * Key for an SQL style selection string that may be present in the query Bundle argument 206 * passed to {@link ContentProvider#query(Uri, String[], Bundle, CancellationSignal)} 215 * encourage to use structured query arguments in lieu of opaque SQL query clauses.</b> 221 public static final String QUERY_ARG_SQL_SELECTION = "android:query-arg-sql-selection"; 232 * encourage to use structured query arguments in lieu of opaque SQL query clauses.</b> 239 "android:query-arg-sql-selection-args"; 242 * Key for an SQL style sort string that may be present in the query Bundl 659 public final @Nullable Cursor query(@RequiresPermission.Read @NonNull Uri uri, method in class:ContentResolver 699 public final @Nullable Cursor query(@RequiresPermission.Read @NonNull Uri uri, method in class:ContentResolver 734 public final @Nullable Cursor query(final @RequiresPermission.Read @NonNull Uri uri, method in class:ContentResolver [all...] |
H A D | CursorLoader.java | 32 * query on a background thread so that it does not block the application's UI. 34 * <p>A CursorLoader must be built with the full information for the query to 64 Cursor cursor = getContext().getContentResolver().query(mUri, mProjection, mSelection, 99 // An async query came in while the loader is stopped 120 * to specify the query to perform. 129 * {@link ContentResolver#query(Uri, String[], String, String[], String) 130 * ContentResolver.query()} for documentation on the meaning of the
|
H A D | IContentProvider.java | 38 public Cursor query(String callingPkg, Uri url, @Nullable String[] projection, method in interface:IContentProvider
|
/frameworks/base/core/java/android/provider/ |
H A D | CallLog.java | 693 cursor = resolver.query(Phone.CONTENT_URI, 701 cursor = resolver.query( 835 c = resolver.query(
|
/frameworks/support/media-compat/java/android/support/v4/media/session/ |
H A D | MediaControllerCompat.java | 969 * Request that the player prepare playback for a specific search query. 970 * An empty or null query should be treated as a request to prepare any 978 * @param query The search query. 980 * about the query. 982 public abstract void prepareFromSearch(String query, Bundle extras); argument 1014 * Request that the player start playback for a specific search query. 1015 * An empty or null query should be treated as a request to play any 1018 * @param query The search query 1022 playFromSearch(String query, Bundle extras) argument 1580 prepareFromSearch(String query, Bundle extras) argument 1616 playFromSearch(String query, Bundle extras) argument 2201 prepareFromSearch(String query, Bundle extras) argument 2297 playFromSearch(String query, Bundle extras) argument 2405 prepareFromSearch(String query, Bundle extras) argument [all...] |
/frameworks/support/v7/appcompat/tests/src/android/support/v7/app/ |
H A D | AlertDialogCursorTest.java | 196 mCursor = mDatabase.query("test", mProjectionWithoutChecked, 294 mCursor = mDatabase.query("test", mProjectionWithChecked, 404 mCursor = mDatabase.query("test", mProjectionWithoutChecked,
|
/frameworks/av/media/libstagefright/omx/1.0/ |
H A D | WGraphicBufferProducer.h | 76 Return<void> query(int32_t what, query_cb _hidl_cb) override;
|
/frameworks/base/core/java/com/android/internal/content/ |
H A D | FileSystemProvider.java | 304 * @param query the search condition used to match file names 311 File folder, String query, String[] projection, Set<String> exclusion) 314 query = query.toLowerCase(); 325 if (file.getName().toLowerCase().contains(query) 310 querySearchDocuments( File folder, String query, String[] projection, Set<String> exclusion) argument
|
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/ |
H A D | ConnectionUtil.java | 410 * @param enqueue the id used to identify/query the DownloadManager with. 414 Query query = new Query(); 415 query.setFilterById(enqueue); 416 Cursor c = mDownloadManager.query(query);
|
/frameworks/base/core/tests/coretests/src/android/app/ |
H A D | DownloadManagerStressTest.java | 95 Cursor cursor = mDownloadManager.query(new Query());
|
/frameworks/base/core/tests/coretests/src/android/database/sqlite/ |
H A D | SQLiteCursorTest.java | 97 Cursor c = mDatabase.query(testTable, new String[]{"col1", "desc"},
|
/frameworks/base/core/tests/coretests/src/android/provider/ |
H A D | SettingsProviderTest.java | 112 Cursor c = r.query(uri, null, null, null, null); 124 r.query(uri, null, "1", null, null); 131 c = r.query(table, null, "name='" + testKey + "'", null, null); 147 c = r.query(uri, null, null, null, null); 191 @Suppress // Settings.Bookmarks uses a query format that's not supported now.
|
/frameworks/base/test-runner/src/android/test/mock/ |
H A D | MockIContentProvider.java | 89 public Cursor query(String callingPackage, Uri url, @Nullable String[] projection, method in class:MockIContentProvider
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
H A D | BridgeContentProvider.java | 100 public Cursor query(String callingPackage, Uri arg0, String[] arg1, method in class:BridgeContentProvider
|
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/ |
H A D | BordeauxSessionStorage.java | 116 Cursor cursor = mDbSessions.query(true, SESSION_TABLE,
|
/frameworks/native/include/gui/ |
H A D | BufferQueueProducer.h | 124 virtual int query(int what, int* outValue);
|