Home
last modified time | relevance | path

Searched refs:isSource (Results 1 – 9 of 9) sorted by relevance

/packages/services/Car/tests/CarLibUnitTest/src/com/android/car/audio/
DAudioDeviceInfoBuilder.java60 public AudioDeviceInfoBuilder setIsSource(boolean isSource) { in setIsSource() argument
61 mIsSource = isSource; in setIsSource()
75 when(audioDeviceInfo.isSource()).thenReturn(mIsSource); in build()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DAudioDeviceInfoBuilder.java53 public AudioDeviceInfoBuilder setIsSource(boolean isSource) { in setIsSource() argument
54 mIsSource = isSource; in setIsSource()
65 when(audioDeviceInfo.isSource()).thenReturn(mIsSource); in build()
DAudioPlaybackConfigurationBuilder.java75 when(audioDeviceInfo.isSource()).thenReturn(false); in generateOutAudioDeviceInfo()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/le_audio/
DLeAudioService.java1831 BluetoothDevice device, int type, boolean isSink, boolean isSource) { in handleAudioDeviceAdded() argument
1837 + (" isSource: " + isSource)); in handleAudioDeviceAdded()
1846 || (isSource && !device.equals(mActiveAudioInDevice))) { in handleAudioDeviceAdded()
1865 BluetoothDevice device, int type, boolean isSink, boolean isSource) { in handleAudioDeviceRemoved() argument
1871 + (" isSource: " + isSource) in handleAudioDeviceRemoved()
1879 if ((isSource && mActiveAudioInDevice == 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.java572 boolean isSource, in injectAudioDeviceAdded() argument
574 mService.handleAudioDeviceAdded(device, type, isSink, isSource); in injectAudioDeviceAdded()
587 boolean isSource, in injectAudioDeviceRemoved() argument
589 mService.handleAudioDeviceRemoved(device, type, isSink, isSource); in injectAudioDeviceRemoved()
/packages/services/Car/car-lib/src/android/car/media/
DCarAudioManager.java1946 if (info.isSource() && deviceAddressMap.contains(info.getAddress())) { in convertInputDevicesToDeviceInfos()
/packages/services/Car/service/src/com/android/car/audio/
DCarAudioZonesHelper.java232 if (device.isSource()) { in generateAddressToInputAudioDeviceInfoMap()
DCarAudioService.java4046 if (infos[c].isSource() || infos[c].getType() == AudioDeviceInfo.TYPE_BUS) {
/packages/services/Car/tests/carservice_test/src/com/android/car/audio/
DCarAudioZonesHelperTest.java287 when(inputMock.isSource()).thenReturn(true); in generateInputAudioDeviceInfo()