Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/audio/
DAbsoluteVolumeBehaviorTest.java156 .setVolumeIndex(250) in registerDispatcher_setsVolume()
225 .setVolumeIndex(0) in setStreamVolume_noAbsVolFlag_dispatchesVolumeChanged()
242 new VolumeInfo.Builder(volumeInfo).setVolumeIndex(250).build()); in setStreamVolume_noAbsVolFlag_dispatchesVolumeChanged()
251 .setVolumeIndex(0) in setStreamVolume_absVolFlagSet_doesNotDispatchVolumeChanged()
276 .setVolumeIndex(0) in adjustStreamVolume_handlesAdjust_noAbsVolFlag_noVolChange_dispatchesVolumeAdjusted()
306 .setVolumeIndex(0) in adjustStreamVolume_noHandleAdjust_noAbsVolFlag_volChanges_dispatchesVolumeChanged()
335 .setVolumeIndex(0) in adjustStreamVolume_absVolFlagSet_streamVolumeChanges_nothingDispatched()
363 .setVolumeIndex(0) in switchAbsoluteVolumeBehaviorToAdjustOnly_onlyDispatchesVolumeChangeForNewListener()
390 DEVICE_SPEAKER_OUT, new VolumeInfo.Builder(volumeInfo).setVolumeIndex(250).build()); in switchAbsoluteVolumeBehaviorToAdjustOnly_onlyDispatchesVolumeChangeForNewListener()
DAudioDeviceVolumeManagerTest.java102 final VolumeInfo volMin = new VolumeInfo.Builder(volMedia).setVolumeIndex(minIndex).build(); in setDeviceVolume_checkIndex()
103 final VolumeInfo volMid = new VolumeInfo.Builder(volMedia).setVolumeIndex(midIndex).build(); in setDeviceVolume_checkIndex()
145 .setVolumeIndex(i + 1).build(); in configurablePreScaleAbsoluteVolume_checkIndex()
158 .setVolumeIndex(4).build(); in configurablePreScaleAbsoluteVolume_checkIndex()
183 .setVolumeIndex(i + 1).build(); in disablePreScaleAbsoluteVolume_checkIndex()
196 .setVolumeIndex(4).build(); in disablePreScaleAbsoluteVolume_checkIndex()
DVolumeHelperTest.java539 final VolumeInfo volMin = new VolumeInfo.Builder(volMedia).setVolumeIndex(minIndex).build(); in setDeviceVolume_checkIndex()
540 final VolumeInfo volMid = new VolumeInfo.Builder(volMedia).setVolumeIndex(midIndex).build(); in setDeviceVolume_checkIndex()
586 .setVolumeIndex(i + 1).build(); in configurablePreScaleAbsoluteVolume_checkIndex()
602 .setVolumeIndex(4).build(); in configurablePreScaleAbsoluteVolume_checkIndex()
630 .setVolumeIndex(i + 1).build(); in disablePreScaleAbsoluteVolume_checkIndex()
643 .setVolumeIndex(4).build(); in disablePreScaleAbsoluteVolume_checkIndex()
/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/
DBaseTvToAudioSystemAvbTest.java109 .setVolumeIndex(20) in savlNotSupported_systemAudioDeviceSendsReportAudioStatus_adjustOnlyAvbEnabled()
132 .setVolumeIndex(40) in avbEnabled_savlNotSupported_receiveReportAudioStatus_switchToAdjustOnlyAvb()
157 .setVolumeIndex(40) in avbEnabled_savlFeatureAborted_receiveReportAudioStatus_switchToAdjustOnlyAvb()
246 .setVolumeIndex(20) in adjustOnlyAvbEnabled_audioDeviceVolumeChanged_requestsAndUpdatesAudioStatus()
DBaseAbsoluteVolumeBehaviorTest.java104 .setVolumeIndex(INITIAL_SYSTEM_AUDIO_DEVICE_STATUS.getVolume())
429 .setVolumeIndex(60) in giveAudioStatusSent_systemAudioDeviceSendsReportAudioStatus_avbEnabled()
560 .setVolumeIndex(20) in avbEnabled_receiveReportAudioStatus_notifiesVolumeOrMuteChanges()
604 .setVolumeIndex(20) in avbEnabled_audioDeviceVolumeChanged_sendsSetAudioVolumeLevel()
/frameworks/base/media/java/android/media/
DVolumeInfo.java255 public @NonNull Builder setVolumeIndex(int volIndex) { in setVolumeIndex() method in VolumeInfo.Builder
/frameworks/base/services/core/java/com/android/server/audio/
DAudioManagerShellCommand.java307 final VolumeInfo volume = new VolumeInfo.Builder(stream).setVolumeIndex(index).build(); in setDeviceVolume()
DAudioService.java4097 vgs.setVolumeIndex(index, flags); in setVolumeGroupVolumeIndex()
4871 .setVolumeIndex(rescaleIndex(index, streamType, volumeInfo)) in dispatchAbsoluteVolumeChanged()
4886 .setVolumeIndex(rescaleIndex(index, streamType, volumeInfo)) in dispatchAbsoluteVolumeAdjusted()
5317 vib.setVolumeIndex(index); in getDeviceVolume()
8257 setVolumeIndex(Math.min(previousIndex + 1, mIndexMax), device, flags); in adjustVolume()
8267 setVolumeIndex(newIndex, device, flags); in adjustVolume()
8281 public void setVolumeIndex(int index, int flags) { in setVolumeIndex() method in AudioService.VolumeGroupState
8287 setVolumeIndex(index, getDeviceForVolume(), flags); in setVolumeIndex()
8293 private void setVolumeIndex(int index, int device, int flags) { in setVolumeIndex() method in AudioService.VolumeGroupState
9082 .setVolumeIndex(index) in getVolumeInfo()
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiControlService.java4699 .setVolumeIndex(audioStatus.getVolume()) in enableAbsoluteVolumeBehavior()
/frameworks/base/core/api/
Dsystem-current.txt7436 method @NonNull public android.media.VolumeInfo.Builder setVolumeIndex(int);