docs: public int executeForCursorWindow(String sql, Object[] bindArgs,
              CursorWindow window, int startPos, int requiredPos, boolean countAllRows,
              int connectionFlags, CancellationSignal cancellationSignal) {
          if (sql == null) {
              throw new IllegalArgumentException("sql must not be null.");
          }
          if (window == null) {
              throw new IllegalArgumentException("window must not be null.");
          }
  
          if (executeSpecial(sql, bindArgs, connectionFlags, cancellationSignal)) {
              window.clear();
              return 0;
          }
  
          acquireConnection(sql, connectionFlags, cancellationSignal); // might throw
          try {
              return mConnection.executeForCursorWindow(sql, bindArgs,
                      window, startPos, requiredPos, countAllRows,
                      cancellationSignal); // might throw
          } finally {
              releaseConnection(); // might throw
          }
      }