/external/chromium-trace/catapult/third_party/pyserial/serial/ |
rfc2217.py | 3 # Python Serial Port Extension for Win32, Linux, BSD, Jython 7 # protocol to access serial ports over TCP/IP and allows setting the baud rate, 23 # - http://www.ibiblio.org/pub/Linux/system/serial/ sredird-2.2.2.tar.gz 62 from serial.serialutil import * 363 """Serial port implementation for RFC 2217 remote serial ports.""" 570 Read size bytes from the serial port. If a timeout is set it may 587 Output the given string over the serial port. Can block if the [all...] |
/bionic/libc/private/ |
CachedProperty.h | 51 // Returns true if the property has been updated (based on the serial rather than the value) 96 static void Callback(void* data, const char*, const char* value, uint32_t serial) { 98 instance->cached_property_serial_ = serial;
|
/development/tools/hosttestlib/src/com/android/hosttest/ |
DeviceConnector.java | 36 * @param deviceSerial the device serial to connect to. If <code>null</code> connect to first 74 public NewDeviceListener(String serial) { 75 mSerial = serial;
|
/external/chromium-trace/catapult/devil/devil/android/tools/ |
device_recovery.py | 132 status['serial'] for status in statuses 136 status['serial'] for status in statuses 139 status['serial'] for status in statuses 159 for serial in should_restart_usb: 164 reset_usb.reset_android_usb(serial) 167 serial) 169 logger.exception('Unable to reset USB for %s.', serial) 171 blacklist.Extend([serial], reason='USB failure') 173 logger.exception('Unable to reset USB for %s.', serial) 175 blacklist.Extend([serial], reason='offline' [all...] |
/external/chromium-trace/catapult/third_party/pyserial/serial/tools/ |
list_ports.py | 3 # portable serial port access with python 27 from serial.tools.list_ports_windows import * 29 from serial.tools.list_ports_posix import * 54 description = "Miniterm - A simple terminal program for the serial port."
|
/external/lisa/experiments/ |
run_idle_resume.py | 52 parser.add_argument('--serial', dest='serial', action='store', 53 help='Serial number of device to test') 114 if args.serial: 115 my_conf["device"] = args.serial
|
run_suspend_resume.py | 52 parser.add_argument('--serial', dest='serial', action='store', 53 help='Serial number of device to test') 114 if args.serial: 115 my_conf["device"] = args.serial
|
run_youtube.py | 47 parser.add_argument('--serial', dest='serial', action='store', 48 help='Serial number of device to test') 108 if args.serial: 109 my_conf["device"] = args.serial
|
/external/python/cpython2/Doc/tools/extensions/ |
patchlevel.py | 52 major, minor, micro, level, serial = sys.version_info 57 release += '%s%s' % (level[0], serial)
|
/external/python/cpython3/Doc/tools/extensions/ |
patchlevel.py | 53 major, minor, micro, level, serial = sys.version_info 57 release += '%s%s' % (level[0], serial)
|
/external/syslinux/com32/libupload/ |
upload_ymodem.c | 9 #include "serial.h" 21 struct serial_if serial; member in struct:ymodem_state 93 serial_write(&ym->serial, blk, bytes); 96 serial_read(&ym->serial, &ack_buf, 1); 119 /* Initialize serial port */ 120 if (serial_init(&ym.serial, &be->argv[1])) 125 serial_write(&ym.serial, ymodem_banner, sizeof ymodem_banner-1); 130 serial_read(&ym.serial, &ack_buf, 1); 156 serial_read(&ym.serial, &ack_buf, 1); 165 serial_cleanup(&ym.serial); [all...] |
/frameworks/base/core/java/android/hardware/ |
SensorAdditionalInfo.java | 51 public final int serial; field in class:SensorAdditionalInfo 213 serial = aSerial;
|
/test/framework/harnesses/host_controller/command_processor/ |
command_device.py | 65 device["serial"] = line.split()[0] 66 serial = device["serial"] 68 if (self.console.device_status[serial] != 72 device["serial"]) 79 serial] = common._DEVICE_STATUS_DICT["online"] 81 device["status"] = self.console.device_status[serial] 90 device["serial"] = line.split()[0] 91 serial = device["serial"] [all...] |
/test/framework/harnesses/host_controller/tfc/ |
device_info.py | 55 device_serial: The serial number of the device. 99 serial = getattr(self, "device_serial", None) 100 ad = android_device.AndroidDevice(serial)
|
/test/vti/test_serving/gae/webapp/src/scheduler/ |
job_heartbeat.py | 66 model.DeviceModel.serial.IN(job.serial)
|
/tools/test/connectivity/acts/framework/tests/controllers/sl4a_lib/ |
rpc_client_test.py | 38 client = rpc_client.RpcClient(session.uid, session.adb.serial, 55 client = rpc_client.RpcClient(session.uid, session.adb.serial, 82 client = rpc_client.RpcClient(session.uid, session.adb.serial, 115 client = rpc_client.RpcClient(session.uid, session.adb.serial, 143 client = rpc_client.RpcClient(session.uid, session.adb.serial, 173 client = rpc_client.RpcClient(session.uid, session.adb.serial, 190 client = rpc_client.RpcClient(session.uid, session.adb.serial, 202 client = rpc_client.RpcClient(session.uid, session.adb.serial,
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/ |
TestFailureListener.java | 126 String serial = device.getSerialNumber(); local 131 String.format("%s-%s-screenshot", test.toString(), serial), 137 CLog.e("Device %s became unavailable while capturing screenshot", serial); 142 String.format("%s-%s-bugreport", test.toString(), serial), mLogger)) { 143 CLog.e("Failed to capture bugreport for %s failure on %s.", test, serial); 156 String.format("%s-%s-logcat", test.toString(), serial), 167 String.format("%s-%s-logcat", test.toString(), serial), 197 CLog.e("Device %s became unavailable while rebooting", serial);
|
/tools/tradefederation/core/tests/src/com/android/tradefed/device/ |
DeviceUtilStatsMonitorLoadTest.java | 68 DeviceDescriptor device = createDeviceDesc("serial" + i, DeviceAllocationState.Allocated); 84 * Helper method to create a {@link DeviceDescriptor} using only serial and state. 86 private DeviceDescriptor createDeviceDesc(String serial, DeviceAllocationState state) { 87 return new DeviceDescriptor(serial, false, state, null, null, null, null, null);
|
/external/python/cpython2/Lib/lib-tk/test/test_ttk/ |
support.py | 67 major, minor, releaselevel, serial = m.groups() 68 major, minor, serial = int(major), int(minor), int(serial) 71 _tk_patchlevel = major, minor, serial, releaselevel, 0 73 _tk_patchlevel = major, minor, 0, releaselevel, serial
|
/external/python/cpython3/Lib/tkinter/test/ |
support.py | 67 major, minor, releaselevel, serial = m.groups() 68 major, minor, serial = int(major), int(minor), int(serial) 71 _tk_patchlevel = major, minor, serial, releaselevel, 0 73 _tk_patchlevel = major, minor, 0, releaselevel, serial
|
/frameworks/av/media/libstagefright/foundation/ |
ADebug.cpp | 158 // calculate initial counter value based on serial number 159 static char serial[PROPERTY_VALUE_MAX]; 160 property_get("ro.serialno", serial, "0"); 162 for (size_t i = 0; i < NELEM(serial) && serial[i] != '\0'; ++i) { 163 const char &c = serial[i]; 178 ALOGD("serial: %llu, time: %lld", (long long unsigned)serialNum, (long long)time(NULL));
|
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/certificate/ |
CertXml.java | 40 private static final String METADATA_SERIAL_NODE_TAG = "serial"; 47 private final long serial; field in class:CertXml 53 long serial, 57 this.serial = serial; 63 /** Gets the serial number of the XML file containing public-key certificates. */ 65 return serial;
|
/test/framework/harnesses/host_controller/ |
invocation_thread.py | 36 device_serials: A list of strings, the serial numbers of the devices 38 _allocated_serials: A list of strings, the serial numbers of the devices 64 for serial in self.device_serials: 66 remote_operation.AllocateDevice(serial)) 67 self._allocated_serials.append(serial) 109 for serial in self._allocated_serials: 112 remote_operation.FreeDevice(serial))
|
/test/vts/utils/python/controllers/ |
adb.py | 114 >> adb = AdbProxy(<serial>) 119 def __init__(self, serial="", log=None): 120 self.serial = serial 121 if serial: 122 self.adb_str = "adb -s {}".format(serial)
|
/test/vts/utils/python/systrace/ |
systrace_utils.py | 74 serial = device_spec.get(keys.ConfigKeys.IKEY_SERIAL) 75 if not serial: 76 logging.error("Serial for device at index 0 is not available.") 78 serial = str(serial) 83 device_serial=serial,
|