Home
last modified time | relevance | path

Searched refs:muteReasons (Results 1 – 2 of 2) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DCarAudioGainMonitorTest.java491 List<Integer> muteReasons = List.of(Reasons.TCU_MUTE, Reasons.REMOTE_MUTE); in shouldMuteVolumeGroup_forEach_returnsTrue() local
493 for (int index = 0; index < muteReasons.size(); index++) { in shouldMuteVolumeGroup_forEach_returnsTrue()
494 List<Integer> reasons = Arrays.asList(muteReasons.get(index)); in shouldMuteVolumeGroup_forEach_returnsTrue()
502 List<Integer> muteReasons = List.of(Reasons.TCU_MUTE, Reasons.REMOTE_MUTE); in shouldMuteVolumeGroup_returnsTrue() local
505 .that(CarAudioGainMonitor.shouldMuteVolumeGroup(muteReasons)).isTrue(); in shouldMuteVolumeGroup_returnsTrue()
DCarVolumeGroupUnitTest.java212 List<Integer> muteReasons = List.of(Reasons.TCU_MUTE); in setMuted_whenHalMuted_onActivation_returnsTrue() local
218 carVolumeGroup.onAudioGainChanged(muteReasons, musicCarGain); in setMuted_whenHalMuted_onActivation_returnsTrue()
228 List<Integer> muteReasons = List.of(Reasons.TCU_MUTE); in setMuted_whenHalMuted_onDeactivation_returnsFalse() local
234 carVolumeGroup.onAudioGainChanged(muteReasons, musicCarGain); in setMuted_whenHalMuted_onDeactivation_returnsFalse()
360 List<Integer> muteReasons = List.of(Reasons.TCU_MUTE); in isHalMuted_withHalMuted() local
366 carVolumeGroup.onAudioGainChanged(muteReasons, musicCarGain); in isHalMuted_withHalMuted()
387 List<Integer> muteReasons = List.of(Reasons.TCU_MUTE); in getMutedBySystem_withHalMuted() local
393 carVolumeGroup.onAudioGainChanged(muteReasons, musicCarGain); in getMutedBySystem_withHalMuted()
1289 List<Integer> muteReasons = List.of(Reasons.TCU_MUTE); in onAudioGainChanged_withMutedGain_thenEndsAndRestoresVolume() local
1297 .that(carVolumeGroup.onAudioGainChanged(muteReasons, musicCarGain)) in onAudioGainChanged_withMutedGain_thenEndsAndRestoresVolume()
[all …]