Home
last modified time | relevance | path

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

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/hal/
DHalAudioDeviceInfoTest.java71 AudioPort audioPort = CarAudioHalTestUtils.createAudioPort(PORT_ID, PORT_NAME, GAINS, in constructor_succeeds() local
74 HalAudioDeviceInfo deviceInfo = new HalAudioDeviceInfo(audioPort); in constructor_succeeds()
124 AudioPort audioPort = CarAudioHalTestUtils.createAudioPort(PORT_ID, PORT_NAME, null, in constructor_requiresNonNullAudioGains() local
128 () -> new HalAudioDeviceInfo(audioPort)); in constructor_requiresNonNullAudioGains()
147 AudioPort audioPort = CarAudioHalTestUtils.createAudioPort(PORT_ID, PORT_NAME, gains, in constructor_requiresJointModeAudioGain() local
151 () -> new HalAudioDeviceInfo(audioPort)); in constructor_requiresJointModeAudioGain()
170 AudioPort audioPort = CarAudioHalTestUtils.createAudioPort(PORT_ID, PORT_NAME, gains, in constructor_requiresMaxGainLargerThanMin() local
174 () -> new HalAudioDeviceInfo(audioPort)); in constructor_requiresMaxGainLargerThanMin()
193 AudioPort audioPort = CarAudioHalTestUtils.createAudioPort(PORT_ID, PORT_NAME, gains, in constructor_requiresDefaultGainLargerThanMin() local
197 () -> new HalAudioDeviceInfo(audioPort)); in constructor_requiresDefaultGainLargerThanMin()
[all …]
DCarAudioHalTestUtils.java52 AudioPort audioPort = new AudioPort(); in createAudioPort() local
53 audioPort.id = id; in createAudioPort()
54 audioPort.name = name; in createAudioPort()
55 audioPort.gains = gains; in createAudioPort()
56 audioPort.ext = AudioPortExt.device(deviceExt); in createAudioPort()
57 return audioPort; in createAudioPort()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DHalAudioDeviceInfoBuilder.java97 AudioPort audioPort = new AudioPort(); in build() local
98 audioPort.id = mId; in build()
99 audioPort.name = mName; in build()
100 audioPort.gains = new android.media.audio.common.AudioGain[] { in build()
109 audioPort.ext = AudioPortExt.device(deviceExt); in build()
110 return new HalAudioDeviceInfo(audioPort); in build()
DCarAudioVolumeGroupTest.java787 AudioPort audioPort = new AudioPort(); in createHalAudioDeviceInfo() local
788 audioPort.id = id; in createHalAudioDeviceInfo()
789 audioPort.name = name; in createHalAudioDeviceInfo()
790 audioPort.gains = new android.media.audio.common.AudioGain[] { in createHalAudioDeviceInfo()
799 audioPort.ext = AudioPortExt.device(deviceExt); in createHalAudioDeviceInfo()
800 return new HalAudioDeviceInfo(audioPort); in createHalAudioDeviceInfo()
DCarAudioServiceUnitTest.java6444 AudioPort audioPort = new AudioPort(); in createHalAudioDeviceInfo() local
6445 audioPort.id = id; in createHalAudioDeviceInfo()
6446 audioPort.name = name; in createHalAudioDeviceInfo()
6447 audioPort.gains = new android.media.audio.common.AudioGain[] { in createHalAudioDeviceInfo()
6456 audioPort.ext = AudioPortExt.device(deviceExt); in createHalAudioDeviceInfo()
6457 return new HalAudioDeviceInfo(audioPort); in createHalAudioDeviceInfo()