Searched defs:adb (Results 1 - 7 of 7) sorted by relevance
/system/extras/tests/bootloader/ |
H A D | shelltest.py | 15 import adb namespace 22 self.device = adb.get_device(os.getenv("BOOTLOADER_TEST_SERIAL"));
|
H A D | bootloadertest.py | 15 import adb namespace
|
/system/core/adb/ |
H A D | test_adb.py | 17 """Tests for the adb program itself. 33 import adb namespace 42 ['adb', 'help'], stderr=subprocess.STDOUT) 46 """Get a version number out of the output of adb.""" 47 lines = subprocess.check_output(['adb', 'version']).splitlines() 59 p = subprocess.Popen(['adb', 'tcpip'], stdout=subprocess.PIPE, 65 p = subprocess.Popen(['adb', 'tcpip', 'foo'], stdout=subprocess.PIPE, 76 # Test that launch_server() does not let the adb server inherit 77 # stdin/stdout/stderr handles which can cause callers of adb.exe to hang. 81 # This test takes 5 seconds to run on Windows: if there is no adb serve [all...] |
H A D | test_device.py | 39 import adb namespace 92 @mock.patch('adb.device.get_devices') 95 device = adb.get_device('foo') 98 @mock.patch('adb.device.get_devices') 102 device = adb.get_device() 105 @mock.patch('adb.device.get_devices') 109 device = adb.get_device('foo') 112 @mock.patch('adb.device.get_devices') 115 self.assertRaises(adb.DeviceNotFoundError, adb [all...] |
/system/tools/aidl/tests/ |
H A D | integration-test.py | 71 """Run a command on the device via adb shell. 86 return self.adb('shell %s' % pipes.quote(command), 102 def adb(self, command, ignore_status=False): member in class:AdbHost 103 """Run an ADB command (e.g. `adb sync`). 115 command = 'adb %s' % command
|
/system/update_engine/scripts/ |
H A D | update_device.py | 18 """Send an A/B update to an Android device over adb.""" 216 self._command_prefix = ['adb'] 220 def adb(self, command): member in class:AdbHost 221 """Run an ADB command like "adb push". 274 # Update via sending the payload over the network with an "adb reverse" 289 dut.adb(cmd) 291 dut.adb(cancel_cmd) 296 dut.adb(cmd)
|
/system/core/init/ |
H A D | perfboot.py | 55 import adb namespace 218 'adb disable-verity? That may skew the result.', 371 ['adb', 'logcat', '-b', 'events', '-v', 'threadtime'], 432 device = adb.get_device(args.serial)
|
Completed in 408 milliseconds