/external/autotest/server/hosts/ |
adb_host.py | 39 ADB_CMD = 'adb' 42 # Some devices have no serial, then `adb serial` has output such as: 47 # Regex to find an adb device. Examples: 82 # Default timeout for retrying adb/fastboot command. 143 """This class represents a host running an ADB server.""" 163 Check if the given host is an adb host. 166 user 'adb' as well. If SSH connectivity still can't be established 173 @return: True if the host device has adb. 183 host.user = 'adb' 197 """Initialize an ADB Host [all...] |
emulated_adb_host.py | 26 """Run an emulator as an ADB device preserving the API and assumptions of 155 3. Determine port for ADB from serial. 163 adb command, rather than the drone. 261 adb = self.teststation.run('which adb') 265 return bool(adb and qemu and unzip)
|
/art/tools/ |
run-jdwp-tests.sh | 175 adb shell pkill -9 -f /bin/dalvikvm
|
/development/samples/USB/AdbTest/src/com/android/adb/ |
AdbTestActivity.java | 17 package com.android.adb; 35 /* Main activity for the adb test program */ 54 setContentView(R.layout.adb); 160 // searches for an adb interface on the given USB device 182 log("Found adb interface " + intf); 189 log("adb interface removed");
|
AdbDevice.java | 17 package com.android.adb; 28 /* This class represents a USB device that supports the adb protocol. */
|
AdbMessage.java | 17 package com.android.adb; 24 /* This class encapsulates and adb command packet */ 35 // ADB protocol version 152 String result = "Adb Message: " + commandName + " arg0: " + getArg0() +
|
/development/scripts/ |
gdbclient.py | 18 import adb 145 except adb.ShellError:
|
/external/dexmaker/dexmaker-tests/ |
Android.mk | 37 adb shell am instrument -w com.google.dexmaker.tests
|
/external/libvpx/libvpx/test/android/ |
Android.mk | 10 # The test app itself runs on the command line through adb shell
|
/sdk/hierarchyviewer/etc/ |
hierarchyviewer1.bat | 46 call "%java_exe%" -Xmx512m "-Djava.ext.dirs=%frameworkdir%" -Dhierarchyviewer.adb= -jar %jarpath% %*
|
/system/core/adb/ |
test_adb.py | 17 """Tests for the adb program itself. 33 import adb 37 """Tests for ADB that aren't a part of the AndroidDevice API.""" 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() 52 # Newer versions of ADB have a second line of output for the 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 inheri [all...] |
/tools/test/connectivity/acts/framework/acts/controllers/ |
sl4a_client.py | 30 from acts.controllers import adb 73 adb_proxy: adb.AdbProxy, The adb proxy to use to start sl4a 101 adb_proxy: adb.AdbProxy, The adb proxy to use for checking. 111 adb: adb.AdbProxy, The adb proxy to use for checking install. 119 except adb.AdbError as e: 130 adb_proxy: adb.AdbProxy, The adb proxy to use for checking [all...] |
/external/chromium-trace/catapult/telemetry/telemetry/internal/platform/ |
android_platform_backend.py | 507 self._device.adb.Forward('tcp:%d' % host_port, device_port) 510 # This used to run `adb forward --list` to check that the requested 512 # starting in adb 1.0.36, a bug (b/31811775) keeps this from working. 515 self._device.adb.ForwardRemove('tcp:%d' % host_port) 556 self._device.adb.GetDeviceSerial(), None, ca_cert_path, 557 adb_path=self._device.adb.GetAdbPath()) 613 self._device.adb.Push( 751 '--device', self._device.adb.GetDeviceSerial(), 752 '--adb-path', self._device.adb.GetAdbPath() [all...] |
android_device.py | 23 device_id: the device's serial string created by adb to uniquely 25 'adb devices' command 50 return [d.adb.GetDeviceSerial() 103 'No adb command found. Will not try searching for Android browsers.') 131 """Returns true if adb is present. 133 Note that this currently will return True even if the adb that's present 151 """Returns true if devices are discoverable via adb.""" 185 'adb reported as present, but NoAdbError thrown: %s', str(e))
|
/test/vts/utils/python/coverage/ |
coverage_utils.py | 148 gcda_files = dut.adb.shell("find %s -name \"*.gcda\" -type f -delete" % 155 adb, then return a dictionary mapping from the gcda basename to the 174 gcda_files = dut.adb.shell("find %s -name \"*.gcda\"" % 181 dut.adb.pull("%s %s" % (gcda, file_name))
|
/external/chromium-trace/catapult/systrace/systrace/ |
util.py | 34 """Add serial number to ADB shell command. 36 ADB shell command is given as list, e.g. 37 ['adb','shell','some_command','some_args']. 39 ['adb','shell',-s',device_serial,'some_command','some_args'] 42 adb_command: ADB command list. 46 ADB command list with serial number added. 54 """Construct an ADB shell command with given device serial and arguments. 57 shell_args: array of arguments to pass to adb shell. 59 parameters so that adb targets the given device. 61 adb_command = ['adb', 'shell', ' '.join(shell_args) [all...] |
/external/minijail/ |
Android.mk | 140 # adb shell /data/nativetest/libminijail_unittest_gtest/libminijail_unittest_gtest 178 # adb shell /data/nativetest/syscall_filter_unittest_gtest/syscall_filter_unittest_gtest
|
/frameworks/rs/tests/lldb/ |
config.py | 35 return 'adb'
|
/frameworks/rs/tests/lldb/tests/harness/ |
test_base_remote.py | 37 # id of the device that adb will communicate with. 111 'adb://{0}:{1}'.format(self._device, self._device_port)
|
/system/sepolicy/private/ |
property_contexts | 41 service.adb.root u:object_r:shell_prop:s0 42 service.adb.tcp.port u:object_r:shell_prop:s0
|
/test/vts/utils/python/controllers/ |
adb.py | 26 """Raised when there is an error in adb operations.""" 35 return ("Error executing adb cmd '%s'. ret: %d, stdout: %s, stderr: %s" 46 """Gets a host port number available for adb forward. 49 An integer representing a port number on the host available for adb 67 # Make sure adb is not using this port so we don't accidentally interrupt 85 """Lists all the host ports occupied by adb forward. 87 This is useful because adb will silently override the binding if an attempt 88 to bind to a port already used by adb was made, instead of throwing binding 89 error. So one should always check what ports adb is using before trying to 90 bind to a port with adb [all...] |
/test/vts-testcase/kernel/linux_kselftest/ |
LinuxKselftestTest.py | 70 """adb pushes related file to target. 80 self._dut.adb.push("%s/DATA/%s/linux-kselftest/. %s" %
|
/tools/test/connectivity/acts/tests/google/ble/power/ |
BleScanPowerTest.py | 69 1. Prepare adb shell command 70 2. Send the adb shell command to PMC 92 self.ad.adb.shell(msg) 127 1. Prepare adb shell command 128 2. Send the adb shell command to PMC 153 1. Prepare adb shell command 154 2. Send the adb shell command to PMC 179 1. Prepare adb shell command 180 2. Send the adb shell command to PMC 204 1. Prepare adb shell comman [all...] |
/tools/test/connectivity/acts/tests/google/wifi/ |
WifiTetheringTest.py | 23 from acts.controllers import adb
|
/external/chromium-trace/catapult/devil/devil/android/tools/ |
device_status.py | 52 blacklist.Extend([device.adb.GetDeviceSerial()], reason='low_battery') 109 serial = device.adb.GetDeviceSerial() 179 logger.info(' ADB status: %s', adb_status) 242 parser.add_argument('--adb-path', 243 help='Absolute path to the adb binary to use.') 270 'adb', devil_env.GetPlatform(), args.adb_path))
|