/tools/tradefederation/core/src/com/android/tradefed/device/ |
DeviceMonitorMultiplexer.java | 56 public synchronized void notifyDeviceStateChange(String serial, DeviceAllocationState oldState, 59 monitor.notifyDeviceStateChange(serial, oldState, newState);
|
IDeviceManager.java | 75 * @param serial the device serial to allocate 78 public ITestDevice forceAllocateDevice(String serial); 218 * Determine if given serial represents a null device 220 public boolean isNullDevice(String serial); 223 * Determine if given serial represents a emulator 225 public boolean isEmulator(String serial);
|
/development/python-packages/adb/ |
test.py | 39 self.assertEqual(device.serial, 'foo') 46 self.assertEqual(device.serial, 'foo') 53 self.assertEqual(device.serial, 'foo') 67 self.assertEqual(device.serial, 'foo')
|
device.py | 29 def __init__(self, serial): 30 self.serial = serial 32 'No device with serial {}'.format(serial)) 66 serial, _ = re.split(r'\s+', line, maxsplit=1) 67 devices.append(serial) 78 def _get_device_by_serial(serial, product=None, adb_path='adb'): 80 if device == serial: 81 return AndroidDevice(serial, product, adb_path [all...] |
/external/mesa3d/src/gallium/auxiliary/rbug/ |
rbug_shader.h | 77 uint32_t serial; member in struct:rbug_proto_shader_list_reply 85 uint32_t serial; member in struct:rbug_proto_shader_info_reply 116 uint32_t serial, 122 uint32_t serial,
|
/external/syslinux/gpxe/src/core/ |
gdbserial.c | 20 #include <gpxe/serial.h> 39 .name = "serial",
|
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/ |
sp_dec.h | 103 Word16 *serial, /* i : serial bit stream */
|
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
sp_enc.h | 145 Word16 *serial, /* o : serial bit stream */
|
/libcore/ojluni/src/test/java/time/tck/java/time/chrono/serial/ |
TCKCopticSerialization.java | 60 package tck.java.time.chrono.serial;
|
/libcore/ojluni/src/test/java/time/tck/java/time/serial/ |
TCKPeriodSerialization.java | 60 package tck.java.time.serial;
|
/tools/test/connectivity/acts/framework/acts/test_utils/bt/ |
native_bt_test_utils.py | 31 ["adb -s " + n.serial + " shell sh -c \"bluetoothtbd\" &"],
|
/tools/test/connectivity/acts/tests/google/bt/setup/ |
BtPreFlightTest.py | 34 serial = a.serial 35 self.log.info("****START: {} DEVICE INFO****".format(serial)) 42 self.log.info("****END: {} DEVICE INFO****".format(serial))
|
/tools/tradefederation/core/python-lib/tradefed_py/ |
adb_handler.py | 22 def __init__(self, serial=None): 23 self.serial = serial 24 self.adb_cmd = 'adb -s {}'.format(serial)
|
/external/chromium-trace/catapult/devil/devil/android/ |
device_test_case.py | 39 self.serial = None 47 self.serial = _devices.pop() 53 _devices.add(self.serial)
|
/external/chromium-trace/catapult/third_party/pyserial/serial/tools/ |
list_ports_posix.py | 3 # portable serial port access with python 5 # This is a module that gathers a list of serial ports on POSIXy systems. 30 from serial.tools.list_ports_linux import comports 50 from serial.tools.list_ports_osx import comports 86 ! I you know how the serial ports are named send this information to 93 also add the naming scheme of the serial ports and with a bit luck you can get 95 """ % (sys.platform, os.name, serial.VERSION))
|
/frameworks/opt/net/wifi/libwifi_system/ |
supplicant_manager.cpp | 44 unsigned serial = 0; local 61 serial = __system_property_serial(pi); 73 * property serial updated means that init process is scheduled 76 if (__system_property_serial(pi) != serial) {
|
/tools/test/connectivity/acts/framework/tests/libs/ota/ota_tools/ |
adb_sideload_ota_tool_test.py | 25 def get_mock_android_device(serial='', ssh_connection=None): 32 serial=serial, ssh_connection=ssh_connection))
|
/test/vts/utils/python/coverage/ |
sancov_utils.py | 87 serial = str(device.get(keys.ConfigKeys.IKEY_SERIAL)) 90 if not serial or not sancov_resource_path: 94 self._device_resource_dict[serial] = sancov_resource_path 105 serial = dut.adb.shell('getprop ro.serialno').strip() 106 if serial not in self._device_resource_dict: 107 logging.error("Invalid device provided: %s", serial) 150 serial = dut.adb.shell('getprop ro.serialno').strip() 151 if serial not in self._device_resource_dict: 152 logging.error('Invalid device provided: %s', serial) 158 def _InitializeFileVectors(self, serial, binary_path) [all...] |
/external/chromium-trace/catapult/devil/devil/android/tools/ |
device_status.py | 35 def IsBlacklisted(serial, blacklist): 36 return blacklist and serial in blacklist.Read() 71 '<serial>': { 72 'serial': '<serial>', 96 serial = device.adb.GetDeviceSerial() 98 adb_devices[serial][1] if serial in adb_devices 100 usb_status = bool(serial in usb_devices) 103 'serial': serial [all...] |
/external/libmojo/third_party/catapult/devil/devil/android/tools/ |
device_status.py | 33 def IsBlacklisted(serial, blacklist): 34 return blacklist and serial in blacklist.Read() 82 '<serial>': { 83 'serial': '<serial>', 107 serial = device.adb.GetDeviceSerial() 109 adb_devices[serial][1] if serial in adb_devices 111 usb_status = bool(serial in usb_devices) 114 'serial': serial [all...] |
/frameworks/base/tools/preload2/src/com/android/preload/ |
DeviceUtils.java | 99 * Find the device with the given serial. Give up after the given timeout (in milliseconds). 101 public static IDevice findDevice(String serial, int timeout) { 102 WaitForDevice wfd = new WaitForDevice(serial, timeout); 280 private String serial; field in class:DeviceUtils.WaitForDevice 284 public WaitForDevice(String serial, long timeout) { 285 this.serial = serial; 292 WaitForDeviceListener wfdl = new WaitForDeviceListener(serial); 298 if (serial != null) { 300 if (serial.equals(d.getSerialNumber())) 352 private String serial; field in class:DeviceUtils.WaitForDevice.WaitForDeviceListener [all...] |
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_barrierattr_getpshared/ |
2-1.c | 69 int serial = 0; local 171 serial++; 191 if ((WEXITSTATUS(status) + serial) != LOOP_NUM) { 193 printf("serial = %d\n", serial); 216 exit(serial);
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/utils/libcxx/android/ |
executors.py | 12 def __init__(self, device_dir, serial=None): 17 self.serial = serial 45 if self.serial: 46 adb_cmd.extend(['-s', self.serial])
|
/test/vti/test_serving/gae/webapp/src/endpoint/ |
host_info.py | 50 device.serial = "n/a" 78 model.DeviceModel.serial == request_device.serial 85 device.serial = request_device.serial
|
/external/chromium-trace/catapult/devil/devil/utils/ |
battor_device_mapping.py | 12 "Phone serial number" - Serial number of the phone. This can be 18 "BattOr serial number" - Serial number of the BattOr. This can be 36 mapping between phone serial numbers and BattOr serial numbers, and 37 (2) getting the BattOr path corresponding to a given BattOr serial 42 [{'phone': <phone serial 1>, 'battor': <battor serial 1>}, 43 {'phone': <phone serial 2>, 'battor': <battor serial 2>}, ... [all...] |