Lines Matching refs:adb

41 from vts.utils.python.controllers import adb
181 out = adb.AdbProxy().devices()
202 out = adb.AdbProxy().devices()
408 self.adb = adb.AdbProxy(serial)
413 self.host_callback_port = adb.get_available_host_port()
415 self.adb.reverse_tcp_forward(self.device_callback_port,
433 self.adb.forward("--remove tcp:%s" % self.host_command_port,
434 timeout=adb.DEFAULT_ADB_SHORT_TIMEOUT)
455 self.adb.reboot_bootloader()
480 id_str = self.adb.shell("id -un").strip().decode("utf-8")
490 except adb.AdbError:
577 out = self.adb.shell(cmd)
635 out = self.adb.shell('uname -m')
646 out = self.adb.shell(total_memory_command)
698 response = self.adb.shell(command)
700 except adb.AdbError as e:
732 self.adb.pull("/proc/config.gz", config_path)
740 except (adb.AdbError, IOError) as e:
782 self.adb.root()
783 self.adb.wait_for_device()
784 except adb.AdbError as e:
846 self.adb.bugreport(" > %s" % full_out_path)
861 self.adb.wait_for_device(timeout=timeout)
862 except adb.AdbError as e:
894 except adb.AdbError:
932 res = self.adb.shell(cmd, no_except=True)
954 self.adb.shell("start")
982 self.adb.shell("stop")
1041 cmd_result = self.adb.shell.Execute("ps -A")
1098 self.adb.shell("setprop %s \"%s\"" % (name, value))
1100 def getProp(self, name, timeout=adb.DEFAULT_ADB_SHORT_TIMEOUT):
1119 out = self.adb.shell("getprop %s" % name, timeout=timeout)
1148 self.adb.reboot()
1179 self.adb.shell("cat /data/local/tmp/vts_tcp_server_port"))
1182 self.host_command_port = adb.get_available_host_port()
1183 self.adb.tcp_forward(self.host_command_port,
1189 host_command_port=self.host_command_port, adb=self.adb)
1209 except adb.AdbError:
1245 self.adb.shell('start %s' % LLKD)
1246 except adb.AdbError as e:
1255 self.adb.shell('stop %s' % LLKD)
1256 except adb.AdbError as e:
1283 self.adb.shell("\"" + " ; ".join(cleanup_commands) + "\"")
1284 except adb.AdbError as e:
1370 out = self.adb.shell('%s | grep "S %s"' % (cmd, package_name))