Home
last modified time | relevance | path

Searched refs:getStreamMaxVolume (Results 1 – 25 of 39) sorted by relevance

12

/frameworks/base/services/core/java/com/android/server/media/
DVolumeCtrl.java138 if ((volIndex > audioService.getStreamMaxVolume(stream)) in run()
143 audioService.getStreamMaxVolume(stream))); in run()
160 + ".." + audioService.getStreamMaxVolume(stream) + "]"); in run()
DLegacyDeviceRouteController.java183 mAudioManager.getStreamMaxVolume(AudioManager.STREAM_MUSIC)) in createRouteFromAudioInfo()
DAudioManagerRouteController.java315 /* musicMaxVolume= */ mAudioManager.getStreamMaxVolume(AudioManager.STREAM_MUSIC), in rebuildAvailableRoutes()
DLegacyBluetoothRouteController.java322 .setVolumeMax(mAudioManager.getStreamMaxVolume(AudioManager.STREAM_MUSIC)) in createBluetoothRoute()
/frameworks/base/services/tests/servicestests/src/com/android/server/audio/
DAbsoluteVolumeBehaviorTest.java165 .isEqualTo(mAudioService.getStreamMaxVolume(AudioManager.STREAM_MUSIC)); in registerDispatcher_setsVolume()
189 /*index*/ mAudioService.getStreamMaxVolume(AudioManager.STREAM_MUSIC), in unregisterDispatcher_deviceBecomesVariableVolume_listenerNoLongerTriggered()
212 /*index*/ mAudioService.getStreamMaxVolume(AudioManager.STREAM_MUSIC), in setDeviceVolumeBehavior_unregistersDispatcher()
236 /*index*/ mAudioService.getStreamMaxVolume(AudioManager.STREAM_MUSIC), in setStreamVolume_noAbsVolFlag_dispatchesVolumeChanged()
262 /*index*/ mAudioService.getStreamMaxVolume(AudioManager.STREAM_MUSIC), in setStreamVolume_absVolFlagSet_doesNotDispatchVolumeChanged()
382 /*index*/ mAudioService.getStreamMaxVolume(AudioManager.STREAM_MUSIC), in switchAbsoluteVolumeBehaviorToAdjustOnly_onlyDispatchesVolumeChangeForNewListener()
DAudioDeviceVolumeManagerTest.java96 final int maxIndex = am.getStreamMaxVolume(AudioManager.STREAM_MUSIC); in setDeviceVolume_checkIndex()
123 final int maxIndex = am.getStreamMaxVolume(AudioManager.STREAM_MUSIC); in configurablePreScaleAbsoluteVolume_checkIndex()
172 final int maxIndex = am.getStreamMaxVolume(AudioManager.STREAM_MUSIC); in disablePreScaleAbsoluteVolume_checkIndex()
DVolumeHelperTest.java252 final int streamVolume = (mAm.getStreamMinVolume(streamType) + mAm.getStreamMaxVolume( in prepareAudioServiceState()
381 mAudioService.getStreamMaxVolume(STREAM_MUSIC)); in check_getVolumeGroupMaxVolumeIndex()
533 final int maxIndex = mAm.getStreamMaxVolume(STREAM_MUSIC); in setDeviceVolume_checkIndex()
564 final int maxIndex = mAm.getStreamMaxVolume(STREAM_MUSIC); in configurablePreScaleAbsoluteVolume_checkIndex()
619 final int maxIndex = mAm.getStreamMaxVolume(STREAM_MUSIC); in disablePreScaleAbsoluteVolume_checkIndex()
742 final int streamMaxVolume = mAm.getStreamMaxVolume(streamType) - 1; in circularNoMinMaxIncrementVolume()
DAudioServiceTest.java151 final int ringMaxVol = mAudioService.getStreamMaxVolume(AudioSystem.STREAM_RING); in testRingNotifAlias()
/frameworks/base/services/core/java/com/android/server/hdmi/
DDefaultAudioManagerWrapper.java67 public int getStreamMaxVolume(int streamType) { in getStreamMaxVolume() method in DefaultAudioManagerWrapper
68 return mAudioManager.getStreamMaxVolume(streamType); in getStreamMaxVolume()
DAudioManagerWrapper.java60 int getStreamMaxVolume(int streamType); in getStreamMaxVolume() method
DVolumeControlAction.java165 int maxVolume = audioManager.getStreamMaxVolume(AudioManager.STREAM_MUSIC); in shouldUpdateAudioVolume()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/
DMediaPresetReverbTest.java197 int volume = am.getStreamMaxVolume(AudioManager.STREAM_MUSIC); in test2_0AuxiliarySoundModification()
199 am.getStreamMaxVolume(AudioManager.STREAM_MUSIC), in test2_0AuxiliarySoundModification()
270 int volume = am.getStreamMaxVolume(AudioManager.STREAM_MUSIC); in test2_1InsertSoundModification()
272 am.getStreamMaxVolume(AudioManager.STREAM_MUSIC), in test2_1InsertSoundModification()
DMediaVisualizerTest.java232 int volume = am.getStreamMaxVolume(AudioManager.STREAM_MUSIC); in test2_0PollingCapture()
234 am.getStreamMaxVolume(AudioManager.STREAM_MUSIC), in test2_0PollingCapture()
311 int volume = am.getStreamMaxVolume(AudioManager.STREAM_MUSIC); in test2_1ListenerCapture()
313 am.getStreamMaxVolume(AudioManager.STREAM_MUSIC), in test2_1ListenerCapture()
445 final int volMax = am.getStreamMaxVolume(AudioManager.STREAM_MUSIC); in test2_2PollingCaptureVolumeScaling()
DMediaEnvReverbTest.java352 int volume = am.getStreamMaxVolume(AudioManager.STREAM_MUSIC); in test2_0AuxiliarySoundModification()
354 am.getStreamMaxVolume(AudioManager.STREAM_MUSIC), in test2_0AuxiliarySoundModification()
427 int volume = am.getStreamMaxVolume(AudioManager.STREAM_MUSIC); in test2_1InsertSoundModification()
429 am.getStreamMaxVolume(AudioManager.STREAM_MUSIC), in test2_1InsertSoundModification()
/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/
DHdmiCecLocalDeviceAudioSystemTest.java197 mAudioManager.getStreamMaxVolume(AudioManager.STREAM_MUSIC)); in handleGiveAudioStatus_volume_10_mute_true()
699 .getStreamMaxVolume(AudioManager.STREAM_MUSIC); in giveAudioStatus_volumeEnabled()
725 .getStreamMaxVolume(AudioManager.STREAM_MUSIC); in giveAudioStatus_volumeDisabled()
751 .getStreamMaxVolume(AudioManager.STREAM_MUSIC); in reportAudioStatus_volumeEnabled()
774 .getStreamMaxVolume(AudioManager.STREAM_MUSIC); in reportAudioStatus_volumeDisabled()
DFakeAudioFramework.java110 public int getStreamMaxVolume(int streamType) { in getStreamMaxVolume() method in FakeAudioFramework.FakeAudioManagerWrapper
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/volume/data/repository/
DAudioRepositoryTest.kt82 `when`(audioManager.getStreamMaxVolume(anyInt())).thenReturn(MAX_VOLUME) in setup()
/frameworks/base/media/tests/AudioPolicyTest/src/com/android/audiopolicytest/
DAudioManagerTest.java344 indexMax = mAudioManager.getStreamMaxVolume(avgStreamType); in testVolumeGroupCallback()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/volume/data/repository/
DAudioRepository.kt180 maxVolume = audioManager.getStreamMaxVolume(audioStream.value), in getCurrentAudioStream()
/frameworks/base/packages/SystemUI/accessibility/accessibilitymenu/src/com/android/systemui/accessibility/accessibilitymenu/
DAccessibilityMenuService.java353 final int maxVolume = mAudioManager.getStreamMaxVolume(AudioManager.STREAM_MUSIC); in adjustVolume()
/frameworks/layoutlib/bridge/src/android/media/
DAudioManager.java59 public int getStreamMaxVolume(int streamType) { in getStreamMaxVolume() method in AudioManager
/frameworks/base/services/tests/media/mediarouterservicetest/src/com/android/server/media/
DAudioManagerRouteControllerTest.java258 when(mMockAudioManager.getStreamMaxVolume(AudioManager.STREAM_MUSIC)).thenReturn(3); in updateVolume_propagatesCorrectlyToRouteInfo()
/frameworks/base/packages/SystemUI/accessibility/accessibilitymenu/tests/src/com/android/systemui/accessibility/accessibilitymenu/tests/
DAccessibilityMenuServiceTest.java328 int max = audioManager.getStreamMaxVolume(AudioManager.STREAM_MUSIC); in testAdjustVolume()
/frameworks/base/core/java/android/preference/
DSeekBarVolumizer.java197 mMaxStreamVolume = mAudioManager.getStreamMaxVolume(mStreamType); in SeekBarVolumizer()
/frameworks/base/media/java/android/media/
DIAudioService.aidl143 int getStreamMaxVolume(int streamType); in getStreamMaxVolume() method

12