/packages/services/Car/service/src/com/android/car/audio/ |
D | AudioManagerWrapper.java | 178 int getStreamMaxVolume(int stream) { in getStreamMaxVolume() method in AudioManagerWrapper 179 return mAudioManager.getStreamMaxVolume(stream); in getStreamMaxVolume()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/ |
D | VolumeSeekBarPreferenceTest.java | 90 when(mAudioManager.getStreamMaxVolume(STREAM)).thenReturn(max); in setStream_shouldSetMinMaxAndProgress() 159 when(mAudioManager.getStreamMaxVolume(STREAM)).thenReturn(max); in init_changeProgress_stateDescriptionValueUpdated()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/ |
D | AudioManagerWrapperTest.java | 379 public void getStreamMaxVolume() { in getStreamMaxVolume() method in AudioManagerWrapperTest 382 when(mAudioManager.getStreamMaxVolume(stream)).thenReturn(index); in getStreamMaxVolume() 385 mAudioManagerWrapper.getStreamMaxVolume(stream)).isEqualTo(index); in getStreamMaxVolume()
|
/packages/apps/Settings/src/com/android/settings/notification/ |
D | AudioHelper.java | 77 return mAudioManager.getStreamMaxVolume(stream); in getMaxVolume()
|
D | VolumeSeekBarPreference.java | 102 setMax(mAudioManager.getStreamMaxVolume(mStream)); in setStream()
|
/packages/services/Telephony/src/com/android/services/telephony/ |
D | EmergencyTonePlayer.java | 119 mAudioManager.getStreamMaxVolume(AudioManager.STREAM_VOICE_CALL), in startAlert()
|
/packages/apps/EmergencyInfo/EmergencyGestureAction/src/com/android/emergency/action/sensoryfeedback/ |
D | EmergencyActionAlarmHelper.java | 106 mAudioManager.getStreamMaxVolume(streamType), 0); in setAlarmVolumeToFull()
|
/packages/apps/DeskClock/src/com/android/deskclock/settings/ |
D | AlarmVolumePreference.kt | 54 val maxVolume = audioManager.getStreamMaxVolume(STREAM_ALARM) - getMinVolume(audioManager) in onBindViewHolder()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/avrcp/ |
D | AvrcpVolumeManagerTest.java | 67 when(mAudioManager.getStreamMaxVolume(AudioManager.STREAM_MUSIC)) in setUp()
|
/packages/apps/Settings/src/com/android/settings/connecteddevice/audiosharing/ |
D | AudioSharingDeviceVolumeControlUpdater.java | 174 audioManager.getStreamMaxVolume(AudioManager.STREAM_MUSIC) in setAudioManagerStreamVolume()
|
D | AudioSharingDeviceVolumeGroupController.java | 407 int max = audioManager.getStreamMaxVolume(AudioManager.STREAM_MUSIC); in getAudioVolumeIfNeeded()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/displaysound/ |
D | VolumeChangePreferenceFragment.java | 133 final int maxIndex = am.getStreamMaxVolume(AudioManager.STREAM_MUSIC); in commit()
|
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/ |
D | CellBroadcastAlertAudioTest.java | 238 doReturn(TEST_MAX_VOLUME).when(mMockedAudioManager).getStreamMaxVolume( in testStartServiceNotInCallOverrideDnd() 468 doReturn(TEST_MAX_VOLUME).when(mMockedAudioManager).getStreamMaxVolume( in testStartServiceMuteWithOverrideDnd()
|
/packages/modules/AdServices/sdksandbox/tests/cts/inprocess/src/com/android/sdksandbox/tests/cts/inprocess/ |
D | SdkSandboxConfigurationTest.java | 260 int maxVolume = audioManager.getStreamMaxVolume(AudioManager.STREAM_SYSTEM); in testCanAccessVolume()
|
/packages/modules/AdServices/sdksandbox/tests/manual-test-apps/SdkSandboxCodeProvider/src/com/android/sdksandboxcode_1/ |
D | SdkApi.java | 160 int maxVolume = audioManager.getStreamMaxVolume(AudioManager.STREAM_MUSIC); in getSandboxDump()
|
/packages/modules/Bluetooth/android/pandora/server/src/ |
D | Asha.kt | 242 val maxVolume = audioManager.getStreamMaxVolume(AudioManager.STREAM_MUSIC) in playbackAudio()
|
D | A2dp.kt | 264 val maxVolume = audioManager.getStreamMaxVolume(AudioManager.STREAM_MUSIC) in playbackAudio()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/avrcp/ |
D | AvrcpVolumeManager.java | 175 sDeviceMaxVolume = mAudioManager.getStreamMaxVolume(AudioManager.STREAM_MUSIC); in AvrcpVolumeManager()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/avrcpcontroller/ |
D | AvrcpControllerStateMachine.java | 1198 int maxLocalVolume = mAudioManager.getStreamMaxVolume(AudioManager.STREAM_MUSIC); in setAbsVolume() 1226 int maxVolume = mAudioManager.getStreamMaxVolume(AudioManager.STREAM_MUSIC); in getAbsVolume()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/audiosharing/ |
D | AudioSharingDeviceVolumeControlUpdaterTest.java | 288 when(mAudioManager.getStreamMaxVolume(AudioManager.STREAM_MUSIC)) in addPreference_fallbackDevice_setStreamVolume()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/vc/ |
D | VolumeControlServiceTest.java | 121 .getStreamMaxVolume(eq(AudioManager.STREAM_MUSIC)); in setUp() 127 .getStreamMaxVolume(eq(AudioManager.STREAM_VOICE_CALL)); in setUp() 587 mAudioManager.getStreamMaxVolume(streamType), in testVolumeCalculations()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hfpclient/ |
D | HeadsetClientStateMachineTest.java | 122 when(mAudioManager.getStreamMaxVolume(anyInt())).thenReturn(10); in setUp() 205 when(mAudioManager.getStreamMaxVolume(anyInt())).thenReturn(amMax); in testAmHfVolumeSymmetric_AmLowerRange() 238 when(mAudioManager.getStreamMaxVolume(anyInt())).thenReturn(amMax);
|
/packages/services/Car/tests/BugReportApp/src/com/android/car/bugreport/ |
D | BugReportService.java | 627 int maxVolume = audioManager.getStreamMaxVolume(AudioManager.STREAM_NOTIFICATION); in playNotificationSound()
|
/packages/apps/DeskClock/src/com/android/deskclock/data/ |
D | DataModel.kt | 106 val index = (am.getStreamMaxVolume(STREAM_ALARM) * 11f / 16f).roundToInt() in onClick()
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
D | CellBroadcastAlertAudio.java | 802 mAudioManager.getStreamMaxVolume(streamType), 0); in setAlarmStreamVolumeToFull()
|