Home
last modified time | relevance | path

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

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/bluetooth/
DBluetoothUtilsTest.java92 assertThat(BluetoothUtils.isProfileSupported(Arrays.asList(A2DP_SOURCE_UUIDS), in testIsA2dpSourceProfileSupportedBothSupported_returnsTrue()
99 assertThat(BluetoothUtils.isProfileSupported(Arrays.asList(WRONG_UUIDS), in testIsA2dpSourceProfileSupportedRemoteSupported_returnsFalse()
106 assertThat(BluetoothUtils.isProfileSupported(Arrays.asList(A2DP_SOURCE_UUIDS), in testIsA2dpSourceProfileSupportedLocalSupported_returnsFalse()
113 assertThat(BluetoothUtils.isProfileSupported(Arrays.asList(WRONG_UUIDS), in testIsA2dpSourceProfileSupportedBothUnsupported_returnsFalse()
120 assertThat(BluetoothUtils.isProfileSupported(Arrays.asList(A2DP_SOURCE_UUIDS), in testIsA2dpSourceProfileSupportedBothSupportSameRole_returnsFalse()
127 assertThat(BluetoothUtils.isProfileSupported(Arrays.asList(A2DP_SINK_UUIDS), in testIsA2dpSinkProfileSupportedBothSupported_returnsTrue()
134 assertThat(BluetoothUtils.isProfileSupported(Arrays.asList(WRONG_UUIDS), in testIsA2dpSinkProfileSupportedRemoteSupported_returnsFalse()
141 assertThat(BluetoothUtils.isProfileSupported(Arrays.asList(A2DP_SINK_UUIDS), in testIsA2dpSinkProfileSupportedLocalSupported_returnsFalse()
148 assertThat(BluetoothUtils.isProfileSupported(Arrays.asList(WRONG_UUIDS), in testIsA2dpSinkProfileSupportedBothUnsupported_returnsFalse()
155 assertThat(BluetoothUtils.isProfileSupported(Arrays.asList(A2DP_SINK_UUIDS), in testIsA2dpSinkProfileSupportedBothSupportSameRole_returnsFalse()
[all …]
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/
DAdapterService.java1285 if (isProfileSupported(groupDevice, BluetoothProfile.LE_AUDIO) in isDualModeAudioSinkDevice()
1286 && (isProfileSupported(groupDevice, BluetoothProfile.HEADSET) in isDualModeAudioSinkDevice()
1287 || isProfileSupported(groupDevice, BluetoothProfile.A2DP))) { in isDualModeAudioSinkDevice()
1303 if (isProfileSupported(device, BluetoothProfile.HEADSET) in isDuplexAudioSupported()
1304 || (isProfileSupported(device, BluetoothProfile.LE_AUDIO) in isDuplexAudioSupported()
1322 if (isProfileSupported(device, BluetoothProfile.A2DP) in isOutputOnlyAudioSupported()
1323 || (isProfileSupported(device, BluetoothProfile.LE_AUDIO) in isOutputOnlyAudioSupported()
1342 boolean isProfileSupported(BluetoothDevice device, int profile) { in isProfileSupported() method in AdapterService
1506 && isProfileSupported(device, BluetoothProfile.CSIP_SET_COORDINATOR) in connectEnabledProfiles()
1512 if (mA2dpService != null && isProfileSupported( in connectEnabledProfiles()
[all …]
/packages/services/Car/service/src/com/android/car/bluetooth/
DBluetoothUtils.java220 static boolean isProfileSupported(List<ParcelUuid> localUuids, BluetoothDevice device, in isProfileSupported() method in BluetoothUtils
DBluetoothConnectionRetryManager.java236 if (BluetoothUtils.isProfileSupported(ourUuids, device, profileId)) { in trackDevice()
DBluetoothDeviceManager.java631 if (BluetoothUtils.isProfileSupported(ourUuids, device, profile)) { in addWatchedProfileIfSupported()