Searched refs:adapter (Results 76 - 100 of 233) sorted by path

12345678910

/external/chromium_org/device/bluetooth/
H A Dbluetooth_device_chromeos.cc124 BluetoothAdapterChromeOS* adapter,
128 : adapter_(adapter),
123 BluetoothDeviceChromeOS( BluetoothAdapterChromeOS* adapter, const dbus::ObjectPath& object_path, scoped_refptr<base::SequencedTaskRunner> ui_task_runner, scoped_refptr<device::BluetoothSocketThread> socket_thread) argument
H A Dbluetooth_device_chromeos.h113 BluetoothAdapterChromeOS* adapter,
177 // The adapter that owns this device instance.
H A Dbluetooth_discovery_session.cc13 scoped_refptr<BluetoothAdapter> adapter)
14 : active_(true), adapter_(adapter), weak_ptr_factory_(this) {
12 BluetoothDiscoverySession( scoped_refptr<BluetoothAdapter> adapter) argument
H A Dbluetooth_discovery_session.h18 // BluetoothAdapter::StartDiscoverySession. The Bluetooth adapter will be
21 // considered active, as long as the adapter is discovering AND the owner of the
23 // BluetoothDiscoverySession might unexpectedly become inactive, if the adapter
42 // adapter might still be discovering as there might still be other active
52 // adapter may or may not stop device discovery, depending on whether or not
61 explicit BluetoothDiscoverySession(scoped_refptr<BluetoothAdapter> adapter);
70 // session as inactive in the case of an unexpected change to the adapter
77 // The adapter that created this instance.
H A Dbluetooth_gatt_chromeos_unittest.cc62 TestObserver(scoped_refptr<BluetoothAdapter> adapter) argument
73 adapter_(adapter) {
82 virtual void GattServiceAdded(BluetoothAdapter* adapter,
85 ASSERT_EQ(adapter_.get(), adapter);
100 virtual void GattServiceRemoved(BluetoothAdapter* adapter,
103 ASSERT_EQ(adapter_.get(), adapter);
120 BluetoothAdapter* adapter,
122 ASSERT_EQ(adapter_.get(), adapter);
128 virtual void GattServiceChanged(BluetoothAdapter* adapter,
130 ASSERT_EQ(adapter_.get(), adapter);
338 AdapterCallback(scoped_refptr<BluetoothAdapter> adapter) argument
[all...]
H A Dbluetooth_gatt_connection_chromeos.cc16 scoped_refptr<device::BluetoothAdapter> adapter,
20 adapter_(adapter),
15 BluetoothGattConnectionChromeOS( scoped_refptr<device::BluetoothAdapter> adapter, const std::string& device_address, const dbus::ObjectPath& object_path) argument
H A Dbluetooth_gatt_connection_chromeos.h31 scoped_refptr<device::BluetoothAdapter> adapter,
51 // The Bluetooth adapter that this connection is associated with.
H A Dbluetooth_gatt_notify_session_chromeos.cc18 scoped_refptr<device::BluetoothAdapter> adapter,
24 adapter_(adapter),
17 BluetoothGattNotifySessionChromeOS( scoped_refptr<device::BluetoothAdapter> adapter, const std::string& device_address, const std::string& service_identifier, const std::string& characteristic_identifier, const dbus::ObjectPath& characteristic_path) argument
H A Dbluetooth_gatt_notify_session_chromeos.h41 scoped_refptr<device::BluetoothAdapter> adapter,
57 // The Bluetooth adapter that this session is associated with.
H A Dbluetooth_remote_gatt_service_chromeos.cc19 BluetoothAdapterChromeOS* adapter,
23 adapter_(adapter),
18 BluetoothRemoteGattServiceChromeOS( BluetoothAdapterChromeOS* adapter, BluetoothDeviceChromeOS* device, const dbus::ObjectPath& object_path) argument
H A Dbluetooth_remote_gatt_service_chromeos.h66 // Returns the adapter associated with this service.
104 BluetoothRemoteGattServiceChromeOS(BluetoothAdapterChromeOS* adapter,
126 // The adapter associated with this service. It's ok to store a raw pointer
H A Dbluetooth_socket_chromeos.cc118 scoped_refptr<BluetoothAdapter> adapter,
133 adapter_ = adapter;
324 void BluetoothSocketChromeOS::AdapterPresentChanged(BluetoothAdapter* adapter, argument
117 Listen( scoped_refptr<BluetoothAdapter> adapter, SocketType socket_type, const BluetoothUUID& uuid, const BluetoothAdapter::ServiceOptions& service_options, const base::Closure& success_callback, const ErrorCompletionCallback& error_callback) argument
H A Dbluetooth_socket_chromeos.h57 // Listens using this socket using a service published on |adapter|. The
65 scoped_refptr<device::BluetoothAdapter> adapter,
105 virtual void AdapterPresentChanged(device::BluetoothAdapter* adapter,
109 // triggered as a result of the adapter becoming present again.
H A Dbluetooth_socket_chromeos_unittest.cc74 // Grab a pointer to the adapter.
82 // Turn on the adapter.
96 void AdapterCallback(scoped_refptr<BluetoothAdapter> adapter) { argument
97 adapter_ = adapter;
405 // Start off with an invisible adapter, register the profile, then make
406 // the adapter visible.
439 // Make the adapter visible. This should register a profile.
456 // The fake adapter starts off visible by default.
488 // Make the adapter invisible, and fiddle with the profile fake to unregister
496 // Then make the adapter visibl
[all...]
H A Dbluetooth_socket_mac.h52 // RFCOMM service on the |adapter| as UUID |uuid| with Channel
58 void ListenUsingRfcomm(scoped_refptr<BluetoothAdapterMac> adapter,
65 // L2CAP service on the |adapter| as UUID |uuid| with PSM |options.psm|, or an
71 void ListenUsingL2cap(scoped_refptr<BluetoothAdapterMac> adapter,
H A Dbluetooth_socket_win.cc134 void BluetoothSocketWin::Listen(scoped_refptr<BluetoothAdapter> adapter, argument
141 adapter_ = adapter;
H A Dbluetooth_socket_win.h47 void Listen(scoped_refptr<BluetoothAdapter> adapter,
/external/chromium_org/device/bluetooth/test/
H A Dmock_bluetooth_device.cc12 MockBluetoothDevice::MockBluetoothDevice(MockBluetoothAdapter* adapter, argument
H A Dmock_bluetooth_device.h21 MockBluetoothDevice(MockBluetoothAdapter* adapter,
/external/chromium_org/device/nfc/
H A Dnfc_adapter.h20 // NfcAdapter represents a local NFC adapter which may be used to interact with
23 // and/or when an adapter is present, supported NFC technologies, and the
24 // adapter's power and polling state. NfcAdapter instances can be used to power
25 // up/down the NFC adapter and its Observer interface allows users to get
29 // A system can contain more than one NFC adapter (e.g. external USB adapters)
33 // adapter is removed from the system, the NfcAdapter instance will update to
34 // reflect the information from the next available adapter.
42 // Called when the presence of the adapter |adapter| changes. When |present|
43 // is true, this indicates that the adapter ha
46 AdapterPresentChanged(NfcAdapter* adapter, bool present) argument
51 AdapterPoweredChanged(NfcAdapter* adapter, bool powered) argument
58 AdapterPollingChanged(NfcAdapter* adapter, bool polling) argument
68 TagFound(NfcAdapter* adapter, NfcTag* tag) argument
72 TagLost(NfcAdapter* adapter, NfcTag* tag) argument
87 PeerLost(NfcAdapter* adapter, NfcPeer* peer) argument
[all...]
H A Dnfc_chromeos_unittest.cc48 TestObserver(scoped_refptr<NfcAdapter> adapter) argument
56 adapter_(adapter) {
62 virtual void AdapterPresentChanged(NfcAdapter* adapter,
64 EXPECT_EQ(adapter_.get(), adapter);
69 virtual void AdapterPoweredChanged(NfcAdapter* adapter,
71 EXPECT_EQ(adapter_.get(), adapter);
76 virtual void AdapterPollingChanged(NfcAdapter* adapter,
78 EXPECT_EQ(adapter_.get(), adapter);
83 virtual void PeerFound(NfcAdapter* adapter, NfcPeer* peer) OVERRIDE {
84 EXPECT_EQ(adapter_.get(), adapter);
[all...]
/external/chromium_org/extensions/browser/api/bluetooth/
H A Dbluetooth_api.cc104 scoped_refptr<BluetoothAdapter> adapter) {
106 PopulateAdapterState(*adapter.get(), &state);
115 scoped_refptr<BluetoothAdapter> adapter) {
121 BluetoothAdapter::DeviceList devices = adapter->GetDevices();
142 scoped_refptr<BluetoothAdapter> adapter) {
148 BluetoothDevice* device = adapter->GetDevice(params->device_address);
172 scoped_refptr<BluetoothAdapter> adapter) {
174 adapter.get(),
192 scoped_refptr<BluetoothAdapter> adapter) {
194 adapter
103 DoWork( scoped_refptr<BluetoothAdapter> adapter) argument
114 DoWork( scoped_refptr<BluetoothAdapter> adapter) argument
141 DoWork( scoped_refptr<BluetoothAdapter> adapter) argument
171 DoWork( scoped_refptr<BluetoothAdapter> adapter) argument
191 DoWork( scoped_refptr<BluetoothAdapter> adapter) argument
[all...]
H A Dbluetooth_api.h78 virtual bool DoWork(scoped_refptr<device::BluetoothAdapter> adapter) OVERRIDE;
89 virtual bool DoWork(scoped_refptr<device::BluetoothAdapter> adapter) OVERRIDE;
97 virtual bool DoWork(scoped_refptr<device::BluetoothAdapter> adapter) OVERRIDE;
112 virtual bool DoWork(scoped_refptr<device::BluetoothAdapter> adapter) OVERRIDE;
127 virtual bool DoWork(scoped_refptr<device::BluetoothAdapter> adapter) OVERRIDE;
H A Dbluetooth_api_utils.cc136 void PopulateAdapterState(const device::BluetoothAdapter& adapter, argument
138 out->discovering = adapter.IsDiscovering();
139 out->available = adapter.IsPresent();
140 out->powered = adapter.IsPowered();
141 out->name = adapter.GetName();
142 out->address = adapter.GetAddress();
H A Dbluetooth_api_utils.h23 void PopulateAdapterState(const device::BluetoothAdapter& adapter,

Completed in 434 milliseconds

12345678910