HomeSort by relevance Sort by last modified time
    Searched refs:serial (Results 26 - 50 of 310) sorted by null

12 3 4 5 6 7 8 91011>>

  /external/chromium_org/device/serial/
serial_connection.h 10 #include "device/serial/serial.mojom.h"
21 class SerialConnection : public mojo::InterfaceImpl<serial::Connection> {
24 mojo::InterfaceRequest<serial::DataSink> sink,
25 mojo::InterfaceRequest<serial::DataSource> source);
28 // mojo::InterfaceImpl<serial::Connection> overrides.
30 const mojo::Callback<void(serial::ConnectionInfoPtr)>& callback) OVERRIDE;
31 virtual void SetOptions(serial::ConnectionOptionsPtr options,
34 serial::HostControlSignalsPtr signals,
37 void(serial::DeviceControlSignalsPtr)>& callback) OVERRIDE
    [all...]
serial_device_enumerator_mac.h 8 #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;
serial_device_enumerator_win.h 8 #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;
serial_io_handler_posix.h 9 #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;
serial_io_handler_win.h 10 #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;
serial_service_impl.cc 5 #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::DeviceInfoPtr> devices
    [all...]
serial_service_unittest.cc 8 #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::SerialService> service
    [all...]
serial_device_enumerator_linux.h 11 #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;
serial_device_enumerator_mac.cc 5 #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());
  /external/chromium_org/extensions/browser/api/serial/
serial_api.cc 5 #include "extensions/browser/api/serial/serial_api.h"
12 #include "device/serial/serial_device_enumerator.h"
13 #include "extensions/browser/api/serial/serial_connection.h"
14 #include "extensions/browser/api/serial/serial_event_dispatcher.h"
15 #include "extensions/common/api/serial.h"
34 const serial::DataBits kDefaultDataBits = serial::DATA_BITS_EIGHT;
35 const serial::ParityBit kDefaultParityBit = serial::PARITY_BIT_NO;
36 const serial::StopBits kDefaultStopBits = serial::STOP_BITS_ONE
    [all...]
serial_event_dispatcher.cc 5 #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::OnReceive::Create(receive_info)
    [all...]
  /external/chromium_org/extensions/renderer/api/serial/
serial_api_unittest.cc 5 #include "device/serial/serial_device_enumerator.h"
6 #include "device/serial/serial_service_impl.h"
7 #include "device/serial/test_serial_io_handler.h"
11 // A test launcher for tests for the serial API defined in
21 virtual mojo::Array<device::serial::DeviceInfoPtr> GetDevices() OVERRIDE {
22 mojo::Array<device::serial::DeviceInfoPtr> result(3);
23 result[0] = device::serial::DeviceInfo::New();
30 result[1] = device::serial::DeviceInfo::New();
35 result[2] = device::serial::DeviceInfo::New();
48 device::serial::HostControlSignals GenerateControlSignals(OptionalValue dtr
    [all...]
  /external/chromium_org/chrome/browser/devtools/device/adb/
adb_device_provider.cc 20 static void RunCommand(const std::string& serial,
24 kHostTransportCommand, serial.c_str(), command.c_str());
54 void AdbDeviceProvider::QueryDeviceInfo(const std::string& serial,
56 AdbDeviceInfoQuery::Start(base::Bind(&RunCommand, serial), callback);
59 void AdbDeviceProvider::OpenSocket(const std::string& serial,
64 AdbClientSocket::TransportQuery(kAdbPort, serial, request, callback);
  /external/chromium_org/tools/telemetry/third_party/pyserial/serial/tools/
miniterm.py 3 # Very simple serial terminal
11 import sys, os, serial, threading namespace
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]
    [all...]
  /external/chromium_org/chrome/browser/devtools/device/usb/
usb_device_provider.h 24 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/
rbug_connection.c 64 * Also returns the serial for the message, serial is not touched for replys.
70 rbug_get_message(struct rbug_connection *c, uint32_t *serial)
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)
162 else if (serial)
163 *serial = c->send_serial++;
rbug_connection.h 39 struct rbug_header * rbug_get_message(struct rbug_connection *c, uint32_t *serial);
rbug_core.h 66 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/
rbug_connection.c 64 * Also returns the serial for the message, serial is not touched for replys.
70 rbug_get_message(struct rbug_connection *c, uint32_t *serial)
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)
162 else if (serial)
163 *serial = c->send_serial++;
rbug_connection.h 39 struct rbug_header * rbug_get_message(struct rbug_connection *c, uint32_t *serial);
rbug_core.h 66 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,
  /dalvik/hit/src/com/android/hit/
StackFrame.java 33 int serial, int line) {
38 mSerialNumber = serial;
StackTrace.java 37 public StackTrace(int serial, int thread, StackFrame[] frames) {
38 mSerialNumber = serial;
  /bootable/recovery/minadbd/
transport.c 88 D("%s: run_transport_disconnects\n", t->serial);
204 if(read_packet(fd, t->serial, &p)){
205 D("%s: failed to read packet from transport socket on fd %d\n", t->serial, fd);
237 if(write_packet(t->transport_socket, t->serial, &p)){
261 t->serial, t->fd, t->sync_token + 1);
267 if(write_packet(t->fd, t->serial, &p)) {
269 D("%s: failed to write SYNC packet\n", t->serial);
273 D("%s: data pump started\n", t->serial);
279 t->serial);
280 if(write_packet(t->fd, t->serial, &p))
    [all...]
  /external/chromium_org/tools/telemetry/third_party/pyserial/serial/
__init__.py 3 # portable serial port access with python
14 from serial.serialcli import *
19 from serial.serialwin32 import *
21 from serial.serialposix import *
23 from serial.serialjava import *
29 'serial.urlhandler',
34 Get an instance of the Serial class, depending on port/url. The port is not
47 # check remove extra parameter to not confuse the Serial class
51 klass = Serial # 'native' implementation
68 klass = sys.modules[module_name].Serial
    [all...]

Completed in 600 milliseconds

12 3 4 5 6 7 8 91011>>