/packages/apps/Settings/src/com/android/settings/notification/ |
D | AudioHelper.java | 67 public int getStreamVolume(int stream) { in getStreamVolume() method in AudioHelper 68 return mAudioManager.getStreamVolume(stream); in getStreamVolume()
|
D | VolumeSeekBarPreferenceController.java | 95 return mHelper.getStreamVolume(getAudioStream()); in getSliderPosition()
|
D | NotificationVolumePreferenceController.java | 129 if (mHelper.getStreamVolume(AudioManager.STREAM_NOTIFICATION) == 0) { in getEffectiveRingerMode()
|
D | VolumeSeekBarPreference.java | 106 setProgress(mAudioManager.getStreamVolume(mStream)); in setStream()
|
/packages/apps/DeskClock/src/com/android/deskclock/settings/ |
D | AlarmVolumePreference.kt | 57 mSeekbar.setProgress(audioManager.getStreamVolume(STREAM_ALARM) - in onBindViewHolder() 66 mSeekbar.setProgress(audioManager.getStreamVolume(STREAM_ALARM) - in onBindViewHolder()
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | RingerTest.java | 474 when(mockAudioManager.getStreamVolume(AudioManager.STREAM_RING)).thenReturn(0); in testVibrateButNoRingForSilentRingtone() 495 when(mockAudioManager.getStreamVolume(AudioManager.STREAM_RING)).thenReturn(0); in testVibrateButNoRingForSilentRingtoneWithoutAudioHapticSupport() 513 when(mockAudioManager.getStreamVolume(AudioManager.STREAM_RING)).thenReturn(0); in testAudioCoupledHapticsForSilentRingtone() 586 when(mockAudioManager.getStreamVolume(AudioManager.STREAM_RING)).thenReturn(0); in testSilentRingWithHfpStillAcquiresFocus() 603 when(mockAudioManager.getStreamVolume(AudioManager.STREAM_RING)).thenReturn(100); in testRingAndVibrateForAllowedCallInDndMode() 804 when(mockAudioManager.getStreamVolume(AudioManager.STREAM_RING)).thenReturn(100); in ensureRingerIsAudible() 809 when(mockAudioManager.getStreamVolume(AudioManager.STREAM_RING)).thenReturn(0); in ensureRingerIsNotAudible()
|
D | MissedInformationTest.java | 314 when(mAudioManager.getStreamVolume(AudioManager.STREAM_RING)).thenReturn(0); in testLowRingVolume() 322 verify(mAudioManager, timeout(TEST_TIMEOUT_MILLIS)).getStreamVolume(anyInt()); in testLowRingVolume() 346 verify(mAudioManager, timeout(TEST_TIMEOUT_MILLIS)).getStreamVolume(anyInt()); in testNoVibrate()
|
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/ |
D | CellBroadcastAlertReminderTest.java | 152 doReturn(1).when(mMockedAudioManager).getStreamVolume(anyInt()); in testStartServicePlayAlertReminderForWatch() 168 verify(mMockedAudioManager).getStreamVolume(AudioManager.STREAM_ALARM); in testStartServicePlayAlertReminderForWatch()
|
/packages/services/Car/service/src/com/android/car/audio/ |
D | AudioManagerWrapper.java | 186 int getStreamVolume(int stream) { in getStreamVolume() method in AudioManagerWrapper 187 return mAudioManager.getStreamVolume(stream); in getStreamVolume()
|
/packages/apps/TV/src/com/android/tv/data/ |
D | StreamInfo.java | 47 float getStreamVolume(); in getStreamVolume() method
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/ |
D | VolumeSeekBarPreferenceTest.java | 92 when(mAudioManager.getStreamVolume(STREAM)).thenReturn(progress); in setStream_shouldSetMinMaxAndProgress() 161 when(mAudioManager.getStreamVolume(STREAM)).thenReturn(progress); in init_changeProgress_stateDescriptionValueUpdated()
|
D | VolumeSeekBarPreferenceControllerTest.java | 111 when(mHelper.getStreamVolume(mController.getAudioStream())).thenReturn(4); in sliderMethods_handleNullPreference()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/ |
D | AudioManagerWrapperTest.java | 399 public void getStreamVolume() { in getStreamVolume() method in AudioManagerWrapperTest 402 when(mAudioManager.getStreamVolume(stream)).thenReturn(index); in getStreamVolume() 405 mAudioManagerWrapper.getStreamVolume(stream)).isEqualTo(index); in getStreamVolume()
|
/packages/services/Telephony/src/com/android/services/telephony/ |
D | EmergencyTonePlayer.java | 116 mSavedInCallVolume = mAudioManager.getStreamVolume(AudioManager.STREAM_VOICE_CALL); in startAlert()
|
/packages/apps/EmergencyInfo/EmergencyGestureAction/src/com/android/emergency/action/sensoryfeedback/ |
D | EmergencyActionAlarmHelper.java | 100 mUserSetAlarmVolume = mAudioManager.getStreamVolume(streamType); in setAlarmVolumeToFull()
|
/packages/apps/DeskClock/src/com/android/deskclock/data/ |
D | SilentSettingsModel.kt | 179 mAudioManager.getStreamVolume(STREAM_ALARM) <= 0
|
/packages/modules/AdServices/sdksandbox/tests/cts/inprocess/src/com/android/sdksandbox/tests/cts/inprocess/ |
D | SdkSandboxConfigurationTest.java | 262 int currentVolume = audioManager.getStreamVolume(AudioManager.STREAM_SYSTEM); in testCanAccessVolume()
|
/packages/modules/AdServices/sdksandbox/tests/manual-test-apps/SdkSandboxCodeProvider/src/com/android/sdksandboxcode_1/ |
D | SdkApi.java | 159 int curVolume = audioManager.getStreamVolume(AudioManager.STREAM_MUSIC); in getSandboxDump()
|
/packages/modules/Bluetooth/android/pandora/server/src/ |
D | Asha.kt | 243 if (audioManager.getStreamVolume(AudioManager.STREAM_MUSIC) < maxVolume) { in playbackAudio()
|
D | A2dp.kt | 265 if (audioManager.getStreamVolume(AudioManager.STREAM_MUSIC) < maxVolume) { in playbackAudio()
|
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/ui/remotepreview/ |
D | RemoteSurfaceController.java | 304 mPlayer.setVolume(audioManager.getStreamVolume(AudioManager.STREAM_MUSIC)); in updateAudioMuteStatus()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/avrcp/ |
D | AvrcpVolumeManager.java | 421 sb.append(" Current System Volume: " + mAudioManager.getStreamVolume(STREAM_MUSIC) + "\n"); in dump()
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
D | AsyncRingtonePlayer.kt | 284 if (mAudioManager!!.getStreamVolume(AudioManager.STREAM_ALARM) == 0) { in <lambda>()
|
/packages/apps/TV/src/com/android/tv/interactive/ |
D | IAppManager.java | 386 mTvIAppView.sendStreamVolume(mTvView.getStreamVolume()); in onRequestStreamVolume()
|
/packages/apps/Settings/src/com/android/settings/connecteddevice/audiosharing/ |
D | AudioSharingDeviceVolumeGroupController.java | 410 audioManager.getStreamVolume(AudioManager.STREAM_MUSIC) * 255f / (max - min)); in getAudioVolumeIfNeeded()
|