Home | History | Annotate | Download | only in android

Lines Matching refs:device

10   ./provision_devices.py [-d <device serial number>]
43 """Pushes and launches the adb_reboot binary on the device.
46 devices: The list of serial numbers of the device to which the
51 for device in devices:
52 print 'Will push and launch adb_reboot on %s' % device
53 android_cmd = android_commands.AndroidCommands(device)
63 p = subprocess.Popen(['adb', '-s', device, 'shell'], stdin=subprocess.PIPE)
69 if options.device is not None:
70 devices = [options.device]
73 for device in devices:
74 android_cmd = android_commands.AndroidCommands(device)
82 parser.add_option('-d', '--device',
83 help='The serial number of the device to be provisioned')
87 help='Push binary which will reboot the device on adb disconnections.')