Home
last modified time | relevance | path

Searched refs:serial (Results 1 – 25 of 676) sorted by relevance

12345678910>>...28

/external/chromium-trace/catapult/telemetry/third_party/pyserial/serial/tools/
Dminiterm.py11 import sys, os, serial, threading
13 from serial.tools.list_ports import comports
17 EXITCHARCTER = serial.to_bytes([0x1d]) # GS/CTRL+]
18 MENUCHARACTER = serial.to_bytes([0x14]) # Menu: CTRL+T
62 'version': getattr(serial, 'VERSION', 'unknown version'),
84 LF = serial.to_bytes([10])
85 CR = serial.to_bytes([13])
86 CRLF = serial.to_bytes([13, 10])
88 X00 = serial.to_bytes([0])
89 X0E = serial.to_bytes([0x0e])
[all …]
/external/skia/infra/bots/flavor/
Dandroid_flavor.py19 def __init__(self, path_to_adb, serial, android_flavor): argument
21 self._serial = serial
52 self.serial = slave_info.serial
58 self.serial,
71 '-s', self.serial,
102 serial=self.serial,
112 serial=self.serial,
122 serial=self.serial,
132 '-s', self.serial, host_dir, device_dir],
142 '-s', self.serial, device_dir, host_dir],
[all …]
/external/deqp/android/scripts/
Ddebug.py34 def getADBProgramPID (adbCmd, program, serial): argument
38 + (["-s", serial] if serial != None else [])
76 serial, argument
88 serialArg = "-s " + serial if serial != None else ""
99 + (["-s", serial] if serial != None else [])
105 gdbPid = getADBProgramPID(adbCmd, "gdbserver", serial)
109 + (["-s", serial] if serial != None else [])
115 programPid = getADBProgramPID(adbCmd, "com.drawelements.deqp:testercore", serial)
125 + (["-s", serial] if serial != None else [])
139 + (["-s", serial] if serial != None else [])
[all …]
Dinstall.py49 print "Installing to %s (%s)...\n" % (device.serial, device.model),
51 print printPrefix + "Installing to %s\n" % device.serial,
53 install(['-s', device.serial], printPrefix)
77 if args.serial == None:
86 print "%3d: %16s %s" % ((i+1), devices[i].serial, devices[i].model)
93 devices = [dev for dev in devices if dev.serial in args.serial]
94 devSerials = [dev.serial for dev in devices]
95 notFounds = [serial for serial in args.serial if not serial in devSerials]
/external/mesa3d/src/gallium/auxiliary/util/
Du_debug_refcnt.c70 unsigned serial; in debug_serial() local
84 serial = (unsigned)(uintptr_t)util_hash_table_get(serials_hash, p); in debug_serial()
85 if(!serial) in debug_serial()
90 serial = ++serials_last; in debug_serial()
91 if(!serial) in debug_serial()
97 util_hash_table_set(serials_hash, p, (void*)(uintptr_t)serial); in debug_serial()
101 *pserial = serial; in debug_serial()
150 unsigned serial; in debug_reference_slowpath() local
151 boolean existing = debug_serial((void*)p, &serial); in debug_reference_slowpath()
166 fprintf(stream, "<%s> %p %u Create\n", buf, (void *) p, serial); in debug_reference_slowpath()
[all …]
/external/chromium-trace/catapult/telemetry/telemetry/web_perf/metrics/
Dwebrtc_rendering_stats_unittest.py46 serial=self.local_stream)
50 serial=self.remote_stream)
68 ideal_instant=1655987217999, serial=self.local_stream)
71 ideal_instant=1655987217999, serial=self.remote_stream)
74 actual_end=1655987277406, serial=self.remote_stream)
85 ideal_instant=1663780179998, serial=self.remote_stream),
87 ideal_instant=1663780179998, serial=self.remote_stream),
89 ideal_instant=1663780197998, serial=self.remote_stream),
91 ideal_instant=1663780215998, serial=self.remote_stream),
93 ideal_instant=1663780215998, serial=self.remote_stream),
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/
DIssuerSerial.java19 ASN1Integer serial; field in IssuerSerial
54 serial = ASN1Integer.getInstance(seq.getObjectAt(1)); in IssuerSerial()
64 BigInteger serial) in IssuerSerial() argument
66 this(new GeneralNames(new GeneralName(issuer)), new ASN1Integer(serial)); in IssuerSerial()
71 BigInteger serial) in IssuerSerial() argument
73 this(issuer, new ASN1Integer(serial)); in IssuerSerial()
78 ASN1Integer serial) in IssuerSerial() argument
81 this.serial = serial; in IssuerSerial()
91 return serial; in getSerial()
114 v.add(serial); in toASN1Primitive()
/external/chromium-trace/catapult/telemetry/third_party/pyserial/serial/urlhandler/
Dprotocol_hwgrep.py14 import serial
15 import serial.tools.list_ports
17 class Serial(serial.Serial):
23 serial.Serial.setPort(self, self.fromURL(value))
25 serial.Serial.setPort(self, value)
31 for port, desc, hwid in serial.tools.list_ports.grep(url):
34 raise serial.SerialException('no ports found matching regexp %r' % (url,))
37 port = property(serial.Serial.getPort, setPort, doc="Port setting")
/external/autotest/client/cros/i2c/
Dusb_to_i2c.py13 import serial
111 self.serial = serial.Serial(port=self.device_path,
113 bytesize=serial.EIGHTBITS,
114 parity=serial.PARITY_NONE,
115 stopbits=serial.STOPBITS_ONE,
120 serial.VERSION, self.serial.__repr__())
122 self.serial.flush()
126 self.serial.write(bytearray(data))
127 self.serial.flush()
131 ret = self.serial.read(self.serial.inWaiting())
/external/chromium-trace/catapult/devil/devil/utils/
Dbattor_device_mapping.py103 yield devnode.serial
198 for (port, serial) in hub.iteritems():
199 if serial in battor_serials:
203 port_to_devices[port].battor = serial
208 port_to_devices[port].phone = serial
226 def _PhoneToPathMap(serial, serial_map, devtree): argument
229 battor_serial = serial_map[serial]
235 if node.serial == battor_serial:
246 def GetBattorPathFromPhoneSerial(serial, serial_map=None, argument
285 if not serial:
[all …]
Dreset_usb.py32 def reset_android_usb(serial): argument
40 if device_serial == serial:
48 'Unable to determine bus or device for device %s' % serial)
64 serial = lsusb.get_lsusb_serial(device_info)
65 if serial:
67 bus, device, serial)
87 if args.serial:
88 reset_android_usb(args.serial)
/external/mesa3d/src/gallium/drivers/rbug/
Drbug_core.c177 rbug_texture_list(struct rbug_rbug *tr_rbug, struct rbug_header *header, uint32_t serial) in rbug_texture_list() argument
193 rbug_send_texture_list_reply(tr_rbug->con, serial, texs, i, NULL); in rbug_texture_list()
200 rbug_texture_info(struct rbug_rbug *tr_rbug, struct rbug_header *header, uint32_t serial) in rbug_texture_info() argument
222 rbug_send_texture_info_reply(tr_rbug->con, serial, in rbug_texture_info()
241 rbug_texture_read(struct rbug_rbug *tr_rbug, struct rbug_header *header, uint32_t serial) in rbug_texture_read() argument
276 rbug_send_texture_read_reply(tr_rbug->con, serial, in rbug_texture_read()
296 rbug_context_list(struct rbug_rbug *tr_rbug, struct rbug_header *header, uint32_t serial) in rbug_context_list() argument
312 rbug_send_context_list_reply(tr_rbug->con, serial, ctxs, i, NULL); in rbug_context_list()
319 rbug_context_info(struct rbug_rbug *tr_rbug, struct rbug_header *header, uint32_t serial) in rbug_context_info() argument
348 rbug_send_context_info_reply(tr_rbug->con, serial, in rbug_context_info()
[all …]
/external/v8/build/android/buildbot/
Dbb_device_status_check.py61 def _IsBlacklisted(serial, blacklist): argument
62 return blacklist and serial in blacklist.Read()
135 serial = device.adb.GetDeviceSerial()
137 adb_devices[serial][1] if serial in adb_devices
139 usb_status = bool(serial in usb_devices)
142 'serial': serial,
147 if not _IsBlacklisted(serial, blacklist):
179 blacklist.Extend([serial], reason='status_check_failure')
185 blacklist.Extend([serial], reason='status_check_timeout')
188 blacklist.Extend([serial],
[all …]
/external/chromium-trace/catapult/devil/devil/android/tools/
Ddevice_status.py33 def IsBlacklisted(serial, blacklist): argument
34 return blacklist and serial in blacklist.Read()
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,
119 if not IsBlacklisted(serial, blacklist):
148 blacklist.Extend([serial], reason='status_check_failure')
154 blacklist.Extend([serial], reason='status_check_timeout')
157 blacklist.Extend([serial],
[all …]
/external/boringssl/src/crypto/x509v3/
Dv3_akey.c97 if(akeyid->serial) { in STACK_OF()
98 tmp = hex_to_string(akeyid->serial->data, in STACK_OF()
99 akeyid->serial->length); in STACK_OF()
125 ASN1_INTEGER *serial = NULL; in v2i_AUTHORITY_KEYID() local
178 serial = M_ASN1_INTEGER_dup(X509_get_serialNumber(cert)); in v2i_AUTHORITY_KEYID()
179 if(!isname || !serial) in v2i_AUTHORITY_KEYID()
202 akeyid->serial = serial; in v2i_AUTHORITY_KEYID()
209 M_ASN1_INTEGER_free(serial); in v2i_AUTHORITY_KEYID()
/external/chromium-trace/catapult/telemetry/third_party/web-page-replay/third_party/dns/rdtypes/ANY/
DSOA.py45 def __init__(self, rdclass, rdtype, mname, rname, serial, refresh, retry, argument
50 self.serial = serial
60 mname, rname, self.serial, self.refresh, self.retry,
68 serial = tok.get_uint32()
74 return cls(rdclass, rdtype, mname, rname, serial, refresh, retry,
82 five_ints = struct.pack('!IIIII', self.serial, self.refresh,
89 struct.pack('!IIIII', self.serial, self.refresh,
121 self_ints = struct.pack('!IIIII', self.serial, self.refresh,
123 other_ints = struct.pack('!IIIII', other.serial, other.refresh,
/external/autotest/server/hosts/
Dtestbed.py234 builds_without_serial = [build for build, serial in images
235 if not serial]
236 for build, serial in images:
237 if serial:
238 serial_build_pairs[serial] = build
245 for serial, host in self.get_adb_devices().iteritems():
247 if serial in serial_build_pairs:
250 duts_by_board.setdefault(board, []).append(serial)
283 for serial, build in self.locate_devices(images).iteritems():
285 serial)
[all …]
/external/icu/icu4c/source/samples/ucnv/
Dflagcb.c147 q,q->serial, q->magic); in debugCB_print_log()
150 q, q->serial, name, q->magic); in debugCB_print_log()
159 newCtx->serial = debugCB_nextSerial(); in debugCB_clone()
166 printf("debugCB_clone: %p:%d -> new context %p:%d\n", ctx, ctx->serial, newCtx, newCtx->serial); in debugCB_clone()
184 …printf("debugCB_fromU: Context %p:%d called, reason %d on cnv %p [err=%s]\n", ctx, ctx->serial, re… in debugCB_fromU()
188 …, "debugCB_fromU: Context %p:%d magic is 0x%x should be 0xC0FFEE.\n", ctx,ctx->serial, ctx->magic); in debugCB_fromU()
258 printf("debugCB_fromU: Context %p:%d closing\n", ctx, ctx->serial); in debugCB_fromU()
276 ctx->serial = debugCB_nextSerial(); in debugCB_openContext()
281 fprintf(stderr, "debugCB:openContext opened[%p] = serial #%d\n", ctx, ctx->serial); in debugCB_openContext()
/external/chromium-trace/catapult/telemetry/third_party/pyserial/serial/
Drfc2217.py62 from serial.serialutil import *
910 self.serial = serial_port
978 (self.serial.getCTS() and MODEMSTATE_MASK_CTS) |
979 (self.serial.getDSR() and MODEMSTATE_MASK_DSR) |
980 (self.serial.getRI() and MODEMSTATE_MASK_RI) |
981 (self.serial.getCD() and MODEMSTATE_MASK_CD)
1118 backup = self.serial.baudrate
1122 self.serial.baudrate = baudrate
1126 self.serial.baudrate = backup
1129 … self.logger.info("%s baud rate: %s" % (baudrate and 'set' or 'get', self.serial.baudrate))
[all …]
D__init__.py14 from serial.serialcli import *
19 from serial.serialwin32 import *
21 from serial.serialposix import *
23 from serial.serialjava import *
/external/mesa3d/src/gallium/auxiliary/rbug/
Drbug_connection.c70 rbug_get_message(struct rbug_connection *c, uint32_t *serial) in rbug_get_message() argument
107 else if (serial) in rbug_get_message()
108 *serial = c->recv_serial++; in rbug_get_message()
158 int rbug_connection_send_finish(struct rbug_connection *c, uint32_t *serial) in rbug_connection_send_finish() argument
162 else if (serial) in rbug_connection_send_finish()
163 *serial = c->send_serial++; in rbug_connection_send_finish()
/external/dbus/bus/
Ddispatch.c770 dbus_uint32_t serial; in check_hello_message() local
795 if (!dbus_connection_send (connection, message, &serial)) in check_hello_message()
845 "Hello", serial, connection); in check_hello_message()
999 dbus_uint32_t serial; in check_double_hello_message() local
1017 if (!dbus_connection_send (connection, message, &serial)) in check_double_hello_message()
1047 "Hello", serial, connection); in check_double_hello_message()
1089 dbus_uint32_t serial; in check_get_connection_unix_user() local
1119 if (!dbus_connection_send (connection, message, &serial)) in check_get_connection_unix_user()
1149 "GetConnectionUnixUser", serial, connection); in check_get_connection_unix_user()
1226 dbus_uint32_t serial; in check_get_connection_unix_process_id() local
[all …]
/external/chromium-trace/catapult/third_party/coverage/coverage/
Dversion.py11 def _make_version(major, minor, micro, releaselevel, serial): argument
19 version += "%s%d" % (short, serial)
23 def _make_url(major, minor, micro, releaselevel, serial): argument
28 url += "/en/coverage-" + _make_version(major, minor, micro, releaselevel, serial)
/external/libcxx/test/libcxx/android/
Dexecutors.py10 def __init__(self, serial=None): argument
14 self.serial = serial
31 if self.serial:
32 adb_cmd.extend(['-s', self.serial])
/external/skia/platform_tools/android/bin/
Dadb_list_devices.py25 def GetDeviceInfo(adb, serial, props_to_get): argument
33 device_proc = subprocess.Popen([adb, '-s', serial, 'shell', 'cat',
37 raise Exception('Could not query device with serial number %s.' % serial)
144 serial = line_list[0]
146 device_info = [serial, status]
147 device_info.extend(GetDeviceInfo(adb, serial, props_to_get))

12345678910>>...28