Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/bluetooth/
DBluetoothHidHost.java269 if (service != null && isEnabled() && isValidDevice(device)) { in connect()
309 if (service != null && isEnabled() && isValidDevice(device)) { in disconnect()
366 if (service != null && isEnabled() && isValidDevice(device)) { in getConnectionState()
396 if (service != null && isEnabled() && isValidDevice(device)) { in setPriority()
428 if (service != null && isEnabled() && isValidDevice(device)) { in getPriority()
444 private static boolean isValidDevice(BluetoothDevice device) { in isValidDevice() method in BluetoothHidHost
460 if (service != null && isEnabled() && isValidDevice(device)) { in virtualUnplug()
486 if (service != null && isEnabled() && isValidDevice(device)) { in getProtocolMode()
510 if (service != null && isEnabled() && isValidDevice(device)) { in setProtocolMode()
541 if (service != null && isEnabled() && isValidDevice(device)) { in getReport()
[all …]
DBluetoothHeadsetClient.java415 if (service != null && isEnabled() && isValidDevice(device)) { in connect()
439 if (service != null && isEnabled() && isValidDevice(device)) { in disconnect()
508 if (service != null && isEnabled() && isValidDevice(device)) { in getConnectionState()
529 if (service != null && isEnabled() && isValidDevice(device)) { in setPriority()
552 if (service != null && isEnabled() && isValidDevice(device)) { in getPriority()
579 if (service != null && isEnabled() && isValidDevice(device)) { in startVoiceRecognition()
605 if (service != null && isEnabled() && isValidDevice(device)) { in stopVoiceRecognition()
626 if (service != null && isEnabled() && isValidDevice(device)) { in getCurrentCalls()
647 if (service != null && isEnabled() && isValidDevice(device)) { in getCurrentAgEvents()
672 if (service != null && isEnabled() && isValidDevice(device)) { in acceptCall()
[all …]
DBluetoothA2dpSink.java180 if (service != null && isEnabled() && isValidDevice(device)) { in connect()
221 if (service != null && isEnabled() && isValidDevice(device)) { in disconnect()
278 if (service != null && isEnabled() && isValidDevice(device)) { in getConnectionState()
304 if (service != null && isEnabled() && isValidDevice(device)) { in getAudioConfig()
334 if (service != null && isEnabled() && isValidDevice(device)) { in setPriority()
366 if (service != null && isEnabled() && isValidDevice(device)) { in getPriority()
387 if (service != null && isEnabled() && isValidDevice(device)) { in isA2dpPlaying()
429 private static boolean isValidDevice(BluetoothDevice device) { in isValidDevice() method in BluetoothA2dpSink
DBluetoothHearingAid.java175 if (service != null && isEnabled() && isValidDevice(device)) { in connect()
215 if (service != null && isEnabled() && isValidDevice(device)) { in disconnect()
275 && isValidDevice(device)) { in getConnectionState()
314 && ((device == null) || isValidDevice(device))) { in setActiveDevice()
374 && isValidDevice(device)) { in setPriority()
406 && isValidDevice(device)) { in getPriority()
539 if (!isEnabled() || !isValidDevice(device)) return HI_SYNC_ID_INVALID; in getHiSyncId()
563 && isValidDevice(device)) { in getDeviceSide()
589 && isValidDevice(device)) { in getDeviceMode()
605 private boolean isValidDevice(BluetoothDevice device) { in isValidDevice() method in BluetoothHearingAid
DBluetoothPbapClient.java107 if (service != null && isEnabled() && isValidDevice(device)) { in connect()
132 if (service != null && isEnabled() && isValidDevice(device)) { in disconnect()
209 if (service != null && isEnabled() && isValidDevice(device)) { in getConnectionState()
236 private static boolean isValidDevice(BluetoothDevice device) { in isValidDevice() method in BluetoothPbapClient
256 if (service != null && isEnabled() && isValidDevice(device)) { in setPriority()
289 if (service != null && isEnabled() && isValidDevice(device)) { in getPriority()
DBluetoothA2dp.java261 if (service != null && isEnabled() && isValidDevice(device)) { in connect()
302 if (service != null && isEnabled() && isValidDevice(device)) { in disconnect()
360 && isValidDevice(device)) { in getConnectionState()
399 && ((device == null) || isValidDevice(device))) { in setActiveDevice()
458 && isValidDevice(device)) { in setPriority()
491 && isValidDevice(device)) { in getPriority()
553 && isValidDevice(device)) { in isA2dpPlaying()
572 if (isEnabled() && isValidDevice(device)) { in shouldSendVolumeKeys()
699 if (service != null && isEnabled() && isValidDevice(device)) { in supportsOptionalCodecs()
722 if (service != null && isEnabled() && isValidDevice(device)) { in getOptionalCodecsEnabled()
[all …]
DBluetoothMapClient.java166 if (service != null && isEnabled() && isValidDevice(device)) { in disconnect()
228 if (service != null && isEnabled() && isValidDevice(device)) { in getConnectionState()
252 if (service != null && isEnabled() && isValidDevice(device)) { in setPriority()
281 if (service != null && isEnabled() && isValidDevice(device)) { in getPriority()
310 if (service != null && isEnabled() && isValidDevice(device)) { in sendMessage()
330 if (service != null && isEnabled() && isValidDevice(device)) { in getUnreadMessages()
351 return (service != null && isEnabled() && isValidDevice(device)) in isUploadingSupported()
366 private static boolean isValidDevice(BluetoothDevice device) { in isValidDevice() method in BluetoothMapClient
DBluetoothSap.java224 if (service != null && isEnabled() && isValidDevice(device)) { in disconnect()
287 if (service != null && isEnabled() && isValidDevice(device)) { in getConnectionState()
312 if (service != null && isEnabled() && isValidDevice(device)) { in setPriority()
338 if (service != null && isEnabled() && isValidDevice(device)) { in getPriority()
364 private static boolean isValidDevice(BluetoothDevice device) { in isValidDevice() method in BluetoothSap
DBluetoothMap.java177 if (service != null && isEnabled() && isValidDevice(device)) { in disconnect()
258 if (service != null && isEnabled() && isValidDevice(device)) { in getConnectionState()
284 if (service != null && isEnabled() && isValidDevice(device)) { in setPriority()
313 if (service != null && isEnabled() && isValidDevice(device)) { in getPriority()
335 private static boolean isValidDevice(BluetoothDevice device) { in isValidDevice() method in BluetoothMap
DBluetoothPan.java178 if (service != null && isEnabled() && isValidDevice(device)) { in connect()
219 if (service != null && isEnabled() && isValidDevice(device)) { in disconnect()
276 if (service != null && isEnabled() && isValidDevice(device)) { in getConnectionState()
321 private static boolean isValidDevice(BluetoothDevice device) { in isValidDevice() method in BluetoothPan
DBluetoothHeadset.java446 if (service != null && isEnabled() && isValidDevice(device)) { in connect()
488 if (service != null && isEnabled() && isValidDevice(device)) { in disconnect()
545 if (service != null && isEnabled() && isValidDevice(device)) { in getConnectionState()
577 if (service != null && isEnabled() && isValidDevice(device)) { in setPriority()
610 if (service != null && isEnabled() && isValidDevice(device)) { in getPriority()
646 if (service != null && isEnabled() && isValidDevice(device)) { in startVoiceRecognition()
674 if (service != null && isEnabled() && isValidDevice(device)) { in stopVoiceRecognition()
696 if (service != null && isEnabled() && isValidDevice(device)) { in isAudioConnected()
1035 if (service != null && isEnabled() && isValidDevice(device)) { in sendVendorSpecificResultCode()
1077 if (service != null && isEnabled() && (device == null || isValidDevice(device))) { in setActiveDevice()
[all …]
DBluetoothAvrcpController.java160 if (service != null && isEnabled() && isValidDevice(device)) { in getConnectionState()
238 private static boolean isValidDevice(BluetoothDevice device) { in isValidDevice() method in BluetoothAvrcpController
/frameworks/av/services/camera/libcameraservice/common/
DCameraProviderManager.h150 bool isValidDevice(const std::string &id, uint16_t majorVersion) const;
DCameraProviderManager.cpp150 bool CameraProviderManager::isValidDevice(const std::string &id, uint16_t majorVersion) const { in isValidDevice() function in android::CameraProviderManager