Home
last modified time | relevance | path

Searched refs:audioStreamModel (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/volume/domain/interactor/
DAudioVolumeInteractor.kt100 audioStreamModel: AudioStreamModel, in <lambda>()
105 return audioRepository.getLastAudibleVolume(audioStreamModel.audioStream) in <lambda>()
108 audioStreamModel.audioStream.value == AudioManager.STREAM_RING || in <lambda>()
109 audioStreamModel.audioStream.value == AudioManager.STREAM_NOTIFICATION in <lambda>()
113 audioStreamModel.audioStream.value == AudioManager.STREAM_RING || in <lambda>()
114 (audioStreamModel.audioStream.value == AudioManager.STREAM_NOTIFICATION && in <lambda>()
115 audioStreamModel.isMuted) in <lambda>()
117 return audioStreamModel.minVolume in <lambda>()
119 } else if (audioStreamModel.isMuted) { in <lambda>()
120 return audioStreamModel.minVolume in <lambda>()
[all …]
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/volume/domain/interactor/
DAudioVolumeInteractorTest.kt210 val audioStreamModel by collectLastValue(underTest.getAudioStream(audioStream)) in streamNotAffectedByMute_isNotMutable() constant
212 audioStreamModel!!.copy(isAffectedByMute = false, isMuted = false) in streamNotAffectedByMute_isNotMutable()
218 assertThat(audioStreamModel!!.isAffectedByMute).isFalse() in streamNotAffectedByMute_isNotMutable()
219 assertThat(audioStreamModel!!.isMuted).isFalse() in streamNotAffectedByMute_isNotMutable()
252 val audioStreamModel by in testReducingVolumeToMin_mutes() constant
254 underTest.setVolume(audioStream, audioStreamModel!!.maxVolume) in testReducingVolumeToMin_mutes()
257 underTest.setVolume(audioStream, audioStreamModel!!.minVolume) in testReducingVolumeToMin_mutes()
260 assertThat(audioStreamModel!!.isMuted).isTrue() in testReducingVolumeToMin_mutes()
268 val audioStreamModel by in testIncreasingVolumeFromMin_unmutes() constant
271 audioRepository.setVolume(audioStream, audioStreamModel!!.minVolume) in testIncreasingVolumeFromMin_unmutes()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/panel/component/volume/slider/ui/viewmodel/
DAudioStreamSliderViewModel.kt133 audioVolumeInteractor.setMuted(audioStream, !audioViewModel.audioStreamModel.isMuted) in <lambda>()
187 audioStreamModel = this, in <lambda>()
228 val audioStreamModel: AudioStreamModel, in <lambda>() constant in com.android.systemui.volume.panel.component.volume.slider.ui.viewmodel.AudioStreamSliderViewModel.State