Lines Matching refs:device_serial
175 def add_adb_serial(adb_command, device_serial):
176 if device_serial is not None:
177 adb_command.insert(1, device_serial)
181 def construct_adb_shell_command(shell_args, device_serial):
183 AdbUtils.add_adb_serial(adb_command, device_serial)
187 def run_adb_shell(shell_args, device_serial):
192 device_serial: if not empty, will add the appropriate command-line
198 adb_command = AdbUtils.construct_adb_shell_command(shell_args, device_serial)
360 parser.add_option('-s', '--serial', dest='device_serial', type='string',
377 options.device_serial)
392 options.device_serial)