Home | History | Annotate | Download | only in app

Lines Matching defs:Query

721     public static class Query {
744 public Query setFilterById(long... ids) {
754 public Query setFilterByStatus(int flags) {
760 * Controls whether this query includes downloads not visible in the system's Downloads UI.
761 * @param value if true, this query will only include downloads that should be displayed in
762 * the system's Downloads UI; if false (the default), this query will include
767 public Query setOnlyIncludeVisibleInDownloadsUi(boolean value) {
782 public Query orderBy(String column, int direction) {
799 * Run this query using the given ContentResolver.
800 * @param projection the projection to pass to ContentResolver.query()
801 * @return the Cursor returned by ContentResolver.query()
848 return resolver.query(uri, projection, selection, selectionArgs, orderBy);
948 * Query the download manager about downloads that have been requested.
949 * @param query parameters specifying filters for this query
953 public Cursor query(Query query) {
954 Cursor underlyingCursor = query.runQuery(mResolver, UNDERLYING_COLUMNS, mBaseUri);
985 Query query = new Query().setFilterById(id);
988 cursor = query(query);
1037 Query query = new Query().setFilterById(id);
1040 cursor = query(query);
1063 Cursor cursor = query(new Query().setFilterById(ids));