Searched refs:serial (Results 26 - 50 of 298) sorted by relevance

1234567891011>>

/external/chromium_org/chrome/browser/devtools/device/adb/
H A Dadb_device_provider.h14 virtual void QueryDeviceInfo(const std::string& serial,
17 virtual void OpenSocket(const std::string& serial,
H A Dadb_device_provider.cc20 static void RunCommand(const std::string& serial, argument
24 kHostTransportCommand, serial.c_str(), command.c_str());
54 void AdbDeviceProvider::QueryDeviceInfo(const std::string& serial, argument
56 AdbDeviceInfoQuery::Start(base::Bind(&RunCommand, serial), callback);
59 void AdbDeviceProvider::OpenSocket(const std::string& serial, argument
64 AdbClientSocket::TransportQuery(kAdbPort, serial, request, callback);
/external/chromium_org/chrome/browser/devtools/device/
H A Dself_device_provider.h17 virtual void QueryDeviceInfo(const std::string& serial,
20 virtual void OpenSocket(const std::string& serial,
/external/chromium_org/device/serial/
H A Dserial_service_impl.cc5 #include "device/serial/serial_service_impl.h"
9 #include "device/serial/serial_io_handler.h"
31 mojo::InterfaceRequest<serial::SerialService> request) {
43 mojo::InterfaceRequest<serial::SerialService> request) {
51 const mojo::Callback<void(mojo::Array<serial::DeviceInfoPtr>)>& callback) {
57 serial::ConnectionOptionsPtr options,
58 mojo::InterfaceRequest<serial::Connection> connection_request,
59 mojo::InterfaceRequest<serial::DataSink> sink,
60 mojo::InterfaceRequest<serial::DataSource> source) {
77 mojo::Array<serial
[all...]
H A Dserial_service_unittest.cc8 #include "device/serial/serial.mojom.h"
9 #include "device/serial/serial_service_impl.h"
10 #include "device/serial/test_serial_io_handler.h"
20 virtual mojo::Array<serial::DeviceInfoPtr> GetDevices() OVERRIDE {
21 mojo::Array<serial::DeviceInfoPtr> devices(1);
22 devices[0] = serial::DeviceInfo::New();
45 void StoreDevices(mojo::Array<serial::DeviceInfoPtr> devices) {
65 void OnGotInfo(serial::ConnectionInfoPtr options) {
75 mojo::InterfacePtr<serial
[all...]
H A Dserial_device_enumerator_linux.h11 #include "device/serial/serial_device_enumerator.h"
15 // Discovers and enumerates serial devices available to the host.
22 virtual mojo::Array<serial::DeviceInfoPtr> GetDevices() OVERRIDE;
H A Dserial_device_enumerator_mac.cc5 #include "device/serial/serial_device_enumerator_mac.h"
24 // TODO(rockot): Use IOKit to enumerate serial interfaces.
25 mojo::Array<serial::DeviceInfoPtr> SerialDeviceEnumeratorMac::GetDevices() {
35 valid_patterns.insert("/dev/*serial*");
39 mojo::Array<serial::DeviceInfoPtr> devices(0);
50 serial::DeviceInfoPtr info(serial::DeviceInfo::New());
H A Dserial_device_enumerator_mac.h8 #include "device/serial/serial_device_enumerator.h"
12 // Discovers and enumerates serial devices available to the host.
19 virtual mojo::Array<serial::DeviceInfoPtr> GetDevices() OVERRIDE;
H A Dserial_device_enumerator_win.h8 #include "device/serial/serial_device_enumerator.h"
12 // Discovers and enumerates serial devices available to the host.
19 virtual mojo::Array<serial::DeviceInfoPtr> GetDevices() OVERRIDE;
H A Dserial_io_handler_posix.h9 #include "device/serial/serial_io_handler.h"
22 virtual serial::DeviceControlSignalsPtr GetControlSignals() const OVERRIDE;
24 const serial::HostControlSignals& control_signals) OVERRIDE;
25 virtual bool ConfigurePort(const serial::ConnectionOptions& options) OVERRIDE;
26 virtual serial::ConnectionInfoPtr GetPortInfo() const OVERRIDE;
H A Dserial_io_handler_win.h10 #include "device/serial/serial_io_handler.h"
23 virtual serial::DeviceControlSignalsPtr GetControlSignals() const OVERRIDE;
25 const serial::HostControlSignals& control_signals) OVERRIDE;
26 virtual bool ConfigurePort(const serial::ConnectionOptions& options) OVERRIDE;
27 virtual serial::ConnectionInfoPtr GetPortInfo() const OVERRIDE;
/external/chromium_org/extensions/browser/api/serial/
H A Dserial_api.h10 #include "device/serial/serial.mojom.h"
13 #include "extensions/common/api/serial.h"
42 DECLARE_EXTENSION_FUNCTION("serial.getDevices", SERIAL_GETDEVICES)
56 DECLARE_EXTENSION_FUNCTION("serial.connect", SERIAL_CONNECT)
75 scoped_ptr<serial::Connect::Params> params_;
89 DECLARE_EXTENSION_FUNCTION("serial.update", SERIAL_UPDATE);
101 scoped_ptr<serial::Update::Params> params_;
106 DECLARE_EXTENSION_FUNCTION("serial.disconnect", SERIAL_DISCONNECT)
118 scoped_ptr<serial
[all...]
H A Dserial_event_dispatcher.cc5 #include "extensions/browser/api/serial/serial_event_dispatcher.h"
8 #include "extensions/browser/api/serial/serial_connection.h"
18 bool ShouldPauseOnReceiveError(serial::ReceiveError error) {
19 return error == serial::RECEIVE_ERROR_DEVICE_LOST ||
20 error == serial::RECEIVE_ERROR_SYSTEM_ERROR ||
21 error == serial::RECEIVE_ERROR_DISCONNECTED;
45 DCHECK(manager) << "No serial connection manager.";
91 serial::ReceiveError error) {
97 serial::ReceiveInfo receive_info;
100 scoped_ptr<base::ListValue> args = serial
[all...]
/external/chromium_org/extensions/test/data/
H A Dserial_unittest.js6 * Unit tests for the JS serial service client.
10 * extensions/renderer/api/serial/serial_api_unittest.cc.
14 var serial = require('serial').binding; variable
33 serial.connect('device', options, test.callbackPass(function(connectionInfo) {
73 serial.disconnect(connectionId, test.callbackPass(function(success) {
103 test.listenOnce(serial.onReceiveError, function(result) {
104 serial.getInfo(connectionId, test.callbackPass(function(connectionInfo) {
116 serial.send(connectionId, buffer, test.callbackPass(function(sendInfo) {
131 return utils.promise(serial
[all...]
/external/chromium_org/chrome/browser/devtools/device/usb/
H A Dusb_device_provider.h24 virtual void QueryDeviceInfo(const std::string& serial,
27 virtual void OpenSocket(const std::string& serial,
31 virtual void ReleaseDevice(const std::string& serial) OVERRIDE;
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/rbug/
H A Drbug_connection.c64 * Also returns the serial for the message, serial is not touched for replys.
70 rbug_get_message(struct rbug_connection *c, uint32_t *serial) argument
107 else if (serial)
108 *serial = c->recv_serial++;
156 * Ups the send_serial and sets the serial argument if supplied.
158 int rbug_connection_send_finish(struct rbug_connection *c, uint32_t *serial) argument
162 else if (serial)
163 *serial = c->send_serial++;
H A Drbug_connection.h39 struct rbug_header * rbug_get_message(struct rbug_connection *c, uint32_t *serial);
H A Drbug_core.h66 uint32_t serial; member in struct:rbug_proto_ping_reply
72 uint32_t serial; member in struct:rbug_proto_error_reply
87 uint32_t serial,
91 uint32_t serial,
/external/mesa3d/src/gallium/auxiliary/rbug/
H A Drbug_connection.c64 * Also returns the serial for the message, serial is not touched for replys.
70 rbug_get_message(struct rbug_connection *c, uint32_t *serial) argument
107 else if (serial)
108 *serial = c->recv_serial++;
156 * Ups the send_serial and sets the serial argument if supplied.
158 int rbug_connection_send_finish(struct rbug_connection *c, uint32_t *serial) argument
162 else if (serial)
163 *serial = c->send_serial++;
H A Drbug_connection.h39 struct rbug_header * rbug_get_message(struct rbug_connection *c, uint32_t *serial);
H A Drbug_core.h66 uint32_t serial; member in struct:rbug_proto_ping_reply
72 uint32_t serial; member in struct:rbug_proto_error_reply
87 uint32_t serial,
91 uint32_t serial,
/external/chromium_org/build/android/
H A Denable_asserts.py25 # TODO(jbudorick): Accept optional serial number and run only for the
28 for device in [device_utils.DeviceUtils(serial) for serial in devices]:
/external/chromium_org/net/cert/
H A Dcrl_set.cc35 base::StringPiece serial(serial_number);
37 if (!serial.empty() && (serial[0] & 0x80) != 0) {
38 // This serial number is negative but the process which generates CRL sets
39 // will reject any certificates with negative serial numbers as invalid.
44 while (serial.size() > 1 && serial[0] == 0x00)
45 serial.remove_prefix(1);
55 if (base::StringPiece(*i) == serial)
/external/smack/src/org/xbill/DNS/
H A DSOARecord.java18 private long serial, refresh, retry, expire, minimum; field in class:SOARecord
31 * @param serial The zone's serial number
32 * @param refresh The amount of time until a secondary checks for a new serial
35 * serial number
41 long serial, long refresh, long retry, long expire, long minimum)
46 this.serial = checkU32("serial", serial);
57 serial
40 SOARecord(Name name, int dclass, long ttl, Name host, Name admin, long serial, long refresh, long retry, long expire, long minimum) argument
[all...]
/external/chromium_org/third_party/boringssl/src/crypto/x509v3/
H A Dv3_akey.c96 if(akeyid->serial) {
97 tmp = hex_to_string(akeyid->serial->data,
98 akeyid->serial->length);
99 X509V3_add_value("serial", tmp, &extlist);
108 * issuer: use the issuers cert issuer and serial number. The default is
124 ASN1_INTEGER *serial = NULL; local
177 serial = M_ASN1_INTEGER_dup(X509_get_serialNumber(cert));
178 if(!isname || !serial)
201 akeyid->serial = serial;
[all...]

Completed in 2990 milliseconds

1234567891011>>