HomeSort by relevance Sort by last modified time
    Searched refs:BluetoothDevice (Results 1 - 25 of 167) sorted by null

1 2 3 4 5 6 7

  /frameworks/base/core/java/android/bluetooth/
BluetoothDevice.aidl 19 parcelable BluetoothDevice;
IBluetoothPbap.aidl 19 import android.bluetooth.BluetoothDevice;
28 BluetoothDevice getClient();
29 boolean connect(in BluetoothDevice device);
31 boolean isConnected(in BluetoothDevice device);
IBluetoothInputDevice.aidl 19 import android.bluetooth.BluetoothDevice;
28 boolean connect(in BluetoothDevice device);
29 boolean disconnect(in BluetoothDevice device);
30 List<BluetoothDevice> getConnectedDevices();
31 List<BluetoothDevice> getDevicesMatchingConnectionStates(in int[] states);
32 int getConnectionState(in BluetoothDevice device);
33 boolean setPriority(in BluetoothDevice device, int priority);
34 int getPriority(in BluetoothDevice device);
38 boolean getProtocolMode(in BluetoothDevice device);
42 boolean virtualUnplug(in BluetoothDevice device)
    [all...]
IBluetoothHeadset.aidl 19 import android.bluetooth.BluetoothDevice;
28 boolean connect(in BluetoothDevice device);
29 boolean disconnect(in BluetoothDevice device);
30 List<BluetoothDevice> getConnectedDevices();
31 List<BluetoothDevice> getDevicesMatchingConnectionStates(in int[] states);
32 int getConnectionState(in BluetoothDevice device);
33 boolean setPriority(in BluetoothDevice device, int priority);
34 int getPriority(in BluetoothDevice device);
35 boolean startVoiceRecognition(in BluetoothDevice device);
36 boolean stopVoiceRecognition(in BluetoothDevice device)
    [all...]
IBluetoothMap.aidl 19 import android.bluetooth.BluetoothDevice;
28 BluetoothDevice getClient();
29 boolean connect(in BluetoothDevice device);
30 boolean disconnect(in BluetoothDevice device);
31 boolean isConnected(in BluetoothDevice device);
32 List<BluetoothDevice> getConnectedDevices();
33 List<BluetoothDevice> getDevicesMatchingConnectionStates(in int[] states);
34 int getConnectionState(in BluetoothDevice device);
35 boolean setPriority(in BluetoothDevice device, int priority);
36 int getPriority(in BluetoothDevice device)
    [all...]
IBluetoothPan.aidl 19 import android.bluetooth.BluetoothDevice;
30 boolean connect(in BluetoothDevice device);
31 boolean disconnect(in BluetoothDevice device);
32 List<BluetoothDevice> getConnectedDevices();
33 List<BluetoothDevice> getDevicesMatchingConnectionStates(in int[] states);
34 int getConnectionState(in BluetoothDevice device);
IBluetoothA2dp.aidl 19 import android.bluetooth.BluetoothDevice;
28 boolean connect(in BluetoothDevice device);
29 boolean disconnect(in BluetoothDevice device);
30 List<BluetoothDevice> getConnectedDevices();
31 List<BluetoothDevice> getDevicesMatchingConnectionStates(in int[] states);
32 int getConnectionState(in BluetoothDevice device);
33 boolean setPriority(in BluetoothDevice device, int priority);
34 int getPriority(in BluetoothDevice device);
38 boolean isA2dpPlaying(in BluetoothDevice device);
IBluetooth.aidl 21 import android.bluetooth.BluetoothDevice;
56 BluetoothDevice[] getBondedDevices();
57 boolean createBond(in BluetoothDevice device);
58 boolean cancelBondProcess(in BluetoothDevice device);
59 boolean removeBond(in BluetoothDevice device);
60 int getBondState(in BluetoothDevice device);
62 String getRemoteName(in BluetoothDevice device);
63 int getRemoteType(in BluetoothDevice device);
64 String getRemoteAlias(in BluetoothDevice device);
65 boolean setRemoteAlias(in BluetoothDevice device, in String name)
    [all...]
