/frameworks/base/services/core/java/com/android/server/media/ |
D | VolumeCtrl.java | 138 if ((volIndex > audioService.getStreamMaxVolume(stream)) in run() 143 audioService.getStreamMaxVolume(stream))); in run() 160 + ".." + audioService.getStreamMaxVolume(stream) + "]"); in run()
|
D | LegacyDeviceRouteController.java | 183 mAudioManager.getStreamMaxVolume(AudioManager.STREAM_MUSIC)) in createRouteFromAudioInfo()
|
D | AudioManagerRouteController.java | 315 /* musicMaxVolume= */ mAudioManager.getStreamMaxVolume(AudioManager.STREAM_MUSIC), in rebuildAvailableRoutes()
|
D | LegacyBluetoothRouteController.java | 322 .setVolumeMax(mAudioManager.getStreamMaxVolume(AudioManager.STREAM_MUSIC)) in createBluetoothRoute()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/audio/ |
D | AbsoluteVolumeBehaviorTest.java | 165 .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()
|
D | AudioDeviceVolumeManagerTest.java | 96 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()
|
D | VolumeHelperTest.java | 252 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()
|
D | AudioServiceTest.java | 151 final int ringMaxVol = mAudioService.getStreamMaxVolume(AudioSystem.STREAM_RING); in testRingNotifAlias()
|
/frameworks/base/services/core/java/com/android/server/hdmi/ |
D | DefaultAudioManagerWrapper.java | 67 public int getStreamMaxVolume(int streamType) { in getStreamMaxVolume() method in DefaultAudioManagerWrapper 68 return mAudioManager.getStreamMaxVolume(streamType); in getStreamMaxVolume()
|
D | AudioManagerWrapper.java | 60 int getStreamMaxVolume(int streamType); in getStreamMaxVolume() method
|
D | VolumeControlAction.java | 165 int maxVolume = audioManager.getStreamMaxVolume(AudioManager.STREAM_MUSIC); in shouldUpdateAudioVolume()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/ |
D | MediaPresetReverbTest.java | 197 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()
|
D | MediaVisualizerTest.java | 232 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()
|
D | MediaEnvReverbTest.java | 352 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/ |
D | HdmiCecLocalDeviceAudioSystemTest.java | 197 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()
|
D | FakeAudioFramework.java | 110 public int getStreamMaxVolume(int streamType) { in getStreamMaxVolume() method in FakeAudioFramework.FakeAudioManagerWrapper
|
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/volume/data/repository/ |
D | AudioRepositoryTest.kt | 82 `when`(audioManager.getStreamMaxVolume(anyInt())).thenReturn(MAX_VOLUME) in setup()
|
/frameworks/base/media/tests/AudioPolicyTest/src/com/android/audiopolicytest/ |
D | AudioManagerTest.java | 344 indexMax = mAudioManager.getStreamMaxVolume(avgStreamType); in testVolumeGroupCallback()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/volume/data/repository/ |
D | AudioRepository.kt | 180 maxVolume = audioManager.getStreamMaxVolume(audioStream.value), in getCurrentAudioStream()
|
/frameworks/base/packages/SystemUI/accessibility/accessibilitymenu/src/com/android/systemui/accessibility/accessibilitymenu/ |
D | AccessibilityMenuService.java | 353 final int maxVolume = mAudioManager.getStreamMaxVolume(AudioManager.STREAM_MUSIC); in adjustVolume()
|
/frameworks/layoutlib/bridge/src/android/media/ |
D | AudioManager.java | 59 public int getStreamMaxVolume(int streamType) { in getStreamMaxVolume() method in AudioManager
|
/frameworks/base/services/tests/media/mediarouterservicetest/src/com/android/server/media/ |
D | AudioManagerRouteControllerTest.java | 258 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/ |
D | AccessibilityMenuServiceTest.java | 328 int max = audioManager.getStreamMaxVolume(AudioManager.STREAM_MUSIC); in testAdjustVolume()
|
/frameworks/base/core/java/android/preference/ |
D | SeekBarVolumizer.java | 197 mMaxStreamVolume = mAudioManager.getStreamMaxVolume(mStreamType); in SeekBarVolumizer()
|
/frameworks/base/media/java/android/media/ |
D | IAudioService.aidl | 143 int getStreamMaxVolume(int streamType); in getStreamMaxVolume() method
|