• Home
  • Raw
  • Download

Lines Matching full:adb

25     # adb auth key path on the phone_station.
55 # communication will be handled by run ADB CLI on the phone
96 """Restart adb server listening on a TCP port.
99 port: Tcp port for adb server to listening on, default value
100 is 5555 which is the default TCP/IP port for adb.
101 persist_reboot: True for adb over tcp to continue listening
106 self.run_adb_command('shell setprop persist.adb.tcp.port %s' %
118 cmd = 'adb devices -l | grep %s' % self.serial_number
130 """Ensure we can interact with the Android device via adb and
135 logging.info('Android device state from adb: %s', state)
161 """Restart adb server from the phone station"""
166 """Run adb command on the Android device.
169 adb_command: adb commands to execute on the Android device.
174 # When use adb to interact with an Android device, we prefer to use
178 command = 'adb -s %s %s' % (self.usb_dev_path, adb_command)
180 command = 'adb -s %s %s' % (self.serial_number, adb_command)
195 """Start adb server from the phone station."""
196 # Adb home is created upon CrOS login, however on labstation we
197 # never login so we'll need to ensure the adb home is exist before
198 # starting adb server.
199 self.phone_station.run("mkdir -p /run/arc/adb")
200 self.phone_station.run("ADB_VENDOR_KEYS=%s adb start-server" %
203 self.phone_station.run('adb devices')
206 """Stop adb server from the phone station."""
207 self.phone_station.run("adb kill-server")
214 adb-over-tcp.
238 # In some rare cases, leave the Android device in adb over tcp
239 # mode may break USB connection so we want to always reset adb