Home | History | Annotate | Download | only in app

Lines Matching refs:Query

820     public static class Query {
843 public Query setFilterById(long... ids) {
853 public Query setFilterByStatus(int flags) {
859 * Controls whether this query includes downloads not visible in the system's Downloads UI.
860 * @param value if true, this query will only include downloads that should be displayed in
861 * the system's Downloads UI; if false (the default), this query will include
866 public Query setOnlyIncludeVisibleInDownloadsUi(boolean value) {
881 public Query orderBy(String column, int direction) {
898 * Run this query using the given ContentResolver.
899 * @param projection the projection to pass to ContentResolver.query()
900 * @return the Cursor returned by ContentResolver.query()
947 return resolver.query(uri, projection, selection, selectionArgs, orderBy);
1049 * Query the download manager about downloads that have been requested.
1050 * @param query parameters specifying filters for this query
1054 public Cursor query(Query query) {
1055 Cursor underlyingCursor = query.runQuery(mResolver, UNDERLYING_COLUMNS, mBaseUri);
1082 Query query = new Query().setFilterById(id);
1085 cursor = query(query);
1113 Query query = new Query().setFilterById(id);
1116 cursor = query(query);
1139 Cursor cursor = query(new Query().setFilterById(ids));
1206 Query query = new Query().setFilterById(id);
1211 cursor = query(query);