Home
last modified time | relevance | path

Searched refs:isSink (Results 1 – 7 of 7) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DAudioDeviceInfoBuilder.java66 when(audioDeviceInfo.isSink()).thenReturn(!mIsSource); in build()
DAudioPlaybackConfigurationBuilder.java76 when(audioDeviceInfo.isSink()).thenReturn(true); in generateOutAudioDeviceInfo()
/packages/services/Car/tests/carservice_test/src/com/android/car/audio/
DCarAudioZonesHelperLegacyTest.java354 when(deviceInfo1.isSink()).thenReturn(false); in getInputDevices()
358 when(deviceInfo2.isSink()).thenReturn(false); in getInputDevices()
DCarAudioDynamicRoutingTest.java322 when(audioDeviceInfo.isSink()).thenReturn(true); in getCarAudioDeviceInfo()
DCarAudioZonesHelperTest.java288 when(inputMock.isSink()).thenReturn(false); in generateInputAudioDeviceInfo()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/le_audio/
DLeAudioService.java1831 BluetoothDevice device, int type, boolean isSink, boolean isSource) { in handleAudioDeviceAdded() argument
1836 + (", isSink: " + isSink) in handleAudioDeviceAdded()
1845 if ((isSink && !device.equals(mActiveAudioOutDevice)) in handleAudioDeviceAdded()
1865 BluetoothDevice device, int type, boolean isSink, boolean isSource) { in handleAudioDeviceRemoved() argument
1870 + (", isSink: " + isSink) in handleAudioDeviceRemoved()
1880 || (isSink && mActiveAudioOutDevice == null)) { in handleAudioDeviceRemoved()
1917 device, deviceInfo.getType(), deviceInfo.isSink(), deviceInfo.isSource())) { in onAudioDevicesAdded()
1945 device, deviceInfo.getType(), deviceInfo.isSink(), deviceInfo.isSource()); in onAudioDevicesRemoved()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/le_audio/
DLeAudioServiceTest.java571 boolean isSink, in injectAudioDeviceAdded() argument
574 mService.handleAudioDeviceAdded(device, type, isSink, isSource); in injectAudioDeviceAdded()
586 boolean isSink, in injectAudioDeviceRemoved() argument
589 mService.handleAudioDeviceRemoved(device, type, isSink, isSource); in injectAudioDeviceRemoved()