Home
last modified time | relevance | path

Searched refs:minVolume (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/volume/domain/interactor/
DAudioVolumeInteractor.kt56 volume == streamModel.minVolume -> setMuted(audioStream, true) in <lambda>()
57 oldVolume == streamModel.minVolume && volume > streamModel.minVolume -> in <lambda>()
76 if (volume == minVolume) { in <lambda>()
117 return audioStreamModel.minVolume in <lambda>()
120 return audioStreamModel.minVolume in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/volume/domain/interactor/
DAudioVolumeInteractorTest.kt257 underTest.setVolume(audioStream, audioStreamModel!!.minVolume) in testReducingVolumeToMin_mutes()
271 audioRepository.setVolume(audioStream, audioStreamModel!!.minVolume) in testIncreasingVolumeFromMin_unmutes()
288 audioRepository.setVolume(audioStream, audioStreamModel!!.minVolume) in testUnmutingMinVolume_increasesVolume()
294 assertThat(audioStreamModel!!.volume).isGreaterThan(audioStreamModel!!.minVolume) in testUnmutingMinVolume_increasesVolume()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/volume/shared/model/
DAudioStreamModel.kt23 val minVolume: Int, constant in com.android.settingslib.volume.shared.model.AudioStreamModel
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/volume/data/repository/
DAudioRepositoryTest.kt181 minVolume = MIN_VOLUME, in adjustingVolume_changesTheStream()
210 minVolume = MIN_VOLUME, in muteStream_mutesTheStream()
240 minVolume = MIN_VOLUME, in unmuteStream_unmutesTheStream()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/volume/data/repository/
DFakeAudioRepository.kt54 minVolume = 0, in getAudioStreamModelState()
/frameworks/av/services/mediametrics/
DAudioPowerUsage.cpp350 double minVolume = AMEDIAMETRICS_INITIAL_MIN_VOLUME; in checkTrackRecord() local
364 if (!item->getDouble(AMEDIAMETRICS_PROP_DEVICEMINVOLUME, &minVolume)) { in checkTrackRecord()
402 maxVolumeDurationNs, maxVolume, minVolumeDurationNs, minVolume); in checkTrackRecord()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/panel/component/volume/slider/ui/viewmodel/
DAudioStreamSliderViewModel.kt215 get() = minVolume..maxVolume in <lambda>()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/volume/data/repository/
DAudioRepository.kt179 minVolume = getMinVolume(audioStream), in getCurrentAudioStream()
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiCecLocalDeviceAudioSystem.java925 int minVolume = mService.getAudioManager().getStreamMinVolume(AudioManager.STREAM_MUSIC); in reportAudioStatus() local
928 minVolume, maxVolume, scaledVolume); in reportAudioStatus()
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java1216 int minVolume = AudioSystem.getMinVolumeIndexForAttributes(attr); in AudioService() local
1217 if (minVolume != -1) { in AudioService()
1218 MIN_STREAM_VOLUME[streamType] = minVolume; in AudioService()