Searched refs:muteReasons (Results 1 – 2 of 2) sorted by relevance
491 List<Integer> muteReasons = List.of(Reasons.TCU_MUTE, Reasons.REMOTE_MUTE); in shouldMuteVolumeGroup_forEach_returnsTrue() local493 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() local505 .that(CarAudioGainMonitor.shouldMuteVolumeGroup(muteReasons)).isTrue(); in shouldMuteVolumeGroup_returnsTrue()
212 List<Integer> muteReasons = List.of(Reasons.TCU_MUTE); in setMuted_whenHalMuted_onActivation_returnsTrue() local218 carVolumeGroup.onAudioGainChanged(muteReasons, musicCarGain); in setMuted_whenHalMuted_onActivation_returnsTrue()228 List<Integer> muteReasons = List.of(Reasons.TCU_MUTE); in setMuted_whenHalMuted_onDeactivation_returnsFalse() local234 carVolumeGroup.onAudioGainChanged(muteReasons, musicCarGain); in setMuted_whenHalMuted_onDeactivation_returnsFalse()360 List<Integer> muteReasons = List.of(Reasons.TCU_MUTE); in isHalMuted_withHalMuted() local366 carVolumeGroup.onAudioGainChanged(muteReasons, musicCarGain); in isHalMuted_withHalMuted()387 List<Integer> muteReasons = List.of(Reasons.TCU_MUTE); in getMutedBySystem_withHalMuted() local393 carVolumeGroup.onAudioGainChanged(muteReasons, musicCarGain); in getMutedBySystem_withHalMuted()1289 List<Integer> muteReasons = List.of(Reasons.TCU_MUTE); in onAudioGainChanged_withMutedGain_thenEndsAndRestoresVolume() local1297 .that(carVolumeGroup.onAudioGainChanged(muteReasons, musicCarGain)) in onAudioGainChanged_withMutedGain_thenEndsAndRestoresVolume()[all …]