Home | History | Annotate | Download | only in systrace

Lines Matching refs:device_serial

33 def add_adb_serial(adb_command, device_serial):
39 ['adb','shell',-s',device_serial,'some_command','some_args']
43 device_serial: Device serial number.
48 if device_serial is not None:
49 adb_command.insert(1, device_serial)
53 def construct_adb_shell_command(shell_args, device_serial):
58 device_serial: if not empty, will add the appropriate command-line
62 add_adb_serial(adb_command, device_serial)
88 def run_adb_shell(shell_args, device_serial):
93 device_serial: if not empty, will add the appropriate command-line
99 adb_command = construct_adb_shell_command(shell_args, device_serial)
112 parser.add_option('-e', '--serial', dest='device_serial', type='string')
118 options.device_serial)