Home
last modified time | relevance | path

Searched refs:shouldNotificationSoundPlay (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationAttentionHelperTest.java204 when(mAudioManager.shouldNotificationSoundPlay(any(AudioAttributes.class))) in setUp()
1023 when(mAudioManager.shouldNotificationSoundPlay(any(AudioAttributes.class))) in testNoDemoteSoundToVibrateIfVibrateGiven()
1043 when(mAudioManager.shouldNotificationSoundPlay(any())).thenReturn(true); in testNoDemoteSoundToVibrateIfNonNotificationStream()
1062 when(mAudioManager.shouldNotificationSoundPlay(any())).thenReturn(false); in testDemoteSoundToVibrate()
1084 when(mAudioManager.shouldNotificationSoundPlay(any())).thenReturn(false); in testDemoteInsistentSoundToVibrate()
1357 when(mAudioManager.shouldNotificationSoundPlay(any())).thenReturn(false); in testQuietUpdateCancelsDemotedVibrate()
2129 when(mAudioManager.shouldNotificationSoundPlay(any())).thenReturn(false); in testStartFlashNotificationEvent_receiveBuzzyBeepyNotification_ringerModeSilent()
/frameworks/base/media/java/android/media/
DIAudioService.aidl788 boolean shouldNotificationSoundPlay(in AudioAttributes aa); in shouldNotificationSoundPlay() method
DAudioManager.java10184 public boolean shouldNotificationSoundPlay(@NonNull final AudioAttributes aa) { in shouldNotificationSoundPlay() method in AudioManager
10187 return service.shouldNotificationSoundPlay(Objects.requireNonNull(aa)); in shouldNotificationSoundPlay()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationAttentionHelper.java646 shouldPlay = mAudioManager.shouldNotificationSoundPlay(record.getAudioAttributes()); in playSound()
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java13927 public boolean shouldNotificationSoundPlay(@NonNull final AudioAttributes aa) { in shouldNotificationSoundPlay() method in AudioService
/frameworks/base/core/api/
Dtest-current.txt1992 …(android.Manifest.permission.QUERY_AUDIO_STATE) public boolean shouldNotificationSoundPlay(@NonNul…