Home | History | Annotate | Download | only in android

Lines Matching refs:Fastboot

5 """Provides a variety of device interactions based on fastboot."""
17 from devil.android.sdk import fastboot
80 fastboot = fastboot_utils.FastbootUtils(device)
81 fastboot.FlashDevice('/path/to/build/directory')
85 fastbooter: Optional fastboot object. If none is passed, one will
98 self.fastboot = fastbooter
100 self.fastboot = fastboot.Fastboot(self._serial)
104 """Wait for device to boot into fastboot mode.
106 This waits for the device serial to show up in fastboot devices output.
109 return self._serial in self.fastboot.Devices()
116 """Reboots phone into fastboot mode.
118 Roots phone if needed, then reboots phone into fastboot mode and waits.
128 """Reboots out of fastboot mode.
130 It reboots the phone either back into fastboot, or to a regular boot. It
137 self.fastboot.RebootBootloader()
140 self.fastboot.Reboot()
213 self.fastboot.Flash(partition, flash_image_files[partition])
219 """Context manager that enables fastboot mode, and reboots after.
227 self.fastboot.SetOemOffModeCharge(False)
231 self.fastboot.SetOemOffModeCharge(True)
242 fastboot: A FastbootUtils instance.