parameters: (self, device, fastbooter=None, default_timeout=_DEFAULT_TIMEOUT,
                 default_retries=_DEFAULT_RETRIES)
docstring: FastbootUtils constructor.
  
      Example Usage to flash a device:
        fastboot = fastboot_utils.FastbootUtils(device)
        fastboot.FlashDevice('/path/to/build/directory')
  
      Args:
        device: A DeviceUtils instance.
        fastbooter: Optional fastboot object. If none is passed, one will
          be created.
        default_timeout: An integer containing the default number of seconds to
          wait for an operation to complete if no explicit value is provided.
        default_retries: An integer containing the default number or times an
          operation should be retried on failure if no explicit value is provided.
docstring_summary: FastbootUtils constructor.
docstring_tokens: FastbootUtils constructor .
function: def __init__(self, device, fastbooter=None, default_timeout=_DEFAULT_TIMEOUT,
                 default_retries=_DEFAULT_RETRIES):
      """FastbootUtils constructor.
  
      Example Usage to flash a device:
        fastboot = fastboot_utils.FastbootUtils(device)
        fastboot.FlashDevice('/path/to/build/directory')
  
      Args:
        device: A DeviceUtils instance.
        fastbooter: Optional fastboot object. If none is passed, one will
          be created.
        default_timeout: An integer containing the default number of seconds to
          wait for an operation to complete if no explicit value is provided.
        default_retries: An integer containing the default number or times an
          operation should be retried on failure if no explicit value is provided.
      """
      self._device = device
      self._board = device.product_board
      self._serial = str(device)
      self._default_timeout = default_timeout
      self._default_retries = default_retries
      if fastbooter:
        self.fastboot = fastbooter
      else:
        self.fastboot = fastboot.Fastboot(self._serial)
function_tokens: def __init__ ( self , device , fastbooter = None , default_timeout = _DEFAULT_TIMEOUT , default_retries = _DEFAULT_RETRIES ) : self . _device = device self . _board = device . product_board self . _serial = str ( device ) self . _default_timeout = default_timeout self . _default_retries = default_retries if fastbooter : self . fastboot = fastbooter else : self . fastboot = fastboot . Fastboot ( self . _serial )