Lines Matching refs:device
15 namespace device {
23 // BluetoothDevice represents a remote Bluetooth device, both its properties and
25 // performed on the remove device such as pairing, connection and disconnection.
29 // instead use the GetAddress() method as a unique key for a device.
37 // different types of bluetooth device that we support or are aware of
83 // PIN Code for authentication of the device |device|, the delegate should
84 // obtain the code from the user and call SetPinCode() on the device to
90 virtual void RequestPinCode(BluetoothDevice* device) = 0;
93 // Passkey for authentication of the device |device|, the delegate should
95 // call SetPasskey() on the device to provide it, or RejectPairing() or
101 virtual void RequestPasskey(BluetoothDevice* device) = 0;
104 // user enter the PIN code |pincode| into the device |device| so that it
112 virtual void DisplayPinCode(BluetoothDevice* device,
116 // user enter the Passkey |passkey| into the device |device| so that it
124 virtual void DisplayPasskey(BluetoothDevice* device,
128 // of a key entered on the device |device| while pairing with the device
135 // some device may not support this feature.
139 // |entered| as 0 will be sent when the device supports this feature.
140 virtual void KeysEntered(BluetoothDevice* device,
145 // of the device |device| so that it may be authenticated. The delegate
147 // ConfirmPairing() on the device to confirm, RejectPairing() on the device
148 // to reject or CancelPairing() on the device to cancel authentication
155 virtual void ConfirmPasskey(BluetoothDevice* device,
170 // Returns the Bluetooth class of the device, used by GetDeviceType()
174 // Returns the Bluetooth of address the device. This should be used as
175 // a unique key to identify the device and copied where needed.
178 // Returns the Vendor ID of the device, where available.
181 // Returns the Product ID of the device, where available.
184 // Returns the Device ID of the device, typically the release or version
188 // Returns the name of the device suitable for displaying, this may
190 // if the device has no obtained name.
193 // Returns the type of the device, limited to those we support or are
199 // Indicates whether the device is known to support pairing based on its
200 // device class and address.
203 // Indicates whether the device is paired with the adapter.
206 // Indicates whether the device is currently connected to the adapter.
207 // Note that if IsConnected() is true, does not imply that the device is
208 // connected to any application or service. If the device is not paired, it
214 // Indicates whether the paired device accepts connections initiated from the
223 // Returns the services (as UUID strings) that this device provides.
237 // Returns the services (as BluetoothServiceRecord objects) that this device
244 // Indicates whether this device provides the given service.
251 // Indicates whether this device provides the given service.
256 // Indicates whether the device is currently pairing and expecting a
260 // Indicates whether the device is currently pairing and expecting a
264 // Indicates whether the device is currently pairing and expecting
274 // Initiates a connection to the device, pairing first if necessary.
278 // back to the device object. Not all devices require user responses
281 // pass NULL, though this is ignored if the device is already paired.
292 // Sends the PIN code |pincode| to the remote device during pairing.
298 // Sends the Passkey |passkey| to the remote device during pairing.
305 // Confirms to the remote device during pairing that a passkey provided by
309 // Rejects a pairing or connection request from a remote device.
312 // Cancels a pairing or connection attempt to a remote device or release
316 // Disconnects the device, terminating the low-level ACL connection
318 // information are not discarded, and the device object is not deleted.
324 // Disconnects the device, terminating the low-level ACL connection
326 // and other pairing information. The device object remains valid until
333 // Attempts to open a socket to a service matching |uuid| on this device. If
338 // BluetoothAdapter for this device.
342 // Attempts to initiate an outgoing connection to this device for the profile
350 // Sets the Out Of Band pairing data for this device to |data|. Exactly one
357 // Clears the Out Of Band pairing data for this device. Exactly one of
366 // Returns the internal name of the Bluetooth device, used by GetName().
370 // Returns a localized string containing the device's bluetooth address and
371 // a device type for display when |name_| is empty.
375 } // namespace device