Home
last modified time | relevance | path

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

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/hal/
DHalAudioDeviceInfoTest.java69 AudioPortDeviceExt deviceExt = CarAudioHalTestUtils.createAudioPortDeviceExt(OUT_DEVICE, in constructor_succeeds() local
72 deviceExt); in constructor_succeeds()
122 AudioPortDeviceExt deviceExt = CarAudioHalTestUtils.createAudioPortDeviceExt(OUT_DEVICE, in constructor_requiresNonNullAudioGains() local
125 deviceExt); in constructor_requiresNonNullAudioGains()
145 AudioPortDeviceExt deviceExt = CarAudioHalTestUtils.createAudioPortDeviceExt(OUT_DEVICE, in constructor_requiresJointModeAudioGain() local
148 deviceExt); in constructor_requiresJointModeAudioGain()
168 AudioPortDeviceExt deviceExt = CarAudioHalTestUtils.createAudioPortDeviceExt(OUT_DEVICE, in constructor_requiresMaxGainLargerThanMin() local
171 deviceExt); in constructor_requiresMaxGainLargerThanMin()
191 AudioPortDeviceExt deviceExt = CarAudioHalTestUtils.createAudioPortDeviceExt(OUT_DEVICE, in constructor_requiresDefaultGainLargerThanMin() local
194 deviceExt); in constructor_requiresDefaultGainLargerThanMin()
[all …]
DCarAudioHalTestUtils.java41 AudioPortDeviceExt deviceExt = new AudioPortDeviceExt(); in createAudioPortDeviceExt() local
42 deviceExt.device = new AudioDevice(); in createAudioPortDeviceExt()
43 deviceExt.device.type = new AudioDeviceDescription(); in createAudioPortDeviceExt()
44 deviceExt.device.type.type = type; in createAudioPortDeviceExt()
45 deviceExt.device.type.connection = connection; in createAudioPortDeviceExt()
46 deviceExt.device.address = AudioDeviceAddress.id(address); in createAudioPortDeviceExt()
47 return deviceExt; in createAudioPortDeviceExt()
51 AudioPortDeviceExt deviceExt) { in createAudioPort() argument
56 audioPort.ext = AudioPortExt.device(deviceExt); in createAudioPort()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DHalAudioDeviceInfoBuilder.java91 AudioPortDeviceExt deviceExt = new AudioPortDeviceExt(); in build() local
92 deviceExt.device = new AudioDevice(); in build()
93 deviceExt.device.type = new AudioDeviceDescription(); in build()
94 deviceExt.device.type.type = mType; in build()
95 deviceExt.device.type.connection = CONNECTION_BUS; in build()
96 deviceExt.device.address = AudioDeviceAddress.id(mAddress); in build()
109 audioPort.ext = AudioPortExt.device(deviceExt); in build()
DCarAudioVolumeGroupTest.java781 AudioPortDeviceExt deviceExt = new AudioPortDeviceExt(); in createHalAudioDeviceInfo() local
782 deviceExt.device = new AudioDevice(); in createHalAudioDeviceInfo()
783 deviceExt.device.type = new AudioDeviceDescription(); in createHalAudioDeviceInfo()
784 deviceExt.device.type.type = type; in createHalAudioDeviceInfo()
785 deviceExt.device.type.connection = CONNECTION_BUS; in createHalAudioDeviceInfo()
786 deviceExt.device.address = AudioDeviceAddress.id(address); in createHalAudioDeviceInfo()
799 audioPort.ext = AudioPortExt.device(deviceExt); in createHalAudioDeviceInfo()
DCarAudioServiceUnitTest.java6438 AudioPortDeviceExt deviceExt = new AudioPortDeviceExt(); in createHalAudioDeviceInfo() local
6439 deviceExt.device = new AudioDevice(); in createHalAudioDeviceInfo()
6440 deviceExt.device.type = new AudioDeviceDescription(); in createHalAudioDeviceInfo()
6441 deviceExt.device.type.type = type; in createHalAudioDeviceInfo()
6442 deviceExt.device.type.connection = CONNECTION_BUS; in createHalAudioDeviceInfo()
6443 deviceExt.device.address = AudioDeviceAddress.id(address); in createHalAudioDeviceInfo()
6456 audioPort.ext = AudioPortExt.device(deviceExt); in createHalAudioDeviceInfo()