Home
last modified time | relevance | path

Searched refs:A2DP_SINK_UUIDS (Results 1 – 2 of 2) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/bluetooth/
DBluetoothUtilsTest.java43 private static final ParcelUuid[] A2DP_SINK_UUIDS = field in BluetoothUtilsTest
91 when(mMockBluetoothDevice.getUuids()).thenReturn(A2DP_SINK_UUIDS); in testIsA2dpSourceProfileSupportedBothSupported_returnsTrue()
98 when(mMockBluetoothDevice.getUuids()).thenReturn(A2DP_SINK_UUIDS); in testIsA2dpSourceProfileSupportedRemoteSupported_returnsFalse()
127 assertThat(BluetoothUtils.isProfileSupported(Arrays.asList(A2DP_SINK_UUIDS), in testIsA2dpSinkProfileSupportedBothSupported_returnsTrue()
141 assertThat(BluetoothUtils.isProfileSupported(Arrays.asList(A2DP_SINK_UUIDS), in testIsA2dpSinkProfileSupportedLocalSupported_returnsFalse()
154 when(mMockBluetoothDevice.getUuids()).thenReturn(A2DP_SINK_UUIDS); in testIsA2dpSinkProfileSupportedBothSupportSameRole_returnsFalse()
155 assertThat(BluetoothUtils.isProfileSupported(Arrays.asList(A2DP_SINK_UUIDS), in testIsA2dpSinkProfileSupportedBothSupportSameRole_returnsFalse()
/packages/services/Car/service/src/com/android/car/bluetooth/
DBluetoothUtils.java58 private static final ParcelUuid[] A2DP_SINK_UUIDS = field in BluetoothUtils
236 && BluetoothUuid.containsAnyUuid(uuids, A2DP_SINK_UUIDS); in isProfileSupported()
238 return BluetoothUuid.containsAnyUuid(ourUuids, A2DP_SINK_UUIDS) in isProfileSupported()