code: public Cursor query(SQLiteDatabase db, String[] projectionIn,
              String selection, String[] selectionArgs, String groupBy,
              String having, String sortOrder) {
          return query(db, projectionIn, selection, selectionArgs, groupBy, having, sortOrder,
                  null /* limit */, null /* cancellationSignal */);
      }
docs: Perform a query by combining all current settings and the
  information passed into this method.
  
  @param db the database to query on
  @param projectionIn A list of which columns to return. Passing
  null will return all columns, which is discouraged to prevent
  reading data from storage that isn't going to be used.
  @param selection A filter declaring which rows to return,
  formatted as an SQL WHERE clause (excluding the WHERE
  itself). Passing null will return all rows for the given URL.
  @param selectionArgs You may include ?s in selection, which
  will be replaced by the values from selectionArgs, in order
  that they appear in the selection. The values will be bound
  as Strings.
  @param groupBy A filter declaring how to group rows, formatted
  as an SQL GROUP BY clause (excluding the GROUP BY
  itself). Passing null will cause the rows to not be grouped.
  @param having A filter declare which row groups to include in
  the cursor, if row grouping is being used, formatted as an
  SQL HAVING clause (excluding the HAVING itself).  Passing
  null will cause all row groups to be included, and is
  required when row grouping is not being used.
  @param sortOrder How to order the rows, formatted as an SQL
  ORDER BY clause (excluding the ORDER BY itself). Passing null
  will use the default sort order, which may be unordered.
  @return a cursor over the result set
  @see android.content.ContentResolver#query(android.net.Uri, String[],
  String, String[], String)