Home | History | Annotate | Download | only in app

Lines Matching defs:Query

728     public static class Query {
751 public Query setFilterById(long... ids) {
761 public Query setFilterByStatus(int flags) {
767 * Controls whether this query includes downloads not visible in the system's Downloads UI.
768 * @param value if true, this query will only include downloads that should be displayed in
769 * the system's Downloads UI; if false (the default), this query will include
774 public Query setOnlyIncludeVisibleInDownloadsUi(boolean value) {
789 public Query orderBy(String column, int direction) {
806 * Run this query using the given ContentResolver.
807 * @param projection the projection to pass to ContentResolver.query()
808 * @return the Cursor returned by ContentResolver.query()
855 return resolver.query(uri, projection, selection, selectionArgs, orderBy);
955 * Query the download manager about downloads that have been requested.
956 * @param query parameters specifying filters for this query
960 public Cursor query(Query query) {
961 Cursor underlyingCursor = query.runQuery(mResolver, UNDERLYING_COLUMNS, mBaseUri);
992 Query query = new Query().setFilterById(id);
995 cursor = query(query);
1044 Query query = new Query().setFilterById(id);
1047 cursor = query(query);
1070 Cursor cursor = query(new Query().setFilterById(ids));