Home
last modified time | relevance | path

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

12345

/frameworks/base/core/java/android/bluetooth/
DIBluetoothHeadsetClient.aidl19 import android.bluetooth.BluetoothDevice;
29 boolean connect(in BluetoothDevice device); in connect()
30 boolean disconnect(in BluetoothDevice device); in disconnect()
32 List<BluetoothDevice> getConnectedDevices(); in getConnectedDevices()
33 List<BluetoothDevice> getDevicesMatchingConnectionStates(in int[] states); in getDevicesMatchingConnectionStates()
34 int getConnectionState(in BluetoothDevice device); in getConnectionState()
35 boolean setPriority(in BluetoothDevice device, int priority); in setPriority()
36 int getPriority(in BluetoothDevice device); in getPriority()
38 boolean startVoiceRecognition(in BluetoothDevice device); in startVoiceRecognition()
39 boolean stopVoiceRecognition(in BluetoothDevice device); in stopVoiceRecognition()
[all …]
DIBluetooth.aidl22 import android.bluetooth.BluetoothDevice;
60 BluetoothDevice[] getBondedDevices(); in getBondedDevices()
61 boolean createBond(in BluetoothDevice device, in int transport); in createBond()
62 boolean createBondOutOfBand(in BluetoothDevice device, in int transport, in OobData oobData); in createBondOutOfBand()
63 boolean cancelBondProcess(in BluetoothDevice device); in cancelBondProcess()
64 boolean removeBond(in BluetoothDevice device); in removeBond()
65 int getBondState(in BluetoothDevice device); in getBondState()
66 boolean isBondingInitiatedLocally(in BluetoothDevice device); in isBondingInitiatedLocally()
68 int getConnectionState(in BluetoothDevice device); in getConnectionState()
70 String getRemoteName(in BluetoothDevice device); in getRemoteName()
[all …]
DIBluetoothHeadset.aidl19 import android.bluetooth.BluetoothDevice;
28 boolean connect(in BluetoothDevice device); in connect()
29 boolean disconnect(in BluetoothDevice device); in disconnect()
30 List<BluetoothDevice> getConnectedDevices(); in getConnectedDevices()
31 List<BluetoothDevice> getDevicesMatchingConnectionStates(in int[] states); in getDevicesMatchingConnectionStates()
32 int getConnectionState(in BluetoothDevice device); in getConnectionState()
33 boolean setPriority(in BluetoothDevice device, int priority); in setPriority()
34 int getPriority(in BluetoothDevice device); in getPriority()
35 boolean startVoiceRecognition(in BluetoothDevice device); in startVoiceRecognition()
36 boolean stopVoiceRecognition(in BluetoothDevice device); in stopVoiceRecognition()
[all …]
DIBluetoothInputDevice.aidl19 import android.bluetooth.BluetoothDevice;
28 boolean connect(in BluetoothDevice device); in connect()
29 boolean disconnect(in BluetoothDevice device); in disconnect()
30 List<BluetoothDevice> getConnectedDevices(); in getConnectedDevices()
31 List<BluetoothDevice> getDevicesMatchingConnectionStates(in int[] states); in getDevicesMatchingConnectionStates()
32 int getConnectionState(in BluetoothDevice device); in getConnectionState()
33 boolean setPriority(in BluetoothDevice device, int priority); in setPriority()
34 int getPriority(in BluetoothDevice device); in getPriority()
38 boolean getProtocolMode(in BluetoothDevice device); in getProtocolMode()
42 boolean virtualUnplug(in BluetoothDevice device); in virtualUnplug()
[all …]
DIBluetoothA2dp.aidl21 import android.bluetooth.BluetoothDevice;
30 boolean connect(in BluetoothDevice device); in connect()
31 boolean disconnect(in BluetoothDevice device); in disconnect()
32 List<BluetoothDevice> getConnectedDevices(); in getConnectedDevices()
33 List<BluetoothDevice> getDevicesMatchingConnectionStates(in int[] states); in getDevicesMatchingConnectionStates()
34 int getConnectionState(in BluetoothDevice device); in getConnectionState()
35 boolean setPriority(in BluetoothDevice device, int priority); in setPriority()
36 int getPriority(in BluetoothDevice device); in getPriority()
40 boolean isA2dpPlaying(in BluetoothDevice device); in isA2dpPlaying()
45 int supportsOptionalCodecs(in BluetoothDevice device); in supportsOptionalCodecs()
[all …]
DBluetoothGattServerCallback.java19 import android.bluetooth.BluetoothDevice;
35 public void onConnectionStateChange(BluetoothDevice device, int status, in onConnectionStateChange()
60 public void onCharacteristicReadRequest(BluetoothDevice device, int requestId, in onCharacteristicReadRequest()
79 public void onCharacteristicWriteRequest(BluetoothDevice device, int requestId, in onCharacteristicWriteRequest()
96 public void onDescriptorReadRequest(BluetoothDevice device, int requestId, in onDescriptorReadRequest()
115 public void onDescriptorWriteRequest(BluetoothDevice device, int requestId, in onDescriptorWriteRequest()
132 public void onExecuteWrite(BluetoothDevice device, int requestId, boolean execute) { in onExecuteWrite()
146 public void onNotificationSent(BluetoothDevice device, int status) { in onNotificationSent()
158 public void onMtuChanged(BluetoothDevice device, int mtu) { in onMtuChanged()
173 public void onPhyUpdate(BluetoothDevice device, int txPhy, int rxPhy, int status) { in onPhyUpdate()
[all …]
DIBluetoothMapClient.aidl20 import android.bluetooth.BluetoothDevice;
29 boolean connect(in BluetoothDevice device); in connect()
30 boolean disconnect(in BluetoothDevice device); in disconnect()
31 boolean isConnected(in BluetoothDevice device); in isConnected()
32 List<BluetoothDevice> getConnectedDevices(); in getConnectedDevices()
33 List<BluetoothDevice> getDevicesMatchingConnectionStates(in int[] states); in getDevicesMatchingConnectionStates()
34 int getConnectionState(in BluetoothDevice device); in getConnectionState()
35 boolean setPriority(in BluetoothDevice device,in int priority); in setPriority()
36 int getPriority(in BluetoothDevice device); in getPriority()
37 boolean sendMessage(in BluetoothDevice device, in Uri[] contacts, in String message, in sendMessage()
[all …]
DIBluetoothSap.aidl19 import android.bluetooth.BluetoothDevice;
28 BluetoothDevice getClient(); in getClient()
29 boolean connect(in BluetoothDevice device); in connect()
30 boolean disconnect(in BluetoothDevice device); in disconnect()
31 boolean isConnected(in BluetoothDevice device); in isConnected()
32 List<BluetoothDevice> getConnectedDevices(); in getConnectedDevices()
33 List<BluetoothDevice> getDevicesMatchingConnectionStates(in int[] states); in getDevicesMatchingConnectionStates()
34 int getConnectionState(in BluetoothDevice device); in getConnectionState()
35 boolean setPriority(in BluetoothDevice device, int priority); in setPriority()
36 int getPriority(in BluetoothDevice device); in getPriority()
DIBluetoothMap.aidl19 import android.bluetooth.BluetoothDevice;
28 BluetoothDevice getClient(); in getClient()
29 boolean connect(in BluetoothDevice device); in connect()
30 boolean disconnect(in BluetoothDevice device); in disconnect()
31 boolean isConnected(in BluetoothDevice device); in isConnected()
32 List<BluetoothDevice> getConnectedDevices(); in getConnectedDevices()
33 List<BluetoothDevice> getDevicesMatchingConnectionStates(in int[] states); in getDevicesMatchingConnectionStates()
34 int getConnectionState(in BluetoothDevice device); in getConnectionState()
35 boolean setPriority(in BluetoothDevice device, int priority); in setPriority()
36 int getPriority(in BluetoothDevice device); in getPriority()
DIBluetoothA2dpSink.aidl20 import android.bluetooth.BluetoothDevice;
28 boolean connect(in BluetoothDevice device); in connect()
29 boolean disconnect(in BluetoothDevice device); in disconnect()
30 List<BluetoothDevice> getConnectedDevices(); in getConnectedDevices()
31 List<BluetoothDevice> getDevicesMatchingConnectionStates(in int[] states); in getDevicesMatchingConnectionStates()
32 int getConnectionState(in BluetoothDevice device); in getConnectionState()
33 BluetoothAudioConfig getAudioConfig(in BluetoothDevice device); in getAudioConfig()
34 boolean setPriority(in BluetoothDevice device, int priority); in setPriority()
35 int getPriority(in BluetoothDevice device); in getPriority()
36 boolean isA2dpPlaying(in BluetoothDevice device); in isA2dpPlaying()
DIBluetoothInputHost.aidl19 import android.bluetooth.BluetoothDevice;
31 boolean sendReport(in BluetoothDevice device, in int id, in byte[] data); in sendReport()
32 boolean replyReport(in BluetoothDevice device, in byte type, in byte id, in byte[] data); in replyReport()
33 boolean reportError(in BluetoothDevice device, byte error); in reportError()
34 boolean unplug(in BluetoothDevice device); in unplug()
35 boolean connect(in BluetoothDevice device); in connect()
36 boolean disconnect(in BluetoothDevice device); in disconnect()
37 List<BluetoothDevice> getConnectedDevices(); in getConnectedDevices()
38 List<BluetoothDevice> getDevicesMatchingConnectionStates(in int[] states); in getDevicesMatchingConnectionStates()
39 int getConnectionState(in BluetoothDevice device); in getConnectionState()
DIBluetoothPbapClient.aidl19 import android.bluetooth.BluetoothDevice;
27 boolean connect(in BluetoothDevice device); in connect()
28 boolean disconnect(in BluetoothDevice device); in disconnect()
29 List<BluetoothDevice> getConnectedDevices(); in getConnectedDevices()
30 List<BluetoothDevice> getDevicesMatchingConnectionStates(in int[] states); in getDevicesMatchingConnectionStates()
31 int getConnectionState(in BluetoothDevice device); in getConnectionState()
32 boolean setPriority(in BluetoothDevice device, int priority); in setPriority()
33 int getPriority(in BluetoothDevice device); in getPriority()
DIBluetoothHidDeviceCallback.aidl19 import android.bluetooth.BluetoothDevice;
24 …void onAppStatusChanged(in BluetoothDevice device, in BluetoothHidDeviceAppConfiguration config, b… in onAppStatusChanged()
25 void onConnectionStateChanged(in BluetoothDevice device, in int state); in onConnectionStateChanged()
26 void onGetReport(in BluetoothDevice device, in byte type, in byte id, in int bufferSize); in onGetReport()
27 void onSetReport(in BluetoothDevice device, in byte type, in byte id, in byte[] data); in onSetReport()
28 void onSetProtocol(in BluetoothDevice device, in byte protocol); in onSetProtocol()
29 void onIntrData(in BluetoothDevice device, in byte reportId, in byte[] data); in onIntrData()
30 void onVirtualCableUnplug(in BluetoothDevice device); in onVirtualCableUnplug()
DIBluetoothHealth.aidl19 import android.bluetooth.BluetoothDevice;
34 …boolean connectChannelToSource(in BluetoothDevice device, in BluetoothHealthAppConfiguration confi… in connectChannelToSource()
35 … boolean connectChannelToSink(in BluetoothDevice device, in BluetoothHealthAppConfiguration config, in connectChannelToSink()
37 …boolean disconnectChannel(in BluetoothDevice device, in BluetoothHealthAppConfiguration config, in… in disconnectChannel()
38 …ParcelFileDescriptor getMainChannelFd(in BluetoothDevice device, in BluetoothHealthAppConfiguratio… in getMainChannelFd()
39 List<BluetoothDevice> getConnectedHealthDevices(); in getConnectedHealthDevices()
40 List<BluetoothDevice> getHealthDevicesMatchingConnectionStates(in int[] states); in getHealthDevicesMatchingConnectionStates()
41 int getHealthDeviceConnectionState(in BluetoothDevice device); in getHealthDeviceConnectionState()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DBluetoothEventManager.java21 import android.bluetooth.BluetoothDevice;
57 void onReceive(Context context, Intent intent, BluetoothDevice device); in onReceive()
93 addHandler(BluetoothDevice.ACTION_FOUND, new DeviceFoundHandler()); in BluetoothEventManager()
94 addHandler(BluetoothDevice.ACTION_DISAPPEARED, new DeviceDisappearedHandler()); in BluetoothEventManager()
95 addHandler(BluetoothDevice.ACTION_NAME_CHANGED, new NameChangedHandler()); in BluetoothEventManager()
96 addHandler(BluetoothDevice.ACTION_ALIAS_CHANGED, new NameChangedHandler()); in BluetoothEventManager()
99 addHandler(BluetoothDevice.ACTION_BOND_STATE_CHANGED, new BondStateChangedHandler()); in BluetoothEventManager()
100 addHandler(BluetoothDevice.ACTION_PAIRING_CANCEL, new PairingCancelHandler()); in BluetoothEventManager()
103 addHandler(BluetoothDevice.ACTION_CLASS_CHANGED, new ClassChangedHandler()); in BluetoothEventManager()
104 addHandler(BluetoothDevice.ACTION_UUID, new UuidChangedHandler()); in BluetoothEventManager()
[all …]
DLocalBluetoothProfile.java20 import android.bluetooth.BluetoothDevice;
38 boolean connect(BluetoothDevice device); in connect()
40 boolean disconnect(BluetoothDevice device); in disconnect()
42 int getConnectionStatus(BluetoothDevice device); in getConnectionStatus()
44 boolean isPreferred(BluetoothDevice device); in isPreferred()
46 int getPreferred(BluetoothDevice device); in getPreferred()
48 void setPreferred(BluetoothDevice device, boolean preferred); in setPreferred()
59 int getNameResource(BluetoothDevice device); in getNameResource()
68 int getSummaryResourceForDevice(BluetoothDevice device); in getSummaryResourceForDevice()
DPanProfile.java21 import android.bluetooth.BluetoothDevice;
43 private final HashMap<BluetoothDevice, Integer> mDeviceRoleMap =
44 new HashMap<BluetoothDevice, Integer>();
85 public boolean connect(BluetoothDevice device) { in connect()
87 List<BluetoothDevice> sinks = mService.getConnectedDevices(); in connect()
89 for (BluetoothDevice sink : sinks) { in connect()
96 public boolean disconnect(BluetoothDevice device) { in disconnect()
101 public int getConnectionStatus(BluetoothDevice device) { in getConnectionStatus()
108 public boolean isPreferred(BluetoothDevice device) { in isPreferred()
112 public int getPreferred(BluetoothDevice device) { in getPreferred()
[all …]
DOppProfile.java22 import android.bluetooth.BluetoothDevice;
43 public boolean connect(BluetoothDevice device) { in connect()
47 public boolean disconnect(BluetoothDevice device) { in disconnect()
51 public int getConnectionStatus(BluetoothDevice device) { in getConnectionStatus()
55 public boolean isPreferred(BluetoothDevice device) { in isPreferred()
59 public int getPreferred(BluetoothDevice device) { in getPreferred()
63 public void setPreferred(BluetoothDevice device, boolean preferred) { in setPreferred()
78 public int getNameResource(BluetoothDevice device) { in getNameResource()
82 public int getSummaryResourceForDevice(BluetoothDevice device) { in getSummaryResourceForDevice()
DHeadsetProfile.java21 import android.bluetooth.BluetoothDevice;
66 List<BluetoothDevice> deviceList = mService.getConnectedDevices(); in onServiceConnected()
68 BluetoothDevice nextDevice = deviceList.remove(0); in onServiceConnected()
113 public boolean connect(BluetoothDevice device) { in connect()
115 List<BluetoothDevice> sinks = mService.getConnectedDevices(); in connect()
117 for (BluetoothDevice sink : sinks) { in connect()
124 public boolean disconnect(BluetoothDevice device) { in disconnect()
126 List<BluetoothDevice> deviceList = mService.getConnectedDevices(); in disconnect()
128 for (BluetoothDevice dev : deviceList) { in disconnect()
143 public int getConnectionStatus(BluetoothDevice device) { in getConnectionStatus()
[all …]
DSapProfile.java21 import android.bluetooth.BluetoothDevice;
65 List<BluetoothDevice> deviceList = mService.getConnectedDevices(); in onServiceConnected()
67 BluetoothDevice nextDevice = deviceList.remove(0); in onServiceConnected()
112 public boolean connect(BluetoothDevice device) { in connect()
114 List<BluetoothDevice> sinks = mService.getConnectedDevices(); in connect()
116 for (BluetoothDevice sink : sinks) { in connect()
123 public boolean disconnect(BluetoothDevice device) { in disconnect()
125 List<BluetoothDevice> deviceList = mService.getConnectedDevices(); in disconnect()
136 public int getConnectionStatus(BluetoothDevice device) { in getConnectionStatus()
138 List<BluetoothDevice> deviceList = mService.getConnectedDevices(); in getConnectionStatus()
[all …]
DA2dpSinkProfile.java22 import android.bluetooth.BluetoothDevice;
63 List<BluetoothDevice> deviceList = mService.getConnectedDevices(); in onServiceConnected()
65 BluetoothDevice nextDevice = deviceList.remove(0); in onServiceConnected()
106 public List<BluetoothDevice> getConnectedDevices() { in getConnectedDevices()
107 if (mService == null) return new ArrayList<BluetoothDevice>(0); in getConnectedDevices()
114 public boolean connect(BluetoothDevice device) { in connect()
116 List<BluetoothDevice> srcs = getConnectedDevices(); in connect()
118 for (BluetoothDevice src : srcs) { in connect()
129 public boolean disconnect(BluetoothDevice device) { in disconnect()
138 public int getConnectionStatus(BluetoothDevice device) { in getConnectionStatus()
[all …]
DA2dpProfile.java24 import android.bluetooth.BluetoothDevice;
72 List<BluetoothDevice> deviceList = mService.getConnectedDevices(); in onServiceConnected()
74 BluetoothDevice nextDevice = deviceList.remove(0); in onServiceConnected()
122 public List<BluetoothDevice> getConnectedDevices() { in getConnectedDevices()
123 if (mService == null) return new ArrayList<BluetoothDevice>(0); in getConnectedDevices()
130 public boolean connect(BluetoothDevice device) { in connect()
132 List<BluetoothDevice> sinks = getConnectedDevices(); in connect()
134 for (BluetoothDevice sink : sinks) { in connect()
145 public boolean disconnect(BluetoothDevice device) { in disconnect()
154 public int getConnectionStatus(BluetoothDevice device) { in getConnectionStatus()
[all …]
DHfpClientProfile.java22 import android.bluetooth.BluetoothDevice;
67 List<BluetoothDevice> deviceList = mService.getConnectedDevices(); in onServiceConnected()
69 BluetoothDevice nextDevice = deviceList.remove(0); in onServiceConnected()
115 public List<BluetoothDevice> getConnectedDevices() { in getConnectedDevices()
116 if (mService == null) return new ArrayList<BluetoothDevice>(0); in getConnectedDevices()
124 public boolean connect(BluetoothDevice device) { in connect()
126 List<BluetoothDevice> srcs = getConnectedDevices(); in connect()
128 for (BluetoothDevice src : srcs) { in connect()
140 public boolean disconnect(BluetoothDevice device) { in disconnect()
150 public int getConnectionStatus(BluetoothDevice device) { in getConnectionStatus()
[all …]
DPbapClientProfile.java22 import android.bluetooth.BluetoothDevice;
65 List<BluetoothDevice> deviceList = mService.getConnectedDevices(); in onServiceConnected()
67 BluetoothDevice nextDevice = deviceList.remove(0); in onServiceConnected()
121 public List<BluetoothDevice> getConnectedDevices() { in getConnectedDevices()
123 return new ArrayList<BluetoothDevice>(0); in getConnectedDevices()
131 public boolean connect(BluetoothDevice device) { in connect()
138 List<BluetoothDevice> srcs = getConnectedDevices(); in connect()
140 for (BluetoothDevice src : srcs) { in connect()
153 public boolean disconnect(BluetoothDevice device) { in disconnect()
163 public int getConnectionStatus(BluetoothDevice device) { in getConnectionStatus()
[all …]
DMapProfile.java21 import android.bluetooth.BluetoothDevice;
66 List<BluetoothDevice> deviceList = mService.getConnectedDevices(); in onServiceConnected()
68 BluetoothDevice nextDevice = deviceList.remove(0); in onServiceConnected()
114 public boolean connect(BluetoothDevice device) { in connect()
119 public boolean disconnect(BluetoothDevice device) { in disconnect()
121 List<BluetoothDevice> deviceList = mService.getConnectedDevices(); in disconnect()
132 public int getConnectionStatus(BluetoothDevice device) { in getConnectionStatus()
134 List<BluetoothDevice> deviceList = mService.getConnectedDevices(); in getConnectionStatus()
142 public boolean isPreferred(BluetoothDevice device) { in isPreferred()
147 public int getPreferred(BluetoothDevice device) { in getPreferred()
[all …]

12345