Home
last modified time | relevance | path

Searched refs:BluetoothDevice (Results 1 – 25 of 84) sorted by relevance

1234

/external/chromium_org/extensions/browser/api/bluetooth/
Dbluetooth_api_utils.cc15 using device::BluetoothDevice;
20 bool ConvertVendorIDSourceToApi(const BluetoothDevice::VendorIDSource& input, in ConvertVendorIDSourceToApi()
23 case BluetoothDevice::VENDOR_ID_UNKNOWN: in ConvertVendorIDSourceToApi()
26 case BluetoothDevice::VENDOR_ID_BLUETOOTH: in ConvertVendorIDSourceToApi()
29 case BluetoothDevice::VENDOR_ID_USB: in ConvertVendorIDSourceToApi()
38 bool ConvertDeviceTypeToApi(const BluetoothDevice::DeviceType& input, in ConvertDeviceTypeToApi()
41 case BluetoothDevice::DEVICE_UNKNOWN: in ConvertDeviceTypeToApi()
44 case BluetoothDevice::DEVICE_COMPUTER: in ConvertDeviceTypeToApi()
47 case BluetoothDevice::DEVICE_PHONE: in ConvertDeviceTypeToApi()
50 case BluetoothDevice::DEVICE_MODEM: in ConvertDeviceTypeToApi()
[all …]
Dbluetooth_api_pairing_delegate.h22 : public device::BluetoothDevice::PairingDelegate {
29 virtual void RequestPinCode(device::BluetoothDevice* device) OVERRIDE;
30 virtual void RequestPasskey(device::BluetoothDevice* device) OVERRIDE;
31 virtual void DisplayPinCode(device::BluetoothDevice* device,
33 virtual void DisplayPasskey(device::BluetoothDevice* device,
35 virtual void KeysEntered(device::BluetoothDevice* device,
37 virtual void ConfirmPasskey(device::BluetoothDevice* device,
39 virtual void AuthorizePairing(device::BluetoothDevice* device) OVERRIDE;
Dbluetooth_api_pairing_delegate.cc22 void PopulatePairingEvent(const device::BluetoothDevice* device, in PopulatePairingEvent()
39 device::BluetoothDevice* device) { in RequestPinCode()
47 device::BluetoothDevice* device) { in RequestPasskey()
55 device::BluetoothDevice* device, in DisplayPinCode()
65 device::BluetoothDevice* device, in DisplayPasskey()
74 void BluetoothApiPairingDelegate::KeysEntered(device::BluetoothDevice* device, in KeysEntered()
84 device::BluetoothDevice* device, in ConfirmPasskey()
94 device::BluetoothDevice* device) { in AuthorizePairing()
/external/chromium_org/ash/system/chromeos/bluetooth/
Dbluetooth_notification_controller.h27 public device::BluetoothDevice::PairingDelegate {
36 device::BluetoothDevice* device) OVERRIDE;
38 device::BluetoothDevice* device) OVERRIDE;
40 device::BluetoothDevice* device) OVERRIDE;
43 virtual void RequestPinCode(device::BluetoothDevice* device) OVERRIDE;
44 virtual void RequestPasskey(device::BluetoothDevice* device) OVERRIDE;
45 virtual void DisplayPinCode(device::BluetoothDevice* device,
47 virtual void DisplayPasskey(device::BluetoothDevice* device,
49 virtual void KeysEntered(device::BluetoothDevice* device,
51 virtual void ConfirmPasskey(device::BluetoothDevice* device,
[all …]
Dbluetooth_notification_controller.cc27 using device::BluetoothDevice;
109 BluetoothDevice* device = adapter_->GetDevice(address_); in Close()
125 BluetoothDevice* device = adapter_->GetDevice(address_); in ButtonClick()
176 BluetoothDevice* device) { in DeviceAdded()
184 BluetoothDevice* device) { in DeviceChanged()
199 BluetoothDevice* device) { in DeviceRemoved()
204 void BluetoothNotificationController::RequestPinCode(BluetoothDevice* device) { in RequestPinCode()
211 void BluetoothNotificationController::RequestPasskey(BluetoothDevice* device) { in RequestPasskey()
219 BluetoothDevice* device, in DisplayPinCode()
228 void BluetoothNotificationController::DisplayPasskey(BluetoothDevice* device, in DisplayPasskey()
[all …]
/external/chromium_org/chrome/browser/ui/webui/chromeos/login/
Dhid_detection_screen_handler.h37 public device::BluetoothDevice::PairingDelegate,
60 virtual void RequestPinCode(device::BluetoothDevice* device) OVERRIDE;
61 virtual void RequestPasskey(device::BluetoothDevice* device) OVERRIDE;
62 virtual void DisplayPinCode(device::BluetoothDevice* device,
65 device::BluetoothDevice* device, uint32 passkey) OVERRIDE;
66 virtual void KeysEntered(device::BluetoothDevice* device,
69 device::BluetoothDevice* device, uint32 passkey) OVERRIDE;
70 virtual void AuthorizePairing(device::BluetoothDevice* device) OVERRIDE;
76 device::BluetoothDevice* device) OVERRIDE;
78 device::BluetoothDevice* device) OVERRIDE;
[all …]
Dhid_detection_screen_handler.cc48 bool DeviceIsPointing(device::BluetoothDevice::DeviceType device_type) { in DeviceIsPointing()
49 return device_type == device::BluetoothDevice::DEVICE_MOUSE || in DeviceIsPointing()
50 device_type == device::BluetoothDevice::DEVICE_KEYBOARD_MOUSE_COMBO || in DeviceIsPointing()
51 device_type == device::BluetoothDevice::DEVICE_TABLET; in DeviceIsPointing()
59 bool DeviceIsKeyboard(device::BluetoothDevice::DeviceType device_type) { in DeviceIsKeyboard()
60 return device_type == device::BluetoothDevice::DEVICE_KEYBOARD || in DeviceIsKeyboard()
61 device_type == device::BluetoothDevice::DEVICE_KEYBOARD_MOUSE_COMBO; in DeviceIsKeyboard()
241 device::BluetoothDevice* device) { in RequestPinCode()
248 device::BluetoothDevice* device) { in RequestPasskey()
254 void HIDDetectionScreenHandler::DisplayPinCode(device::BluetoothDevice* device, in DisplayPinCode()
[all …]
/external/chromium_org/chrome/browser/ui/webui/options/chromeos/
Dbluetooth_options_handler.h30 public device::BluetoothDevice::PairingDelegate {
47 void SendDeviceNotification(const device::BluetoothDevice* device,
58 virtual void RequestPinCode(device::BluetoothDevice* device) OVERRIDE;
70 virtual void RequestPasskey(device::BluetoothDevice* device) OVERRIDE;
82 virtual void DisplayPinCode(device::BluetoothDevice* device,
97 device::BluetoothDevice* device, uint32 passkey) OVERRIDE;
112 virtual void KeysEntered(device::BluetoothDevice* device,
127 device::BluetoothDevice* device, uint32 passkey) OVERRIDE;
130 virtual void AuthorizePairing(device::BluetoothDevice* device) OVERRIDE;
146 device::BluetoothDevice* device) OVERRIDE;
[all …]
Dbluetooth_options_handler.cc284 device::BluetoothDevice* device = adapter_->GetDevice(address); in UpdateDeviceCallback()
381 device::BluetoothDevice::ConnectErrorCode error_code) { in ConnectError()
390 case device::BluetoothDevice::ERROR_UNKNOWN: in ConnectError()
393 case device::BluetoothDevice::ERROR_INPROGRESS: in ConnectError()
396 case device::BluetoothDevice::ERROR_FAILED: in ConnectError()
399 case device::BluetoothDevice::ERROR_AUTH_FAILED: in ConnectError()
402 case device::BluetoothDevice::ERROR_AUTH_CANCELED: in ConnectError()
405 case device::BluetoothDevice::ERROR_AUTH_REJECTED: in ConnectError()
408 case device::BluetoothDevice::ERROR_AUTH_TIMEOUT: in ConnectError()
411 case device::BluetoothDevice::ERROR_UNSUPPORTED_DEVICE: in ConnectError()
[all …]
/external/chromium_org/device/bluetooth/
Dbluetooth_device.cc17 BluetoothDevice::BluetoothDevice() { in BluetoothDevice() function in device::BluetoothDevice
20 BluetoothDevice::~BluetoothDevice() { in ~BluetoothDevice()
24 base::string16 BluetoothDevice::GetName() const { in GetName()
33 base::string16 BluetoothDevice::GetAddressWithLocalizedDeviceTypeName() const { in GetAddressWithLocalizedDeviceTypeName()
35 BluetoothDevice::DeviceType device_type = GetDeviceType(); in GetAddressWithLocalizedDeviceTypeName()
79 BluetoothDevice::DeviceType BluetoothDevice::GetDeviceType() const { in GetDeviceType()
158 bool BluetoothDevice::IsPairable() const { in IsPairable()
179 bool BluetoothDevice::IsTrustable() const { in IsTrustable()
189 BluetoothDevice::GetGattServices() const { in GetGattServices()
197 BluetoothGattService* BluetoothDevice::GetGattService( in GetGattService()
[all …]
Dbluetooth_adapter.h69 BluetoothDevice* device) {} in DeviceAdded()
75 BluetoothDevice* device) {} in DeviceChanged()
82 BluetoothDevice* device) {} in DeviceRemoved()
88 BluetoothDevice* device, in GattServiceAdded()
95 BluetoothDevice* device, in GattServiceRemoved()
267 typedef std::vector<BluetoothDevice*> DeviceList;
269 typedef std::vector<const BluetoothDevice*> ConstDeviceList;
274 virtual BluetoothDevice* GetDevice(const std::string& address);
275 virtual const BluetoothDevice* GetDevice(const std::string& address) const;
292 BluetoothDevice::PairingDelegate* pairing_delegate,
[all …]
Dbluetooth_adapter_unittest.cc11 using device::BluetoothDevice;
105 BluetoothDevice::PairingDelegate* pairing_delegate) OVERRIDE { in RemovePairingDelegateInternal()
109 class TestPairingDelegate : public BluetoothDevice::PairingDelegate {
111 virtual void RequestPinCode(BluetoothDevice* device) OVERRIDE {} in RequestPinCode()
112 virtual void RequestPasskey(BluetoothDevice* device) OVERRIDE {} in RequestPasskey()
113 virtual void DisplayPinCode(BluetoothDevice* device, in DisplayPinCode()
115 virtual void DisplayPasskey(BluetoothDevice* device, in DisplayPasskey()
117 virtual void KeysEntered(BluetoothDevice* device, in KeysEntered()
119 virtual void ConfirmPasskey(BluetoothDevice* device, in ConfirmPasskey()
121 virtual void AuthorizePairing(BluetoothDevice* device) OVERRIDE {} in AuthorizePairing()
Dbluetooth_device.h37 class BluetoothDevice {
97 virtual void RequestPinCode(BluetoothDevice* device) = 0;
108 virtual void RequestPasskey(BluetoothDevice* device) = 0;
117 virtual void DisplayPinCode(BluetoothDevice* device,
128 virtual void DisplayPasskey(BluetoothDevice* device,
143 virtual void KeysEntered(BluetoothDevice* device,
158 virtual void ConfirmPasskey(BluetoothDevice* device,
168 virtual void AuthorizePairing(BluetoothDevice* device) = 0;
171 virtual ~BluetoothDevice();
394 BluetoothDevice();
Dbluetooth_adapter.cc56 devices.push_back(const_cast<BluetoothDevice *>(*i)); in GetDevices()
71 BluetoothDevice* BluetoothAdapter::GetDevice(const std::string& address) { in GetDevice()
72 return const_cast<BluetoothDevice *>( in GetDevice()
76 const BluetoothDevice* BluetoothAdapter::GetDevice( in GetDevice()
79 BluetoothDevice::CanonicalizeAddress(address); in GetDevice()
91 BluetoothDevice::PairingDelegate* pairing_delegate, in AddPairingDelegate()
106 BluetoothDevice::PairingDelegate* pairing_delegate) { in RemovePairingDelegate()
117 BluetoothDevice::PairingDelegate* BluetoothAdapter::DefaultPairingDelegate() { in DefaultPairingDelegate()
Dbluetooth_chromeos_unittest.cc27 using device::BluetoothDevice;
89 BluetoothDevice* device) OVERRIDE { in DeviceAdded()
100 BluetoothDevice* device) OVERRIDE { in DeviceChanged()
111 BluetoothDevice* device) OVERRIDE { in DeviceRemoved()
131 BluetoothDevice* last_device_;
148 class TestPairingDelegate : public BluetoothDevice::PairingDelegate {
163 virtual void RequestPinCode(BluetoothDevice* device) OVERRIDE { in RequestPinCode()
169 virtual void RequestPasskey(BluetoothDevice* device) OVERRIDE { in RequestPasskey()
175 virtual void DisplayPinCode(BluetoothDevice* device, in DisplayPinCode()
183 virtual void DisplayPasskey(BluetoothDevice* device, in DisplayPasskey()
[all …]
Dbluetooth_device_chromeos.cc30 using device::BluetoothDevice;
53 BluetoothDevice::VendorIDSource* vendor_id_source, in ParseModalias()
63 BluetoothDevice::VendorIDSource source_value; in ParseModalias()
68 source_value = BluetoothDevice::VENDOR_ID_BLUETOOTH; in ParseModalias()
71 source_value = BluetoothDevice::VENDOR_ID_USB; in ParseModalias()
86 void RecordPairingResult(BluetoothDevice::ConnectErrorCode error_code) { in RecordPairingResult()
89 case BluetoothDevice::ERROR_INPROGRESS: in RecordPairingResult()
92 case BluetoothDevice::ERROR_FAILED: in RecordPairingResult()
95 case BluetoothDevice::ERROR_AUTH_FAILED: in RecordPairingResult()
98 case BluetoothDevice::ERROR_AUTH_CANCELED: in RecordPairingResult()
[all …]
/external/chromium_org/components/pairing/
Dbluetooth_controller_pairing_controller.h30 public device::BluetoothDevice::PairingDelegate {
37 device::BluetoothDevice* GetController();
39 void DeviceFound(device::BluetoothDevice* device);
40 void DeviceLost(device::BluetoothDevice* device);
54 void OnConnectError(device::BluetoothDevice::ConnectErrorCode error_code);
93 device::BluetoothDevice* device) OVERRIDE;
95 device::BluetoothDevice* device) OVERRIDE;
98 virtual void RequestPinCode(device::BluetoothDevice* device) OVERRIDE;
99 virtual void RequestPasskey(device::BluetoothDevice* device) OVERRIDE;
100 virtual void DisplayPinCode(device::BluetoothDevice* device,
[all …]
Dbluetooth_host_pairing_controller.h33 public device::BluetoothDevice::PairingDelegate {
52 void OnAccept(const device::BluetoothDevice* device,
91 virtual void RequestPinCode(device::BluetoothDevice* device) OVERRIDE;
92 virtual void RequestPasskey(device::BluetoothDevice* device) OVERRIDE;
93 virtual void DisplayPinCode(device::BluetoothDevice* device,
95 virtual void DisplayPasskey(device::BluetoothDevice* device,
97 virtual void KeysEntered(device::BluetoothDevice* device,
99 virtual void ConfirmPasskey(device::BluetoothDevice* device,
101 virtual void AuthorizePairing(device::BluetoothDevice* device) OVERRIDE;
109 device::BluetoothDevice* device_;
Dbluetooth_controller_pairing_controller.cc35 device::BluetoothDevice* BluetoothControllerPairingController::GetController() { in GetController()
37 device::BluetoothDevice* device = adapter_->GetDevice(controller_device_id_); in GetController()
71 device::BluetoothDevice* device) { in DeviceFound()
83 device::BluetoothDevice* device) { in DeviceLost()
148 device::BluetoothDevice* device = GetController(); in OnConnect()
201 device::BluetoothDevice::ConnectErrorCode error_code) { in OnConnectError()
203 device::BluetoothDevice* device = GetController(); in OnConnectError()
265 device::BluetoothDevice* device = GetController(); in ChooseDeviceForPairing()
300 device::BluetoothDevice* device = GetController(); in SetConfirmationCodeIsCorrect()
408 device::BluetoothDevice* device) { in DeviceAdded()
[all …]
/external/chromium_org/chrome/browser/metrics/
Dchromeos_metrics_provider.cc37 device::BluetoothDevice::DeviceType device_type) { in AsBluetoothDeviceType()
39 case device::BluetoothDevice::DEVICE_UNKNOWN: in AsBluetoothDeviceType()
41 case device::BluetoothDevice::DEVICE_COMPUTER: in AsBluetoothDeviceType()
43 case device::BluetoothDevice::DEVICE_PHONE: in AsBluetoothDeviceType()
45 case device::BluetoothDevice::DEVICE_MODEM: in AsBluetoothDeviceType()
47 case device::BluetoothDevice::DEVICE_AUDIO: in AsBluetoothDeviceType()
49 case device::BluetoothDevice::DEVICE_CAR_AUDIO: in AsBluetoothDeviceType()
51 case device::BluetoothDevice::DEVICE_VIDEO: in AsBluetoothDeviceType()
53 case device::BluetoothDevice::DEVICE_PERIPHERAL: in AsBluetoothDeviceType()
55 case device::BluetoothDevice::DEVICE_JOYSTICK: in AsBluetoothDeviceType()
[all …]
/external/chromium_org/device/bluetooth/test/
Dmock_bluetooth_device.h19 class MockBluetoothDevice : public BluetoothDevice {
32 MOCK_CONST_METHOD0(GetVendorIDSource, BluetoothDevice::VendorIDSource());
37 MOCK_CONST_METHOD0(GetDeviceType, BluetoothDevice::DeviceType());
50 void(BluetoothDevice::PairingDelegate* pairing_delegate,
52 const BluetoothDevice::ConnectErrorCallback&
61 const BluetoothDevice::ErrorCallback& error_callback));
62 MOCK_METHOD1(Forget, void(const BluetoothDevice::ErrorCallback&));
73 const BluetoothDevice::ErrorCallback& error_callback));
82 BluetoothDevice::UUIDList uuids_;
Dmock_bluetooth_adapter.h27 MOCK_METHOD2(DeviceAdded, void(BluetoothAdapter*, BluetoothDevice*));
28 MOCK_METHOD2(DeviceChanged, void(BluetoothAdapter*, BluetoothDevice*));
29 MOCK_METHOD2(DeviceRemoved, void(BluetoothAdapter*, BluetoothDevice*));
60 MOCK_METHOD1(GetDevice, BluetoothDevice*(const std::string& address));
62 const BluetoothDevice*(const std::string& address));
64 void(BluetoothDevice::PairingDelegate* pairing_delegate,
67 void(BluetoothDevice::PairingDelegate* pairing_delegate));
68 MOCK_METHOD0(DefaultPairingDelegate, BluetoothDevice::PairingDelegate*());
88 void(BluetoothDevice::PairingDelegate* pairing_delegate));
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowBluetoothAdapter.java4 import android.bluetooth.BluetoothDevice;
19 private Set<BluetoothDevice> bondedDevices = new HashSet<BluetoothDevice>();
28 public Set<BluetoothDevice> getBondedDevices() { in getBondedDevices()
32 public void setBondedDevices(Set<BluetoothDevice> bluetoothDevices) { in setBondedDevices()
/external/chromium_org/components/proximity_auth/
Dbluetooth_util.cc11 using device::BluetoothDevice;
27 BluetoothDevice* device, in ConnectToServiceInsecurely()
29 const BluetoothDevice::ConnectToServiceCallback& callback, in ConnectToServiceInsecurely()
30 const BluetoothDevice::ConnectToServiceErrorCallback& error_callback) { in ConnectToServiceInsecurely()
Dbluetooth_connection.h46 device::BluetoothDevice* device) OVERRIDE;
50 device::BluetoothDevice* device,
52 const device::BluetoothDevice::ConnectToServiceCallback& callback,
53 const device::BluetoothDevice::ConnectToServiceErrorCallback&

1234