@no_emulator
@with_device
def reboot_bootloader():
 log.info(('Rebooting %s to bootloader' % context.device))
 with AdbClient() as c:
  c.reboot_bootloader()

@ no_emulator @ with_device def reboot_bootloader ( ) : log . info ( ( 'Rebooting %s to bootloader' % context . device ) ) with AdbClient ( ) as c : c . reboot_bootloader ( )
reboots the device to the bootloader .