HomeSort by relevance Sort by last modified time
    Searched full:bluetoothdevice (Results 1 - 25 of 232) sorted by null

1 2 3 4 5 6 7 8 910

  /frameworks/base/core/java/android/bluetooth/
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...]
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...]
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);
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);
IBluetoothPbap.aidl 19 import android.bluetooth.BluetoothDevice;
28 BluetoothDevice getClient();
29 boolean connect(in BluetoothDevice device);
31 boolean isConnected(in BluetoothDevice device);
  /packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
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...]
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...]
  /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) {
  /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...]
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));
  /packages/apps/Settings/src/com/android/settings/bluetooth/
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...]
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) {
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...]
BluetoothPermissionActivity.java 19 import android.bluetooth.BluetoothDevice;
54 private BluetoothDevice mDevice;
63 if (action.equals(BluetoothDevice.ACTION_CONNECTION_ACCESS_CANCEL)) {
64 int requestType = intent.getIntExtra(BluetoothDevice.EXTRA_ACCESS_REQUEST_TYPE,
65 BluetoothDevice.REQUEST_TYPE_PHONEBOOK_ACCESS);
67 BluetoothDevice device = intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE);
84 if (!action.equals(BluetoothDevice.ACTION_CONNECTION_ACCESS_REQUEST)) {
91 mDevice = i.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE);
92 mReturnPackage = i.getStringExtra(BluetoothDevice.EXTRA_PACKAGE_NAME)
    [all...]
BluetoothEventManager.java 23 import android.bluetooth.BluetoothDevice;
56 void onReceive(Context context, Intent intent, BluetoothDevice device);
89 addHandler(BluetoothDevice.ACTION_FOUND, new DeviceFoundHandler());
90 addHandler(BluetoothDevice.ACTION_DISAPPEARED, new DeviceDisappearedHandler());
91 addHandler(BluetoothDevice.ACTION_NAME_CHANGED, new NameChangedHandler());
94 addHandler(BluetoothDevice.ACTION_BOND_STATE_CHANGED, new BondStateChangedHandler());
95 addHandler(BluetoothDevice.ACTION_PAIRING_CANCEL, new PairingCancelHandler());
98 addHandler(BluetoothDevice.ACTION_CLASS_CHANGED, new ClassChangedHandler());
99 addHandler(BluetoothDevice.ACTION_UUID, new UuidChangedHandler());
132 BluetoothDevice device = i.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE)
    [all...]
PanProfile.java 21 import android.bluetooth.BluetoothDevice;
43 private final HashMap<BluetoothDevice, Integer> mDeviceRoleMap =
44 new HashMap<BluetoothDevice, Integer>();
85 public boolean connect(BluetoothDevice device) {
87 List<BluetoothDevice> sinks = mService.getConnectedDevices();
89 for (BluetoothDevice sink : sinks) {
96 public boolean disconnect(BluetoothDevice device) {
101 public int getConnectionStatus(BluetoothDevice device) {
108 public boolean isPreferred(BluetoothDevice device) {
113 public int getPreferred(BluetoothDevice 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) {
  /packages/apps/Bluetooth/src/com/android/bluetooth/hid/
HidService.java 19 import android.bluetooth.BluetoothDevice;
53 private Map<BluetoothDevice, Integer> mInputDevices;
56 private BluetoothDevice mTargetDevice = null;
84 mInputDevices = Collections.synchronizedMap(new HashMap<BluetoothDevice, Integer>());
151 BluetoothDevice device = (BluetoothDevice) msg.obj;
162 BluetoothDevice device = (BluetoothDevice) msg.obj;
172 BluetoothDevice device = getDevice((byte[]) msg.obj);
199 BluetoothDevice device = (BluetoothDevice) msg.obj
    [all...]
  /packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/
A2dpService.java 19 import android.bluetooth.BluetoothDevice;
114 public boolean connect(BluetoothDevice device) {
132 boolean disconnect(BluetoothDevice device) {
145 public List<BluetoothDevice> getConnectedDevices() {
150 List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) {
155 int getConnectionState(BluetoothDevice device) {
160 public boolean setPriority(BluetoothDevice device, int priority) {
170 public int getPriority(BluetoothDevice device) {
192 synchronized boolean isA2dpPlaying(BluetoothDevice device) {
225 public boolean connect(BluetoothDevice device)
    [all...]

Completed in 752 milliseconds

1 2 3 4 5 6 7 8 910