/frameworks/base/core/java/android/bluetooth/ |
D | IBluetoothHeadsetClient.aidl | 19 import android.bluetooth.BluetoothDevice; 29 boolean connect(in BluetoothDevice device); in connect() 30 boolean disconnect(in BluetoothDevice device); in disconnect() 32 boolean acceptIncomingConnect(in BluetoothDevice device); in acceptIncomingConnect() 33 boolean rejectIncomingConnect(in BluetoothDevice device); in rejectIncomingConnect() 35 List<BluetoothDevice> getConnectedDevices(); in getConnectedDevices() 36 List<BluetoothDevice> getDevicesMatchingConnectionStates(in int[] states); in getDevicesMatchingConnectionStates() 37 int getConnectionState(in BluetoothDevice device); in getConnectionState() 38 boolean setPriority(in BluetoothDevice device, int priority); in setPriority() 39 int getPriority(in BluetoothDevice device); in getPriority() [all …]
|
D | IBluetooth.aidl | 22 import android.bluetooth.BluetoothDevice; 57 BluetoothDevice[] getBondedDevices(); in getBondedDevices() 58 boolean createBond(in BluetoothDevice device, in int transport); in createBond() 59 boolean cancelBondProcess(in BluetoothDevice device); in cancelBondProcess() 60 boolean removeBond(in BluetoothDevice device); in removeBond() 61 int getBondState(in BluetoothDevice device); in getBondState() 62 int getConnectionState(in BluetoothDevice device); in getConnectionState() 64 String getRemoteName(in BluetoothDevice device); in getRemoteName() 65 int getRemoteType(in BluetoothDevice device); in getRemoteType() 66 String getRemoteAlias(in BluetoothDevice device); in getRemoteAlias() [all …]
|
D | IBluetoothHeadset.aidl | 19 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 …]
|
D | IBluetoothInputDevice.aidl | 19 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 …]
|
D | IBluetoothMap.aidl | 19 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()
|
D | IBluetoothA2dp.aidl | 19 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 isA2dpPlaying(in BluetoothDevice device); in isA2dpPlaying()
|
D | BluetoothGattServerCallback.java | 19 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()
|
D | IBluetoothA2dpSink.aidl | 20 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()
|
D | IBluetoothHealth.aidl | 19 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()
|
D | IBluetoothPan.aidl | 19 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()
|
D | BluetoothManager.java | 92 public int getConnectionState(BluetoothDevice device, int profile) { in getConnectionState() 95 List<BluetoothDevice> connectedDevices = getConnectedDevices(profile); in getConnectionState() 96 for(BluetoothDevice connectedDevice : connectedDevices) { in getConnectionState() 120 public List<BluetoothDevice> getConnectedDevices(int profile) { in getConnectedDevices() 126 List<BluetoothDevice> connectedDevices = new ArrayList<BluetoothDevice>(); in getConnectedDevices() 164 public List<BluetoothDevice> getDevicesMatchingConnectionStates(int profile, int[] states) { in getDevicesMatchingConnectionStates() 171 List<BluetoothDevice> devices = new ArrayList<BluetoothDevice>(); in getDevicesMatchingConnectionStates() 198 return (openGattServer (context, callback, BluetoothDevice.TRANSPORT_AUTO)); in openGattServer()
|
D | BluetoothHeadsetClient.java | 479 public boolean connect(BluetoothDevice device) { in connect() 503 public boolean disconnect(BluetoothDevice device) { in disconnect() 524 public List<BluetoothDevice> getConnectedDevices() { in getConnectedDevices() 531 return new ArrayList<BluetoothDevice>(); in getConnectedDevices() 535 return new ArrayList<BluetoothDevice>(); in getConnectedDevices() 547 public List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { in getDevicesMatchingConnectionStates() 554 return new ArrayList<BluetoothDevice>(); in getDevicesMatchingConnectionStates() 558 return new ArrayList<BluetoothDevice>(); in getDevicesMatchingConnectionStates() 568 public int getConnectionState(BluetoothDevice device) { in getConnectionState() 588 public boolean setPriority(BluetoothDevice device, int priority) { in setPriority() [all …]
|
D | IBluetoothAvrcpController.aidl | 19 import android.bluetooth.BluetoothDevice; 27 List<BluetoothDevice> getConnectedDevices(); in getConnectedDevices() 28 List<BluetoothDevice> getDevicesMatchingConnectionStates(in int[] states); in getDevicesMatchingConnectionStates() 29 int getConnectionState(in BluetoothDevice device); in getConnectionState() 30 void sendPassThroughCmd(in BluetoothDevice device, int keyCode, int keyState); in sendPassThroughCmd()
|
D | BluetoothInputDevice.java | 314 public boolean connect(BluetoothDevice device) { in connect() 354 public boolean disconnect(BluetoothDevice device) { in disconnect() 371 public List<BluetoothDevice> getConnectedDevices() { in getConnectedDevices() 378 return new ArrayList<BluetoothDevice>(); in getConnectedDevices() 382 return new ArrayList<BluetoothDevice>(); in getConnectedDevices() 388 public List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { in getDevicesMatchingConnectionStates() 395 return new ArrayList<BluetoothDevice>(); in getDevicesMatchingConnectionStates() 399 return new ArrayList<BluetoothDevice>(); in getDevicesMatchingConnectionStates() 405 public int getConnectionState(BluetoothDevice device) { in getConnectionState() 434 public boolean setPriority(BluetoothDevice device, int priority) { in setPriority() [all …]
|
D | BluetoothMap.java | 176 public BluetoothDevice getClient() { in getClient() 194 public boolean isConnected(BluetoothDevice device) { in isConnected() 211 public boolean connect(BluetoothDevice device) { in connect() 223 public boolean disconnect(BluetoothDevice device) { in disconnect() 263 public List<BluetoothDevice> getConnectedDevices() { in getConnectedDevices() 270 return new ArrayList<BluetoothDevice>(); in getConnectedDevices() 274 return new ArrayList<BluetoothDevice>(); in getConnectedDevices() 282 public List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { in getDevicesMatchingConnectionStates() 289 return new ArrayList<BluetoothDevice>(); in getDevicesMatchingConnectionStates() 293 return new ArrayList<BluetoothDevice>(); in getDevicesMatchingConnectionStates() [all …]
|
D | IBluetoothPbap.aidl | 19 import android.bluetooth.BluetoothDevice; 28 BluetoothDevice getClient(); in getClient() 29 boolean connect(in BluetoothDevice device); in connect() 31 boolean isConnected(in BluetoothDevice device); in isConnected()
|
D | BluetoothHeadset.java | 341 public boolean connect(BluetoothDevice device) { in connect() 382 public boolean disconnect(BluetoothDevice device) { in disconnect() 400 public List<BluetoothDevice> getConnectedDevices() { in getConnectedDevices() 407 return new ArrayList<BluetoothDevice>(); in getConnectedDevices() 411 return new ArrayList<BluetoothDevice>(); in getConnectedDevices() 417 public List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { in getDevicesMatchingConnectionStates() 424 return new ArrayList<BluetoothDevice>(); in getDevicesMatchingConnectionStates() 428 return new ArrayList<BluetoothDevice>(); in getDevicesMatchingConnectionStates() 434 public int getConnectionState(BluetoothDevice device) { in getConnectionState() 464 public boolean setPriority(BluetoothDevice device, int priority) { in setPriority() [all …]
|
D | BluetoothA2dp.java | 226 public boolean connect(BluetoothDevice device) { in connect() 267 public boolean disconnect(BluetoothDevice device) { in disconnect() 285 public List<BluetoothDevice> getConnectedDevices() { in getConnectedDevices() 292 return new ArrayList<BluetoothDevice>(); in getConnectedDevices() 296 return new ArrayList<BluetoothDevice>(); in getConnectedDevices() 302 public List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { in getDevicesMatchingConnectionStates() 309 return new ArrayList<BluetoothDevice>(); in getDevicesMatchingConnectionStates() 313 return new ArrayList<BluetoothDevice>(); in getDevicesMatchingConnectionStates() 319 public int getConnectionState(BluetoothDevice device) { in getConnectionState() 349 public boolean setPriority(BluetoothDevice device, int priority) { in setPriority() [all …]
|
D | BluetoothA2dpSink.java | 239 public boolean connect(BluetoothDevice device) { in connect() 280 public boolean disconnect(BluetoothDevice device) { in disconnect() 298 public List<BluetoothDevice> getConnectedDevices() { in getConnectedDevices() 305 return new ArrayList<BluetoothDevice>(); in getConnectedDevices() 309 return new ArrayList<BluetoothDevice>(); in getConnectedDevices() 315 public List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { in getDevicesMatchingConnectionStates() 322 return new ArrayList<BluetoothDevice>(); in getDevicesMatchingConnectionStates() 326 return new ArrayList<BluetoothDevice>(); in getDevicesMatchingConnectionStates() 332 public int getConnectionState(BluetoothDevice device) { in getConnectionState() 358 public BluetoothAudioConfig getAudioConfig(BluetoothDevice device) { in getAudioConfig() [all …]
|
D | BluetoothAvrcpController.java | 163 public List<BluetoothDevice> getConnectedDevices() { in getConnectedDevices() 170 return new ArrayList<BluetoothDevice>(); in getConnectedDevices() 174 return new ArrayList<BluetoothDevice>(); in getConnectedDevices() 180 public List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { in getDevicesMatchingConnectionStates() 187 return new ArrayList<BluetoothDevice>(); in getDevicesMatchingConnectionStates() 191 return new ArrayList<BluetoothDevice>(); in getDevicesMatchingConnectionStates() 197 public int getConnectionState(BluetoothDevice device) { in getConnectionState() 212 public void sendPassThroughCmd(BluetoothDevice device, int keyCode, int keyState) { in sendPassThroughCmd() 250 private boolean isValidDevice(BluetoothDevice device) { in isValidDevice()
|
D | BluetoothPan.java | 226 public boolean connect(BluetoothDevice device) { in connect() 267 public boolean disconnect(BluetoothDevice device) { in disconnect() 285 public List<BluetoothDevice> getConnectedDevices() { in getConnectedDevices() 292 return new ArrayList<BluetoothDevice>(); in getConnectedDevices() 296 return new ArrayList<BluetoothDevice>(); in getConnectedDevices() 302 public List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { in getDevicesMatchingConnectionStates() 309 return new ArrayList<BluetoothDevice>(); in getDevicesMatchingConnectionStates() 313 return new ArrayList<BluetoothDevice>(); in getDevicesMatchingConnectionStates() 319 public int getConnectionState(BluetoothDevice device) { in getConnectionState() 377 private boolean isValidDevice(BluetoothDevice device) { in isValidDevice()
|
D | BluetoothHealth.java | 230 public boolean connectChannelToSource(BluetoothDevice device, in connectChannelToSource() 259 public boolean connectChannelToSink(BluetoothDevice device, in connectChannelToSink() 288 public boolean disconnectChannel(BluetoothDevice device, in disconnectChannel() 317 public ParcelFileDescriptor getMainChannelFd(BluetoothDevice device, in getMainChannelFd() 349 public int getConnectionState(BluetoothDevice device) { in getConnectionState() 377 public List<BluetoothDevice> getConnectedDevices() { in getConnectedDevices() 383 return new ArrayList<BluetoothDevice>(); in getConnectedDevices() 387 return new ArrayList<BluetoothDevice>(); in getConnectedDevices() 409 public List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { in getDevicesMatchingConnectionStates() 415 return new ArrayList<BluetoothDevice>(); in getDevicesMatchingConnectionStates() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | BluetoothUtil.java | 22 import android.bluetooth.BluetoothDevice; 84 public static String deviceToString(BluetoothDevice device) { in deviceToString() 88 public static String uuidsToString(BluetoothDevice device) { in uuidsToString() 134 public boolean connect(BluetoothDevice device) { in newProfile() 139 public boolean disconnect(BluetoothDevice device) { in newProfile() 148 public boolean connect(BluetoothDevice device) { 153 public boolean disconnect(BluetoothDevice device) { 162 public boolean connect(BluetoothDevice device) { 167 public boolean disconnect(BluetoothDevice device) { 176 public boolean connect(BluetoothDevice device) { [all …]
|
D | BluetoothControllerImpl.java | 30 import android.bluetooth.BluetoothDevice; 87 private final ArrayMap<BluetoothDevice, DeviceInfo> mDeviceInfo = new ArrayMap<>(); 94 private BluetoothDevice mLastDevice; 124 final BluetoothDevice device = mDeviceInfo.keyAt(i); in dump() 200 final BluetoothDevice device = mDeviceInfo.keyAt(i); in getPairedDevices() 233 final BluetoothDevice device = (BluetoothDevice) pd.tag; in connect() 290 private void updateConnectionState(BluetoothDevice device, int profile, int state) { in updateConnectionState() 301 final Set<BluetoothDevice> bondedDevices = mAdapter.getBondedDevices(); in handleUpdateBondedDevices() 306 BluetoothDevice lastBonded = null; in handleUpdateBondedDevices() 308 for (BluetoothDevice bondedDevice : bondedDevices) { in handleUpdateBondedDevices() [all …]
|
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/ |
D | BluetoothTestUtils.java | 150 private BluetoothDevice mDevice; 154 public PairReceiver(BluetoothDevice device, int passkey, byte[] pin, int expectedFlags) { in PairReceiver() 164 if (!mDevice.equals(intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE))) { in onReceive() 168 if (BluetoothDevice.ACTION_PAIRING_REQUEST.equals(intent.getAction())) { in onReceive() 169 int varient = intent.getIntExtra(BluetoothDevice.EXTRA_PAIRING_VARIANT, -1); in onReceive() 172 case BluetoothDevice.PAIRING_VARIANT_PIN: in onReceive() 175 case BluetoothDevice.PAIRING_VARIANT_PASSKEY: in onReceive() 178 case BluetoothDevice.PAIRING_VARIANT_PASSKEY_CONFIRMATION: in onReceive() 179 case BluetoothDevice.PAIRING_VARIANT_CONSENT: in onReceive() 182 case BluetoothDevice.PAIRING_VARIANT_OOB_CONSENT: in onReceive() [all …]
|