Lines Matching refs:def
29 def __init__(self, serial):
36 def __init__(self):
41 def __init__(self, cmd, stdout, stderr, exit_code):
50 def get_devices(adb_path='adb'):
70 def _get_unique_device(product=None, adb_path='adb'):
77 def _get_device_by_serial(serial, product=None, adb_path='adb'):
84 def get_device(serial=None, product=None, adb_path='adb'):
115 def _get_device_by_type(flag, adb_path):
129 def get_usb_device(adb_path='adb'):
142 def get_emulator_device(adb_path='adb'):
158 def _get_subprocess_args(args):
165 def escape_arg(arg):
202 def _subprocess_check_output(*args, **kwargs):
212 def _subprocess_Popen(*args, **kwargs):
216 def split_lines(s):
231 def version(adb_path=None):
260 def __init__(self, serial, product=None, adb_path='adb'):
273 def linesep(self):
280 def features(self):
288 def has_shell_protocol(self):
291 def _make_shell_cmd(self, user_cmd):
297 def _parse_shell_output(self, out):
325 def _simple_call(self, cmd):
330 def shell(self, cmd):
348 def shell_nocheck(self, cmd):
369 def shell_popen(self, cmd, kill_atexit=True, preexec_fn=None,
398 def _wrapper():
411 def install(self, filename, replace=False):
418 def push(self, local, remote):
421 def pull(self, remote, local):
424 def sync(self, directory=None):
430 def tcpip(self, port):
433 def usb(self):
436 def reboot(self):
439 def remount(self):
442 def root(self):
445 def unroot(self):
448 def connect(self, host):
451 def disconnect(self, host):
454 def forward(self, local, remote):
457 def forward_list(self):
460 def forward_no_rebind(self, local, remote):
463 def forward_remove(self, local):
466 def forward_remove_all(self):
469 def reverse(self, remote, local):
472 def reverse_list(self):
475 def reverse_no_rebind(self, local, remote):
478 def reverse_remove_all(self):
481 def reverse_remove(self, remote):
484 def wait(self):
487 def get_props(self):
503 def get_prop(self, prop_name):
513 def set_prop(self, prop_name, value):