IBluetoothHealth.aidl 19 import android.bluetooth.BluetoothDevice;
34 boolean connectChannelToSource(in BluetoothDevice device, in BluetoothHealthAppConfiguration config);
35 boolean connectChannelToSink(in BluetoothDevice device, in BluetoothHealthAppConfiguration config,
37 boolean disconnectChannel(in BluetoothDevice device, in BluetoothHealthAppConfiguration config, int id);
38 ParcelFileDescriptor getMainChannelFd(in BluetoothDevice device, in BluetoothHealthAppConfiguration config);
39 List<BluetoothDevice> getConnectedHealthDevices();
40 List<BluetoothDevice> getHealthDevicesMatchingConnectionStates(in int[] states);
41 int getHealthDeviceConnectionState(in BluetoothDevice device);
BluetoothGattServerCallback.java 19 import android.bluetooth.BluetoothDevice;
37 public void onConnectionStateChange(BluetoothDevice device, int status,
62 public void onCharacteristicReadRequest(BluetoothDevice device, int requestId,
81 public void onCharacteristicWriteRequest(BluetoothDevice device, int requestId,
98 public void onDescriptorReadRequest(BluetoothDevice device, int requestId,
117 public void onDescriptorWriteRequest(BluetoothDevice device, int requestId,
134 public void onExecuteWrite(BluetoothDevice device, int requestId, boolean execute) {
BluetoothProfile.java 142 public List<BluetoothDevice> getConnectedDevices();
158 public List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states);
170 public int getConnectionState(BluetoothDevice device);
  /packages/apps/Settings/src/com/android/settings/bluetooth/
LocalBluetoothProfile.java 20 import android.bluetooth.BluetoothDevice;
38 boolean connect(BluetoothDevice device);
40 boolean disconnect(BluetoothDevice device);
42 int getConnectionStatus(BluetoothDevice device);
44 boolean isPreferred(BluetoothDevice device);
46 int getPreferred(BluetoothDevice device);
48 void setPreferred(BluetoothDevice device, boolean preferred);
59 int getNameResource(BluetoothDevice device);
68 int getSummaryResourceForDevice(BluetoothDevice device);
OppProfile.java 22 import android.bluetooth.BluetoothDevice;
43 public boolean connect(BluetoothDevice device) {
47 public boolean disconnect(BluetoothDevice device) {
51 public int getConnectionStatus(BluetoothDevice device) {
55 public boolean isPreferred(BluetoothDevice device) {
59 public int getPreferred(BluetoothDevice device) {
63 public void setPreferred(BluetoothDevice device, boolean preferred) {
78 public int getNameResource(BluetoothDevice device) {
82 public int getSummaryResourceForDevice(BluetoothDevice device) {
BluetoothPermissionRequest.java 22 import android.bluetooth.BluetoothDevice;
47 BluetoothDevice mDevice;
58 if (action.equals(BluetoothDevice.ACTION_CONNECTION_ACCESS_REQUEST)) {
60 mDevice = intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE);
61 mRequestType = intent.getIntExtra(BluetoothDevice.EXTRA_ACCESS_REQUEST_TYPE,
62 BluetoothDevice.REQUEST_TYPE_PROFILE_CONNECTION);
63 mReturnPackage = intent.getStringExtra(BluetoothDevice.EXTRA_PACKAGE_NAME);
64 mReturnClass = intent.getStringExtra(BluetoothDevice.EXTRA_CLASS_NAME);
83 connectionAccessIntent.putExtra(BluetoothDevice.EXTRA_ACCESS_REQUEST_TYPE,
85 connectionAccessIntent.putExtra(BluetoothDevice.EXTRA_DEVICE, mDevice)
    [all...]
BluetoothPairingDialog.java 19 import android.bluetooth.BluetoothDevice;
58 private BluetoothDevice mDevice;
72 if (BluetoothDevice.ACTION_BOND_STATE_CHANGED.equals(action)) {
73 int bondState = intent.getIntExtra(BluetoothDevice.EXTRA_BOND_STATE,
74 BluetoothDevice.ERROR);
75 if (bondState == BluetoothDevice.BOND_BONDED ||
76 bondState == BluetoothDevice.BOND_NONE) {
79 } else if (BluetoothDevice.ACTION_PAIRING_CANCEL.equals(action)) {
80 BluetoothDevice device = intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE)
    [all...]
PbapServerProfile.java 21 import android.bluetooth.BluetoothDevice;
79 public boolean connect(BluetoothDevice device) {
85 public boolean disconnect(BluetoothDevice device) {
90 public int getConnectionStatus(BluetoothDevice device) {
100 public boolean isPreferred(BluetoothDevice device) {
104 public int getPreferred(BluetoothDevice device) {
108 public void setPreferred(BluetoothDevice device, boolean preferred) {
120 public int getNameResource(BluetoothDevice device) {
124 public int getSummaryResourceForDevice(BluetoothDevice device) {
BluetoothPairingRequest.java 24 import android.bluetooth.BluetoothDevice;
45 if (action.equals(BluetoothDevice.ACTION_PAIRING_REQUEST)) {
47 BluetoothDevice device =
48 intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE);
49 int type = intent.getIntExtra(BluetoothDevice.EXTRA_PAIRING_VARIANT,
50 BluetoothDevice.ERROR);
53 pairingIntent.putExtra(BluetoothDevice.EXTRA_DEVICE, device);
54 pairingIntent.putExtra(BluetoothDevice.EXTRA_PAIRING_VARIANT, type);
55 if (type == BluetoothDevice.PAIRING_VARIANT_PASSKEY_CONFIRMATION ||
56 type == BluetoothDevice.PAIRING_VARIANT_DISPLAY_PASSKEY |
    [all...]
  /external/chromium_org/device/bluetooth/test/
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...]
  /external/chromium_org/device/bluetooth/
bluetooth_adapter.h 17 class BluetoothDevice;
56 BluetoothDevice* device) {}
62 BluetoothDevice* device) {}
68 BluetoothDevice* device) {}
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(
162 // is the BluetoothDevice object whose lifetime is managed by the
164 typedef std::map<const std::string, BluetoothDevice*> DevicesMap
    [all...]
bluetooth_device.cc 17 bool BluetoothDevice::IsUUIDValid(const std::string& uuid) {
21 BluetoothDevice::BluetoothDevice() {
24 BluetoothDevice::~BluetoothDevice() {
27 string16 BluetoothDevice::GetName() const {
36 string16 BluetoothDevice::GetAddressWithLocalizedDeviceTypeName() const {
38 BluetoothDevice::DeviceType device_type = GetDeviceType();
82 BluetoothDevice::DeviceType BluetoothDevice::GetDeviceType() const
    [all...]
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowBluetoothDevice.java 3 import android.bluetooth.BluetoothDevice;
7 @Implements(BluetoothDevice.class)
ShadowBluetoothAdapter.java 4 import android.bluetooth.BluetoothDevice;
19 private Set<BluetoothDevice> bondedDevices = new HashSet<BluetoothDevice>();
28 public Set<BluetoothDevice> getBondedDevices() {
32 public void setBondedDevices(Set<BluetoothDevice> bluetoothDevices) {
  /packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
BondStateMachine.java 21 import android.bluetooth.BluetoothDevice;
106 BluetoothDevice dev = (BluetoothDevice)msg.obj;
119 if (newState == BluetoothDevice.BOND_BONDING)
141 private final ArrayList<BluetoothDevice> mDevices =
142 new ArrayList<BluetoothDevice>();
147 BluetoothDevice dev = (BluetoothDevice)getCurrentMessage().obj;
153 BluetoothDevice dev = (BluetoothDevice)msg.obj
    [all...]
RemoteDevices.java 21 import android.bluetooth.BluetoothDevice;
44 private static ArrayList<BluetoothDevice> mSdpTracker;
51 private HashMap<BluetoothDevice, DeviceProperties> mDevices;
56 mSdpTracker = new ArrayList<BluetoothDevice>();
57 mDevices = new HashMap<BluetoothDevice, DeviceProperties>();
73 DeviceProperties getDeviceProperties(BluetoothDevice device) {
79 BluetoothDevice getDevice(byte[] address) {
80 for (BluetoothDevice dev : mDevices.keySet()) {
91 BluetoothDevice device =
110 mBondState = BluetoothDevice.BOND_NONE
    [all...]
  /external/chromium_org/chrome/browser/ui/webui/options/chromeos/
bluetooth_options_handler.h 29 public device::BluetoothDevice::PairingDelegate {
46 void SendDeviceNotification(const device::BluetoothDevice* device,
49 // device::BluetoothDevice::PairingDelegate override.
57 virtual void RequestPinCode(device::BluetoothDevice* device) OVERRIDE;
59 // device::BluetoothDevice::PairingDelegate override.
69 virtual void RequestPasskey(device::BluetoothDevice* device) OVERRIDE;
71 // device::BluetoothDevice::PairingDelegate override.
81 virtual void DisplayPinCode(device::BluetoothDevice* device,
84 // device::BluetoothDevice::PairingDelegate override.
96 device::BluetoothDevice* device, uint32 passkey) OVERRIDE
    [all...]

Completed in 263 milliseconds

1 2 3 4 5 6 7