• Home
  • Raw
  • Download

Lines Matching refs:adb

38 from vts.utils.python.controllers import adb
178 out = adb.AdbProxy().devices()
395 self.adb = adb.AdbProxy(serial)
400 self.host_callback_port = adb.get_available_host_port()
402 self.adb.reverse_tcp_forward(self.device_callback_port,
420 self.adb.forward("--remove tcp:%s" % self.host_command_port,
421 timeout=adb.DEFAULT_ADB_SHORT_TIMEOUT)
442 self.adb.reboot_bootloader()
457 id_str = self.adb.shell("id -un").strip().decode("utf-8")
467 except adb.AdbError:
554 out = self.adb.shell(cmd)
612 out = self.adb.shell('uname -m')
623 out = self.adb.shell(total_memory_command)
675 response = self.adb.shell(command)
677 except adb.AdbError as e:
709 self.adb.pull("/proc/config.gz", config_path)
717 except (adb.AdbError, IOError) as e:
759 self.adb.root()
760 self.adb.wait_for_device()
761 except adb.AdbError as e:
823 self.adb.bugreport(" > %s" % full_out_path)
838 self.adb.wait_for_device(timeout=timeout)
839 except adb.AdbError as e:
871 except adb.AdbError:
909 res = self.adb.shell(cmd, no_except=True)
931 self.adb.shell("start")
959 self.adb.shell("stop")
1018 cmd_result = self.adb.shell.Execute("ps -A")
1075 self.adb.shell("setprop %s \"%s\"" % (name, value))
1077 def getProp(self, name, timeout=adb.DEFAULT_ADB_SHORT_TIMEOUT):
1096 out = self.adb.shell("getprop %s" % name, timeout=timeout)
1121 self.adb.reboot()
1152 self.adb.shell("cat /data/local/tmp/vts_tcp_server_port"))
1155 self.host_command_port = adb.get_available_host_port()
1156 self.adb.tcp_forward(self.host_command_port,
1162 host_command_port=self.host_command_port, adb=self.adb)
1182 except adb.AdbError:
1215 self.adb.shell('start %s' % LLKD)
1216 except adb.AdbError as e:
1225 self.adb.shell('stop %s' % LLKD)
1226 except adb.AdbError as e:
1253 self.adb.shell("\"" + " ; ".join(cleanup_commands) + "\"")
1254 except adb.AdbError as e:
1340 out = self.adb.shell('%s | grep "S %s"' % (cmd, package_name))
1372 stdout = self.adb.shell('"lshal --init-vintf 2> /dev/null"')
1374 except adb.AdbError as e: