Lines Matching refs:adb
209 self.adb = None
211 self.adb = _CreateAdbWrapper(device)
213 self.adb = device
236 return self.adb.GetDeviceSerial() == str(other)
248 return self.adb.GetDeviceSerial() < other.adb.GetDeviceSerial()
252 return self.adb.GetDeviceSerial()
269 return self.adb.GetState() == 'device'
345 self.adb.Root()
518 self.adb.WaitForDevice()
546 self.adb.Reboot()
658 self.adb.InstallMultiple(
662 self.adb.Install(
698 self.adb.Uninstall(package_name, keep_data)
714 device_serial=self.adb.GetDeviceSerial())
777 return self.adb.Shell(cmd)
792 with device_temp_file.DeviceTempFile(self.adb, suffix='.sh') as script:
800 with device_temp_file.DeviceTempFile(self.adb) as large_output_file:
855 device_serial=self.adb.GetDeviceSerial())
863 device_serial=self.adb.GetDeviceSerial())
1328 self.adb.Push(h, d)
1345 self.adb, suffix='.zip') as device_temp:
1347 self.adb.Push(zip_file.name, device_temp.name)
1425 self.adb.Pull(device_path, host_path)
1431 self.adb.Pull(device_path, host_temp_path)
1486 with device_temp_file.DeviceTempFile(self.adb) as device_temp:
1499 self.adb.Push(host_temp.name, device_path)
1532 with device_temp_file.DeviceTempFile(self.adb) as device_temp:
1563 return self.adb.Ls(device_path)
1584 for filename, stat in self.adb.Ls(dirname):
1909 self.adb.GetDeviceSerial(), _GetTimeStamp()))
1910 with device_temp_file.DeviceTempFile(self.adb, suffix='.png') as device_tmp:
2010 return logcat_monitor.LogcatMonitor(self.adb, *args, **kwargs)
2093 def blacklisted(adb): argument
2094 if adb.GetDeviceSerial() in blacklisted_devices:
2095 logging.warning('Device %s is blacklisted.', adb.GetDeviceSerial())
2100 for adb in adb_wrapper.AdbWrapper.Devices():
2101 if not blacklisted(adb):
2102 devices.append(cls(_CreateAdbWrapper(adb), **kwargs))
2108 with device_temp_file.DeviceTempFile(self.adb, suffix='.sh') as script:
2111 self.adb.WaitForDevice()