Home
last modified time | relevance | path

Searched refs:isValidDevice (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/java/android/bluetooth/
DBluetoothInputDevice.java292 if (mService != null && isEnabled() && isValidDevice(device)) { in connect()
332 if (mService != null && isEnabled() && isValidDevice(device)) { in disconnect()
383 if (mService != null && isEnabled() && isValidDevice(device)) { in getConnectionState()
412 if (mService != null && isEnabled() && isValidDevice(device)) { in setPriority()
443 if (mService != null && isEnabled() && isValidDevice(device)) { in getPriority()
478 private boolean isValidDevice(BluetoothDevice device) { in isValidDevice() method in BluetoothInputDevice
498 if (mService != null && isEnabled() && isValidDevice(device)) { in virtualUnplug()
524 if (mService != null && isEnabled() && isValidDevice(device)) { in getProtocolMode()
548 if (mService != null && isEnabled() && isValidDevice(device)) { in setProtocolMode()
575 if (mService != null && isEnabled() && isValidDevice(device)) { in getReport()
[all …]
DBluetoothA2dp.java216 isValidDevice(device)) { in connect()
257 isValidDevice(device)) { in disconnect()
309 && isValidDevice(device)) { in getConnectionState()
339 && isValidDevice(device)) { in setPriority()
371 && isValidDevice(device)) { in getPriority()
392 && isValidDevice(device)) { in isA2dpPlaying()
411 if (isEnabled() && isValidDevice(device)) { in shouldSendVolumeKeys()
472 private boolean isValidDevice(BluetoothDevice device) { in isValidDevice() method in BluetoothA2dp
DBluetoothHeadset.java334 isValidDevice(device)) { in connect()
375 isValidDevice(device)) { in disconnect()
427 isValidDevice(device)) { in getConnectionState()
457 isValidDevice(device)) { in setPriority()
489 isValidDevice(device)) { in getPriority()
525 isValidDevice(device)) { in startVoiceRecognition()
549 isValidDevice(device)) { in stopVoiceRecognition()
572 isValidDevice(device)) { in isAudioConnected()
600 isValidDevice(device)) { in getBatteryUsageHint()
759 if (mService != null && isEnabled() && isValidDevice(device)) { in startScoUsingVirtualVoiceCall()
[all …]
DBluetoothHealth.java235 if (mService != null && isEnabled() && isValidDevice(device) && in connectChannelToSource()
264 if (mService != null && isEnabled() && isValidDevice(device) && in connectChannelToSink()
293 if (mService != null && isEnabled() && isValidDevice(device) && in disconnectChannel()
322 if (mService != null && isEnabled() && isValidDevice(device) && in getMainChannelFd()
353 if (mService != null && isEnabled() && isValidDevice(device)) { in getConnectionState()
541 private boolean isValidDevice(BluetoothDevice device) { in isValidDevice() method in BluetoothHealth
DBluetoothPan.java213 isValidDevice(device)) { in connect()
254 isValidDevice(device)) { in disconnect()
306 && isValidDevice(device)) { in getConnectionState()
361 private boolean isValidDevice(BluetoothDevice device) { in isValidDevice() method in BluetoothPan