/external/chromium_org/device/bluetooth/test/ |
D | mock_bluetooth_device.h | 19 class MockBluetoothDevice : public BluetoothDevice { 36 MOCK_CONST_METHOD0(GetDeviceType, BluetoothDevice::DeviceType()); 43 void(const BluetoothDevice::ServiceRecordsCallback&, 44 const BluetoothDevice::ErrorCallback&)); 48 const BluetoothDevice::ProvidesServiceCallback&)); 53 void(BluetoothDevice::PairingDelegate* pairing_delegate, 55 const BluetoothDevice::ConnectErrorCallback& 64 const BluetoothDevice::ErrorCallback& error_callback)); 65 MOCK_METHOD1(Forget, void(const BluetoothDevice::ErrorCallback&)); 68 const BluetoothDevice::SocketCallback&)); [all …]
|
D | mock_bluetooth_adapter.h | 27 MOCK_METHOD2(DeviceAdded, void(BluetoothAdapter*, BluetoothDevice*)); 28 MOCK_METHOD2(DeviceChanged, void(BluetoothAdapter*, BluetoothDevice*)); 29 MOCK_METHOD2(DeviceRemoved, void(BluetoothAdapter*, BluetoothDevice*)); 53 MOCK_METHOD1(GetDevice, BluetoothDevice*(const std::string& address)); 55 const BluetoothDevice*(const std::string& address));
|
/external/chromium_org/device/bluetooth/ |
D | bluetooth_device.cc | 17 bool BluetoothDevice::IsUUIDValid(const std::string& uuid) { in IsUUIDValid() 21 BluetoothDevice::BluetoothDevice() { in BluetoothDevice() function in device::BluetoothDevice 24 BluetoothDevice::~BluetoothDevice() { in ~BluetoothDevice() 27 string16 BluetoothDevice::GetName() const { in GetName() 36 string16 BluetoothDevice::GetAddressWithLocalizedDeviceTypeName() const { in GetAddressWithLocalizedDeviceTypeName() 38 BluetoothDevice::DeviceType device_type = GetDeviceType(); in GetAddressWithLocalizedDeviceTypeName() 82 BluetoothDevice::DeviceType BluetoothDevice::GetDeviceType() const { in GetDeviceType() 161 bool BluetoothDevice::IsPairable() const { in IsPairable() 177 bool BluetoothDevice::ProvidesServiceWithUUID( in ProvidesServiceWithUUID() 180 BluetoothDevice::ServiceList services = GetServices(); in ProvidesServiceWithUUID() [all …]
|
D | bluetooth_adapter.h | 17 class BluetoothDevice; variable 56 BluetoothDevice* device) {} in DeviceAdded() 62 BluetoothDevice* device) {} in DeviceChanged() 68 BluetoothDevice* device) {} in DeviceRemoved() 139 typedef std::vector<BluetoothDevice*> DeviceList; 141 typedef std::vector<const BluetoothDevice*> ConstDeviceList; 146 virtual BluetoothDevice* GetDevice(const std::string& address); 147 virtual const BluetoothDevice* GetDevice( 164 typedef std::map<const std::string, BluetoothDevice*> DevicesMap;
|
D | bluetooth_device.h | 34 class BluetoothDevice { 90 virtual void RequestPinCode(BluetoothDevice* device) = 0; 101 virtual void RequestPasskey(BluetoothDevice* device) = 0; 112 virtual void DisplayPinCode(BluetoothDevice* device, 124 virtual void DisplayPasskey(BluetoothDevice* device, 140 virtual void KeysEntered(BluetoothDevice* device, 155 virtual void ConfirmPasskey(BluetoothDevice* device, 168 virtual ~BluetoothDevice(); 364 BluetoothDevice();
|
D | bluetooth_chromeos_unittest.cc | 22 using device::BluetoothDevice; 68 BluetoothDevice* device) OVERRIDE { in DeviceAdded() 79 BluetoothDevice* device) OVERRIDE { in DeviceChanged() 90 BluetoothDevice* device) OVERRIDE { in DeviceRemoved() 109 BluetoothDevice* last_device_; 124 class TestPairingDelegate : public BluetoothDevice::PairingDelegate { 139 virtual void RequestPinCode(BluetoothDevice* device) OVERRIDE { in RequestPinCode() 145 virtual void RequestPasskey(BluetoothDevice* device) OVERRIDE { in RequestPasskey() 151 virtual void DisplayPinCode(BluetoothDevice* device, in DisplayPinCode() 159 virtual void DisplayPasskey(BluetoothDevice* device, in DisplayPasskey() [all …]
|
D | bluetooth_device_win_unittest.cc | 67 const BluetoothDevice::ServiceRecordList& service_record_list) { in GetServiceRecords() 80 scoped_ptr<BluetoothDevice> device_; 81 scoped_ptr<BluetoothDevice> empty_device_; 82 const BluetoothDevice::ServiceRecordList* service_records_; 88 BluetoothDevice::ServiceList service_list = device_->GetServices(); in TEST_F() 99 BluetoothDevice::ErrorCallback()); in TEST_F()
|
D | bluetooth_adapter.cc | 26 devices.push_back(const_cast<BluetoothDevice *>(*i)); in GetDevices() 41 BluetoothDevice* BluetoothAdapter::GetDevice(const std::string& address) { in GetDevice() 42 return const_cast<BluetoothDevice *>( in GetDevice() 46 const BluetoothDevice* BluetoothAdapter::GetDevice( in GetDevice()
|
D | bluetooth_profile.h | 15 class BluetoothDevice; variable 98 const BluetoothDevice*,
|
D | bluetooth_device_chromeos.cc | 23 using device::BluetoothDevice; 93 void RecordPairingResult(BluetoothDevice::ConnectErrorCode error_code) { in RecordPairingResult() 96 case BluetoothDevice::ERROR_INPROGRESS: in RecordPairingResult() 99 case BluetoothDevice::ERROR_FAILED: in RecordPairingResult() 102 case BluetoothDevice::ERROR_AUTH_FAILED: in RecordPairingResult() 105 case BluetoothDevice::ERROR_AUTH_CANCELED: in RecordPairingResult() 108 case BluetoothDevice::ERROR_AUTH_REJECTED: in RecordPairingResult() 111 case BluetoothDevice::ERROR_AUTH_TIMEOUT: in RecordPairingResult() 114 case BluetoothDevice::ERROR_UNSUPPORTED_DEVICE: in RecordPairingResult() 263 BluetoothDevice::PairingDelegate* pairing_delegate, in Connect()
|
D | bluetooth_profile_chromeos_unittest.cc | 25 using device::BluetoothDevice; 95 void ConnectionCallback(const BluetoothDevice *device, in ConnectionCallback() 115 const BluetoothDevice* last_device_; 147 BluetoothDevice* device = adapter_->GetDevice( in TEST_F() 273 BluetoothDevice* device = adapter_->GetDevice( in TEST_F()
|
D | bluetooth_device_win.cc | 29 : BluetoothDevice() { in BluetoothDeviceWin() 102 BluetoothDevice::ServiceList BluetoothDeviceWin::GetServices() const { in GetServices()
|
/external/chromium_org/chrome/browser/ui/webui/options/chromeos/ |
D | bluetooth_options_handler.h | 29 public device::BluetoothDevice::PairingDelegate { 46 void SendDeviceNotification(const device::BluetoothDevice* device, 57 virtual void RequestPinCode(device::BluetoothDevice* device) OVERRIDE; 69 virtual void RequestPasskey(device::BluetoothDevice* device) OVERRIDE; 81 virtual void DisplayPinCode(device::BluetoothDevice* device, 96 device::BluetoothDevice* device, uint32 passkey) OVERRIDE; 111 virtual void KeysEntered(device::BluetoothDevice* device, 126 device::BluetoothDevice* device, uint32 passkey) OVERRIDE; 147 device::BluetoothDevice* device) OVERRIDE; 149 device::BluetoothDevice* device) OVERRIDE; [all …]
|
D | bluetooth_options_handler.cc | 257 device::BluetoothDevice* device = adapter_->GetDevice(address); in UpdateDeviceCallback() 353 device::BluetoothDevice::ConnectErrorCode error_code) { in ConnectError() 362 case device::BluetoothDevice::ERROR_UNKNOWN: in ConnectError() 365 case device::BluetoothDevice::ERROR_INPROGRESS: in ConnectError() 368 case device::BluetoothDevice::ERROR_FAILED: in ConnectError() 371 case device::BluetoothDevice::ERROR_AUTH_FAILED: in ConnectError() 374 case device::BluetoothDevice::ERROR_AUTH_CANCELED: in ConnectError() 377 case device::BluetoothDevice::ERROR_AUTH_REJECTED: in ConnectError() 380 case device::BluetoothDevice::ERROR_AUTH_TIMEOUT: in ConnectError() 383 case device::BluetoothDevice::ERROR_UNSUPPORTED_DEVICE: in ConnectError() [all …]
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
D | ShadowBluetoothAdapter.java | 4 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()
|
D | ShadowBluetoothDevice.java | 3 import android.bluetooth.BluetoothDevice; 7 @Implements(BluetoothDevice.class)
|
/external/chromium_org/chrome/browser/extensions/api/bluetooth/ |
D | bluetooth_api.cc | 31 using device::BluetoothDevice; 123 if (!BluetoothDevice::IsUUIDValid(params->profile.uuid)) { in RunImpl() 205 if (!BluetoothDevice::IsUUIDValid(params->profile.uuid)) { in RunImpl() 229 BluetoothDevice* device = adapter->GetDevice(options.device.address); in DoWork() 236 BluetoothDevice::ServiceList service_list = device->GetServices(); in DoWork() 239 for (BluetoothDevice::ServiceList::const_iterator iter = service_list.begin(); in DoWork() 266 const BluetoothDevice& device) { in DispatchDeviceSearchResult() 302 if (!BluetoothDevice::IsUUIDValid(uuid)) { in DoWork() 313 const BluetoothDevice* device = *iter; in DoWork() 326 const BluetoothDevice::ServiceRecordList& records) { in GetServiceRecordsCallback() [all …]
|
D | bluetooth_event_router.h | 22 class BluetoothDevice; variable 95 const device::BluetoothDevice* device, 106 device::BluetoothDevice* device) OVERRIDE;
|
D | bluetooth_api.h | 22 class BluetoothDevice; variable 126 void DispatchDeviceSearchResult(const device::BluetoothDevice& device); 145 const device::BluetoothDevice::ServiceRecordList& records);
|
D | bluetooth_api_utils.h | 19 const device::BluetoothDevice& device,
|
D | bluetooth_api_utils.cc | 17 void BluetoothDeviceToApiDevice(const device::BluetoothDevice& device, in BluetoothDeviceToApiDevice()
|
/external/chromium_org/chrome/browser/chromeos/power/ |
D | peripheral_battery_observer.h | 20 class BluetoothDevice; variable 43 device::BluetoothDevice* device) OVERRIDE; 45 device::BluetoothDevice* device) OVERRIDE;
|
D | peripheral_battery_observer.cc | 170 device::BluetoothDevice* device) { in DeviceChanged() 176 device::BluetoothDevice* device) { in DeviceRemoved()
|
/external/chromium_org/chrome/browser/metrics/ |
D | metrics_log.cc | 348 enum device::BluetoothDevice::DeviceType device_type) { in AsBluetoothDeviceType() 350 case device::BluetoothDevice::DEVICE_UNKNOWN: in AsBluetoothDeviceType() 352 case device::BluetoothDevice::DEVICE_COMPUTER: in AsBluetoothDeviceType() 354 case device::BluetoothDevice::DEVICE_PHONE: in AsBluetoothDeviceType() 356 case device::BluetoothDevice::DEVICE_MODEM: in AsBluetoothDeviceType() 358 case device::BluetoothDevice::DEVICE_AUDIO: in AsBluetoothDeviceType() 360 case device::BluetoothDevice::DEVICE_CAR_AUDIO: in AsBluetoothDeviceType() 362 case device::BluetoothDevice::DEVICE_VIDEO: in AsBluetoothDeviceType() 364 case device::BluetoothDevice::DEVICE_PERIPHERAL: in AsBluetoothDeviceType() 366 case device::BluetoothDevice::DEVICE_JOYSTICK: in AsBluetoothDeviceType() [all …]
|
/external/chromium_org/chrome/browser/chromeos/bluetooth/ |
D | bluetooth_pairing_dialog.h | 16 class BluetoothDevice; variable 25 const device::BluetoothDevice* device);
|