Searched refs:shouldNotificationSoundPlay (Results 1 – 6 of 6) sorted by relevance
204 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()
788 boolean shouldNotificationSoundPlay(in AudioAttributes aa); in shouldNotificationSoundPlay() method
10184 public boolean shouldNotificationSoundPlay(@NonNull final AudioAttributes aa) { in shouldNotificationSoundPlay() method in AudioManager10187 return service.shouldNotificationSoundPlay(Objects.requireNonNull(aa)); in shouldNotificationSoundPlay()
646 shouldPlay = mAudioManager.shouldNotificationSoundPlay(record.getAudioAttributes()); in playSound()
13927 public boolean shouldNotificationSoundPlay(@NonNull final AudioAttributes aa) { in shouldNotificationSoundPlay() method in AudioService
1992 …(android.Manifest.permission.QUERY_AUDIO_STATE) public boolean shouldNotificationSoundPlay(@NonNul…