Home
last modified time | relevance | path

Searched refs:getRingerModeInternal (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/media/java/android/media/
DAudioManagerInternal.java41 public abstract int getRingerModeInternal(); in getRingerModeInternal() method in AudioManagerInternal
DIAudioService.aidl117 int getRingerModeInternal(); in getRingerModeInternal() method
DAudioManager.java4456 public int getRingerModeInternal() { in getRingerModeInternal() method in AudioManager
4458 return getService().getRingerModeInternal(); in getRingerModeInternal()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DZenModeHelperTest.java448 when(mAudioManager.getRingerModeInternal()).thenReturn(AudioManager.RINGER_MODE_NORMAL); in testZenSetInternalRinger_AllPriorityNotificationSoundsMuted()
463 when(mAudioManager.getRingerModeInternal()).thenReturn(AudioManager.RINGER_MODE_SILENT); in testZenSetInternalRinger_AllPriorityNotificationSoundsMuted()
535 when(mAudioManager.getRingerModeInternal()).thenReturn(AudioManager.RINGER_MODE_NORMAL); in testZenSetInternalRinger_NotAllPriorityNotificationSoundsMuted_StartNormal()
545 when(mAudioManager.getRingerModeInternal()).thenReturn(AudioManager.RINGER_MODE_NORMAL); in testZenSetInternalRinger_NotAllPriorityNotificationSoundsMuted_StartNormal()
560 when(mAudioManager.getRingerModeInternal()).thenReturn(AudioManager.RINGER_MODE_SILENT); in testZenSetInternalRinger_NotAllPriorityNotificationSoundsMuted_StartSilent()
570 when(mAudioManager.getRingerModeInternal()).thenReturn(AudioManager.RINGER_MODE_SILENT); in testZenSetInternalRinger_NotAllPriorityNotificationSoundsMuted_StartSilent()
585 when(mAudioManager.getRingerModeInternal()).thenReturn(AudioManager.RINGER_MODE_NORMAL); in testZenSetInternalRinger_NotAllPriorityNotificationSoundsMuted_RingerChanges()
605 when(mAudioManager.getRingerModeInternal()).thenReturn(AudioManager.RINGER_MODE_SILENT); in testZenSetInternalRinger_NotAllPriorityNotificationSoundsMuted_RingerChanges()
619 when(mAudioManager.getRingerModeInternal()).thenReturn(AudioManager.RINGER_MODE_SILENT); in testSilentRingerSavedInZenOff_startsZenOff()
648 when(mAudioManager.getRingerModeInternal()).thenReturn(AudioManager.RINGER_MODE_SILENT); in testSilentRingerSavedOnZenOff_startsZenOn()
[all …]
DBuzzBeepBlinkTest.java136 when(mAudioManager.getRingerModeInternal()).thenReturn(AudioManager.RINGER_MODE_NORMAL); in setUp()
699 when(mAudioManager.getRingerModeInternal()).thenReturn(AudioManager.RINGER_MODE_VIBRATE); in testNoDemoteSoundToVibrateIfVibrateGiven()
720 when(mAudioManager.getRingerModeInternal()).thenReturn(AudioManager.RINGER_MODE_VIBRATE); in testNoDemoteSoundToVibrateIfNonNotificationStream()
738 when(mAudioManager.getRingerModeInternal()).thenReturn(AudioManager.RINGER_MODE_VIBRATE); in testDemoteSoundToVibrate()
759 when(mAudioManager.getRingerModeInternal()).thenReturn(AudioManager.RINGER_MODE_VIBRATE); in testDemoteInsistentSoundToVibrate()
1018 when(mAudioManager.getRingerModeInternal()).thenReturn(AudioManager.RINGER_MODE_VIBRATE); in testQuietUpdateCancelsDemotedVibrate()
DNotificationManagerServiceTest.java354 when(mAudioManager.getRingerModeInternal()).thenReturn(AudioManager.RINGER_MODE_NORMAL); in setUp()
/frameworks/base/core/java/android/preference/
DSeekBarVolumizer.java160 mRingerMode = mAudioManager.getRingerModeInternal(); in SeekBarVolumizer()
547 mRingerMode = mAudioManager.getRingerModeInternal(); in onReceive()
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java789 setRingerModeInt(getRingerModeInternal(), false); in AudioService()
1005 setRingerModeInt(getRingerModeInternal(), false); in onAudioServerDied()
1289 setRingerModeInt(getRingerModeInternal(), false); in updateStreamVolumeAlias()
1786 int ringerMode = getRingerModeInternal(); in adjustStreamVolume()
2883 public int getRingerModeInternal() { in getRingerModeInternal() method in AudioService
2976 final int ringerModeInternal = getRingerModeInternal(); in setRingerMode()
3119 setRingerModeInt(getRingerModeInternal(), false); in onUpdateRingerModeServiceInt()
3620 setRingerModeInt(getRingerModeInternal(), false); in readAudioSettings()
3894 int ringerMode = getRingerModeInternal(); in checkForRingerModeChange()
5367 persistRingerMode(getRingerModeInternal()); in handleMessage()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DPhoneStatusBarPolicy.java337 if (audioManager.getRingerModeInternal() == AudioManager.RINGER_MODE_VIBRATE) { in updateVolumeZen()
341 } else if (audioManager.getRingerModeInternal() == AudioManager.RINGER_MODE_SILENT) { in updateVolumeZen()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DVolumeDialogControllerImpl.java567 updateRingerModeInternalW(mAudio.getRingerModeInternal());
/frameworks/base/services/core/java/com/android/server/
DVibratorService.java875 int ringerMode = audioManager.getRingerModeInternal(); in shouldVibrateForRingtone()
/frameworks/base/services/core/java/com/android/server/notification/
DZenModeHelper.java1074 final int ringerModeInternal = mAudioManager.getRingerModeInternal(); in applyZenToRingerMode()
DNotificationManagerService.java5697 && (mAudioManager.getRingerModeInternal()
5725 mAudioManager.getRingerModeInternal()
5948 if (mAudioManager.getRingerModeInternal() == AudioManager.RINGER_MODE_NORMAL
/frameworks/base/services/
Dart-profile4159 HSPLcom/android/server/audio/AudioService$AudioServiceInternal;->getRingerModeInternal()I
4251 HSPLcom/android/server/audio/AudioService;->getRingerModeInternal()I