Lines Matching refs:adb
140 self.adb = Resources._resolve_adb(adb_path)
148 self.adb.serial = self._resolve_serial(use_device, serial)
150 if self.adb.serial:
151 self.adb.call('root')
152 self.adb.call('wait-for-device')
154 if self.adb.serial is None and not self._is_android_env:
178 adb = adb_path
184 adb = get_output('which adb').strip()
194 get_output('%s start-server' % adb)
195 return Adb(adb)
238 (self.adb.path, serial))
252 command = '%s -s %s get-state' % (self.adb, serial)
267 'cut -f1' % self.adb.path)
299 apk = self.adb.pull(device_apk)
303 (device_apk, self.adb.serial))
318 priv_app_dir = self.adb.pull('/system/priv-app/')
322 'device "%s".' % self.adb.serial)
331 return self.adb.pull(file_path)
570 adb_path=args.adb,