Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/bluetooth/
DBluetoothInputDevice.java329 if (service != null && isEnabled() && isValidDevice(device)) { in connect()
370 if (service != null && isEnabled() && isValidDevice(device)) { in disconnect()
424 if (service != null && isEnabled() && isValidDevice(device)) { in getConnectionState()
454 if (service != null && isEnabled() && isValidDevice(device)) { in setPriority()
486 if (service != null && isEnabled() && isValidDevice(device)) { in getPriority()
520 private static boolean isValidDevice(BluetoothDevice device) { in isValidDevice() method in BluetoothInputDevice
537 if (service != null && isEnabled() && isValidDevice(device)) { in virtualUnplug()
564 if (service != null && isEnabled() && isValidDevice(device)) { in getProtocolMode()
589 if (service != null && isEnabled() && isValidDevice(device)) { in setProtocolMode()
621 if (service != null && isEnabled() && isValidDevice(device)) { in getReport()
[all …]
DBluetoothHeadsetClient.java483 if (service != null && isEnabled() && isValidDevice(device)) { in connect()
507 if (service != null && isEnabled() && isValidDevice(device)) { in disconnect()
574 if (service != null && isEnabled() && isValidDevice(device)) { in getConnectionState()
594 if (service != null && isEnabled() && isValidDevice(device)) { in setPriority()
616 if (service != null && isEnabled() && isValidDevice(device)) { in getPriority()
644 if (service != null && isEnabled() && isValidDevice(device)) { in startVoiceRecognition()
671 if (service != null && isEnabled() && isValidDevice(device)) { in stopVoiceRecognition()
691 if (service != null && isEnabled() && isValidDevice(device)) { in getCurrentCalls()
712 if (service != null && isEnabled() && isValidDevice(device)) { in getCurrentAgEvents()
738 if (service != null && isEnabled() && isValidDevice(device)) { in acceptCall()
[all …]
DBluetoothA2dpSink.java243 if (service != null && isEnabled() && isValidDevice(device)) { in connect()
284 if (service != null && isEnabled() && isValidDevice(device)) { in disconnect()
338 if (service != null && isEnabled() && isValidDevice(device)) { in getConnectionState()
364 if (service != null && isEnabled() && isValidDevice(device)) { in getAudioConfig()
394 if (service != null && isEnabled() && isValidDevice(device)) { in setPriority()
426 if (service != null && isEnabled() && isValidDevice(device)) { in getPriority()
447 if (service != null && isEnabled() && isValidDevice(device)) { in isA2dpPlaying()
506 private static boolean isValidDevice(BluetoothDevice device) { in isValidDevice() method in BluetoothA2dpSink
DBluetoothA2dp.java295 isValidDevice(device)) { in connect()
339 isValidDevice(device)) { in disconnect()
400 && isValidDevice(device)) { in getConnectionState()
433 && isValidDevice(device)) { in setPriority()
467 && isValidDevice(device)) { in getPriority()
563 && isValidDevice(device)) { in isA2dpPlaying()
583 if (isEnabled() && isValidDevice(device)) { in shouldSendVolumeKeys()
701 if (mService != null && isEnabled() && isValidDevice(device)) { in supportsOptionalCodecs()
726 if (mService != null && isEnabled() && isValidDevice(device)) { in getOptionalCodecsEnabled()
758 && isValidDevice(device)) { in setOptionalCodecsEnabled()
[all …]
DBluetoothHeadset.java415 if (service != null && isEnabled() && isValidDevice(device)) { in connect()
456 if (service != null && isEnabled() && isValidDevice(device)) { in disconnect()
510 if (service != null && isEnabled() && isValidDevice(device)) { in getConnectionState()
540 if (service != null && isEnabled() && isValidDevice(device)) { in setPriority()
572 if (service != null && isEnabled() && isValidDevice(device)) { in getPriority()
608 if (service != null && isEnabled() && isValidDevice(device)) { in startVoiceRecognition()
632 if (service != null && isEnabled() && isValidDevice(device)) { in stopVoiceRecognition()
655 if (service != null && isEnabled() && isValidDevice(device)) { in isAudioConnected()
683 if (service != null && isEnabled() && isValidDevice(device)) { in getBatteryUsageHint()
926 if (service != null && isEnabled() && isValidDevice(device)) { in startScoUsingVirtualVoiceCall()
[all …]
DBluetoothPbapClient.java176 if (service != null && isEnabled() && isValidDevice(device)) { in connect()
202 if (service != null && isEnabled() && isValidDevice(device)) { in disconnect()
279 if (service != null && isEnabled() && isValidDevice(device)) { in getConnectionState()
327 private static boolean isValidDevice(BluetoothDevice device) { in isValidDevice() method in BluetoothPbapClient
347 if (service != null && isEnabled() && isValidDevice(device)) { in setPriority()
380 if (service != null && isEnabled() && isValidDevice(device)) { in getPriority()
DBluetoothMapClient.java222 if (service != null && isEnabled() && isValidDevice(device)) { in disconnect()
284 if (service != null && isEnabled() && isValidDevice(device)) { in getConnectionState()
308 if (service != null && isEnabled() && isValidDevice(device)) { in setPriority()
337 if (service != null && isEnabled() && isValidDevice(device)) { in getPriority()
365 if (service != null && isEnabled() && isValidDevice(device)) { in sendMessage()
385 if (service != null && isEnabled() && isValidDevice(device)) { in getUnreadMessages()
422 private static boolean isValidDevice(BluetoothDevice device) { in isValidDevice() method in BluetoothMapClient
DBluetoothHealth.java236 if (service != null && isEnabled() && isValidDevice(device) && config != null) { in connectChannelToSource()
265 if (service != null && isEnabled() && isValidDevice(device) && config != null) { in connectChannelToSink()
294 if (service != null && isEnabled() && isValidDevice(device) && config != null) { in disconnectChannel()
323 if (service != null && isEnabled() && isValidDevice(device) && config != null) { in getMainChannelFd()
354 if (service != null && isEnabled() && isValidDevice(device)) { in getConnectionState()
554 private static boolean isValidDevice(BluetoothDevice device) { in isValidDevice() method in BluetoothHealth
DBluetoothMap.java238 if (service != null && isEnabled() && isValidDevice(device)) { in disconnect()
318 if (service != null && isEnabled() && isValidDevice(device)) { in getConnectionState()
344 if (service != null && isEnabled() && isValidDevice(device)) { in setPriority()
373 if (service != null && isEnabled() && isValidDevice(device)) { in getPriority()
412 private static boolean isValidDevice(BluetoothDevice device) { in isValidDevice() method in BluetoothMap
DBluetoothSap.java278 if (service != null && isEnabled() && isValidDevice(device)) { in disconnect()
341 if (service != null && isEnabled() && isValidDevice(device)) { in getConnectionState()
366 if (service != null && isEnabled() && isValidDevice(device)) { in setPriority()
392 if (service != null && isEnabled() && isValidDevice(device)) { in getPriority()
434 private static boolean isValidDevice(BluetoothDevice device) { in isValidDevice() method in BluetoothSap
DBluetoothPan.java239 if (service != null && isEnabled() && isValidDevice(device)) { in connect()
280 if (service != null && isEnabled() && isValidDevice(device)) { in disconnect()
334 if (service != null && isEnabled() && isValidDevice(device)) { in getConnectionState()
393 private static boolean isValidDevice(BluetoothDevice device) { in isValidDevice() method in BluetoothPan
DBluetoothAvrcpController.java218 if (service != null && isEnabled() && isValidDevice(device)) { in getConnectionState()
311 private static boolean isValidDevice(BluetoothDevice device) { in isValidDevice() method in BluetoothAvrcpController
/frameworks/av/services/camera/libcameraservice/common/
DCameraProviderManager.h143 bool isValidDevice(const std::string &id, uint16_t majorVersion) const;
DCameraProviderManager.cpp120 bool CameraProviderManager::isValidDevice(const std::string &id, uint16_t majorVersion) const { in isValidDevice() function in android::CameraProviderManager