Home
last modified time | relevance | path

Searched refs:getStreamVolume (Results 1 – 25 of 26) sorted by relevance

12

/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/
DAudioHelper.java65 public int getStreamVolume(int stream) { in getStreamVolume() method in AudioHelper
66 return mAudioManager.getStreamVolume(stream); in getStreamVolume()
DVolumeSeekBarPreferenceController.java83 return mHelper.getStreamVolume(getAudioStream()); in getSliderPosition()
DVolumeSeekBarPreference.java94 setProgress(mAudioManager.getStreamVolume(mStream)); in setStream()
/packages/apps/Settings/src/com/android/settings/notification/
DAudioHelper.java67 public int getStreamVolume(int stream) { in getStreamVolume() method in AudioHelper
68 return mAudioManager.getStreamVolume(stream); in getStreamVolume()
DVolumeSeekBarPreferenceController.java83 return mHelper.getStreamVolume(getAudioStream()); in getSliderPosition()
DVolumeSeekBarPreference.java89 setProgress(mAudioManager.getStreamVolume(mStream)); in setStream()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DRingerTest.java292 when(mockAudioManager.getStreamVolume(AudioManager.STREAM_RING)).thenReturn(0); in testVibrateButNoRingForSilentRingtone()
388 when(mockAudioManager.getStreamVolume(AudioManager.STREAM_RING)).thenReturn(0); in testSilentRingWithHfpStillAcquiresFocus1()
406 when(mockAudioManager.getStreamVolume(AudioManager.STREAM_RING)).thenReturn(0); in testSilentRingWithHfpStillAcquiresFocus2()
422 when(mockAudioManager.getStreamVolume(AudioManager.STREAM_RING)).thenReturn(100); in ensureRingerIsAudible()
DComponentContextFixture.java413 public int getStreamVolume(int streamValueUnused) {
/packages/apps/DeskClock/src/com/android/deskclock/settings/
DAlarmVolumePreference.java66 mSeekbar.setProgress(audioManager.getStreamVolume(STREAM_ALARM)); in onBindViewHolder()
74 mSeekbar.setProgress(audioManager.getStreamVolume(STREAM_ALARM)); in onBindViewHolder()
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/
DAvrcpVolumeManager.java123 int storeVolume = mAudioManager.getStreamVolume(STREAM_MUSIC); in storeVolumeForDevice()
225 sb.append(" Current System Volume: " + mAudioManager.getStreamVolume(STREAM_MUSIC) + "\n"); in dump()
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
DVolumeSeekBarPreferenceTest.java59 when(mAudioManager.getStreamVolume(stream)).thenReturn(progress); in setStream_shouldSetMinMaxAndProgress()
DVolumeSeekBarPreferenceControllerTest.java107 when(mHelper.getStreamVolume(mController.getAudioStream())).thenReturn(4); in sliderMethods_handleNullPreference()
/packages/services/Telephony/src/com/android/services/telephony/
DEmergencyTonePlayer.java118 mSavedInCallVolume = mAudioManager.getStreamVolume(AudioManager.STREAM_VOICE_CALL); in startAlert()
/packages/apps/DeskClock/src/com/android/deskclock/data/
DSilentSettingsModel.java197 return mAudioManager.getStreamVolume(STREAM_ALARM) <= 0; in isAlarmStreamMuted()
/packages/apps/DeskClock/src/com/android/deskclock/
DAsyncRingtonePlayer.java343 if (mAudioManager.getStreamVolume(STREAM_ALARM) == 0) {
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hfpclient/
DHeadsetClientStateMachineTest.java69 when(mAudioManager.getStreamVolume(anyInt())).thenReturn(2); in setUp()
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastAlertAudio.java578 mUserSetAlarmVolume = mAudioManager.getStreamVolume(AudioManager.STREAM_ALARM); in setAlarmStreamVolumeToFull()
/packages/services/Telecomm/src/com/android/server/telecom/
DRinger.java223 boolean isVolumeOverZero = audioManager.getStreamVolume(AudioManager.STREAM_RING) > 0; in startRinging()
DCallsManager.java483 () -> audioManager.getStreamVolume(AudioManager.STREAM_RING) > 0); in CallsManager()
3511 if (am.getStreamVolume(AudioManager.STREAM_VOICE_CALL) == 0) {
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/
DAvrcpControllerStateMachine.java684 int currIndex = mAudioManager.getStreamVolume(AudioManager.STREAM_MUSIC); in setAbsVolume()
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/
DHeadsetClientStateMachine.java1064 int amVol = mAudioManager.getStreamVolume(AudioManager.STREAM_VOICE_CALL); in processConnectionEvent()
1534 final int amVol = mAudioManager.getStreamVolume(AudioManager.STREAM_VOICE_CALL); in processAudioEvent()
/packages/services/Car/service/src/com/android/car/audio/
DCarAudioService.java416 return mAudioManager.getStreamVolume( in getGroupVolume()
/packages/services/Car/car-lib/api/released/
D1.txt259 method public int getStreamVolume(int) throws android.car.CarNotConnectedException;
D2.txt266 method public int getStreamVolume(int) throws android.car.CarNotConnectedException;
/packages/services/Car/car-lib/api/system-released/
Dsystem-2.txt687 method public int getStreamVolume(int) throws android.car.CarNotConnectedException;

12