Home
last modified time | relevance | path

Searched refs:HalAudioDeviceInfo (Results 1 – 15 of 15) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/hal/
DHalAudioDeviceInfoTest.java74 HalAudioDeviceInfo deviceInfo = new HalAudioDeviceInfo(audioPort); in constructor_succeeds()
114 () -> new HalAudioDeviceInfo(null)); in constructor_requiresNonNullAudioPort()
128 () -> new HalAudioDeviceInfo(audioPort)); in constructor_requiresNonNullAudioGains()
151 () -> new HalAudioDeviceInfo(audioPort)); in constructor_requiresJointModeAudioGain()
174 () -> new HalAudioDeviceInfo(audioPort)); in constructor_requiresMaxGainLargerThanMin()
197 () -> new HalAudioDeviceInfo(audioPort)); in constructor_requiresDefaultGainLargerThanMin()
220 () -> new HalAudioDeviceInfo(audioPort)); in constructor_requiresDefaultGainSmallerThanMax()
243 () -> new HalAudioDeviceInfo(audioPort)); in constructor_requiresGainStepSizeFactorOfRange()
266 () -> new HalAudioDeviceInfo(audioPort)); in constructor_requiresGainStepSizeFactorOfRangeToDefault()
282 () -> new HalAudioDeviceInfo(audioPort)); in constructor_requiresAudioPortDeviceExt()
[all …]
DAudioControlWrapperAidlTest.java899 HalAudioDeviceInfo mediaDeviceInfo = new HalAudioDeviceInfo(mediaAudioPort); in onAudioPortsChanged()
900 HalAudioDeviceInfo navDeviceInfo = new HalAudioDeviceInfo(navAudioPort); in onAudioPortsChanged()
910 ArgumentCaptor<List<HalAudioDeviceInfo>> audioDeviceInfoCaptor = ArgumentCaptor.forClass( in onAudioPortsChanged()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DCarAudioVolumeGroupTest.java63 import com.android.car.audio.hal.HalAudioDeviceInfo;
242 HalAudioDeviceInfo mediaBusDeviceInfo = createHalAudioDeviceInfo( in updateAudioDeviceInfo_succeeds()
245 HalAudioDeviceInfo navBusDeviceInfo = createHalAudioDeviceInfo( in updateAudioDeviceInfo_succeeds()
276 HalAudioDeviceInfo mediaBusDeviceInfo = createHalAudioDeviceInfo( in updateAudioDeviceInfo_invalidDeviceInfo_doesNotUpdate()
280 HalAudioDeviceInfo navBusDeviceInfo = createHalAudioDeviceInfo( in updateAudioDeviceInfo_invalidDeviceInfo_doesNotUpdate()
309 HalAudioDeviceInfo mediaBusDeviceInfo = createHalAudioDeviceInfo(MEDIA_PORT_ID, in calculateNewGainStageFromDeviceInfos_forSameGainStage_returnsNoEventType()
312 HalAudioDeviceInfo navBusDeviceInfo = createHalAudioDeviceInfo(NAV_PORT_ID, in calculateNewGainStageFromDeviceInfos_forSameGainStage_returnsNoEventType()
334 HalAudioDeviceInfo mediaBusDeviceInfo = createHalAudioDeviceInfo(MEDIA_PORT_ID, in calculateNewGainStageFromDeviceInfos_withOnlyDefaultUpdate_returnsNoEventType()
337 HalAudioDeviceInfo navBusDeviceInfo = createHalAudioDeviceInfo(NAV_PORT_ID, in calculateNewGainStageFromDeviceInfos_withOnlyDefaultUpdate_returnsNoEventType()
359 HalAudioDeviceInfo mediaBusDeviceInfo = createHalAudioDeviceInfo(MEDIA_PORT_ID, in calculateNewGainStageFromDeviceInfos_withDifferentStepValues_throws()
[all …]
DCarAudioZoneUnitTest.java56 import com.android.car.audio.hal.HalAudioDeviceInfo;
731 HalAudioDeviceInfo musicDeviceInfo = new HalAudioDeviceInfoBuilder() in onAudioPortsChanged_withDeviceAddressInZone()
733 HalAudioDeviceInfo navDeviceInfo = new HalAudioDeviceInfoBuilder().setId(TEST_PORT_ID_NAV) in onAudioPortsChanged_withDeviceAddressInZone()
737 List<HalAudioDeviceInfo> deviceInfoList = List.of(musicDeviceInfo, navDeviceInfo); in onAudioPortsChanged_withDeviceAddressInZone()
752 HalAudioDeviceInfo musicDeviceInfo = new HalAudioDeviceInfoBuilder() in onAudioPortsChanged_withMultipledeviceInfoForSameGroup_createsNoDuplicateEvents()
757 HalAudioDeviceInfo musicDeviceInfoDup = new HalAudioDeviceInfoBuilder() in onAudioPortsChanged_withMultipledeviceInfoForSameGroup_createsNoDuplicateEvents()
764 List<HalAudioDeviceInfo> deviceInfos = List.of(musicDeviceInfo, musicDeviceInfoDup); in onAudioPortsChanged_withMultipledeviceInfoForSameGroup_createsNoDuplicateEvents()
772 HalAudioDeviceInfo navDeviceInfo = new HalAudioDeviceInfoBuilder().setId(TEST_PORT_ID_NAV) in onAudioPortsChanged_withoutAnyDeviceAddressInZone()
791 HalAudioDeviceInfo musicDeviceInfo = new HalAudioDeviceInfoBuilder() in onAudioPortsChanged_forMultipleZoneConfig_generateEventsForActiveZoneConfig()
793 HalAudioDeviceInfo configDeviceInfo = new HalAudioDeviceInfoBuilder() in onAudioPortsChanged_forMultipleZoneConfig_generateEventsForActiveZoneConfig()
[all …]
DHalAudioDeviceInfoBuilder.java36 import com.android.car.audio.hal.HalAudioDeviceInfo;
90 HalAudioDeviceInfo build() { in build()
110 return new HalAudioDeviceInfo(audioPort); in build()
DCarAudioServiceUnitTest.java204 import com.android.car.audio.hal.HalAudioDeviceInfo;
3976 HalAudioDeviceInfo mediaBusDeviceInfo = createHalAudioDeviceInfo( in onAudioPortsChanged_forMediaBus_changesVolumeRanges()
4001 HalAudioDeviceInfo navBusDeviceInfo = createHalAudioDeviceInfo( in onAudioPortsChanged_forNavBus_changesVolumeRanges()
4018 HalAudioDeviceInfo mediaBusDeviceInfo = createHalAudioDeviceInfo( in onAudioPortsChanged_forMultipleBuses_changesVolumeRanges()
4021 HalAudioDeviceInfo navBusDeviceInfo = createHalAudioDeviceInfo( in onAudioPortsChanged_forMultipleBuses_changesVolumeRanges()
6436 private HalAudioDeviceInfo createHalAudioDeviceInfo(int id, String name, int minVal, in createHalAudioDeviceInfo()
6457 return new HalAudioDeviceInfo(audioPort); in createHalAudioDeviceInfo()
/packages/services/Car/service/src/com/android/car/audio/hal/
DHalAudioDeviceInfo.java39 public final class HalAudioDeviceInfo { class
48 public HalAudioDeviceInfo(AudioPort port) { in HalAudioDeviceInfo() method in HalAudioDeviceInfo
125 if (!(o instanceof HalAudioDeviceInfo)) { in equals()
129 HalAudioDeviceInfo rhs = (HalAudioDeviceInfo) o; in equals()
DHalAudioModuleChangeCallback.java30 void onAudioPortsChanged(List<HalAudioDeviceInfo> deviceInfos); in onAudioPortsChanged()
DAudioControlWrapperAidl.java510 List<HalAudioDeviceInfo> halAudioDeviceInfos = new ArrayList<>(); in onAudioPortsChanged()
513 halAudioDeviceInfos.add(new HalAudioDeviceInfo(port)); in onAudioPortsChanged()
/packages/services/Car/service/src/com/android/car/audio/
DCarAudioModuleChangeMonitor.java25 import com.android.car.audio.hal.HalAudioDeviceInfo;
73 void handleAudioPortsChanged(List<HalAudioDeviceInfo> deviceInfos) { in handleAudioPortsChanged()
DCarAudioDeviceInfo.java39 import com.android.car.audio.hal.HalAudioDeviceInfo;
296 void updateAudioDeviceInfo(HalAudioDeviceInfo halDeviceInfo) { in updateAudioDeviceInfo()
DCarAudioZone.java35 import com.android.car.audio.hal.HalAudioDeviceInfo;
387 List<CarVolumeGroupEvent> onAudioPortsChanged(List<HalAudioDeviceInfo> deviceInfos) { in onAudioPortsChanged()
DCarAudioZoneConfig.java42 import com.android.car.audio.hal.HalAudioDeviceInfo;
519 List<CarVolumeGroupEvent> onAudioPortsChanged(List<HalAudioDeviceInfo> deviceInfos) { in onAudioPortsChanged()
526 HalAudioDeviceInfo deviceInfo = deviceInfos.get(index); in onAudioPortsChanged()
DCarVolumeGroup.java65 import com.android.car.audio.hal.HalAudioDeviceInfo;
1017 void updateAudioDeviceInfo(HalAudioDeviceInfo halDeviceInfo) { in updateAudioDeviceInfo()
DCarAudioService.java141 import com.android.car.audio.hal.HalAudioDeviceInfo;
397 public void onAudioPortsChanged(List<HalAudioDeviceInfo> deviceInfos) {
3756 private void handleAudioPortsChangedLocked(List<HalAudioDeviceInfo> deviceInfos) {