Home
last modified time | relevance | path

Searched refs:audioMode (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DUtils.java379 final int audioMode = audioManager.getMode(); in isAudioModeOngoingCall() local
380 return audioMode == AudioManager.MODE_RINGTONE in isAudioModeOngoingCall()
381 || audioMode == AudioManager.MODE_IN_CALL in isAudioModeOngoingCall()
382 || audioMode == AudioManager.MODE_IN_COMMUNICATION; in isAudioModeOngoingCall()
/frameworks/base/media/java/android/media/
DMediaPlayer.java1730 public PlaybackParams easyPlaybackParams(float rate, @PlaybackRateAudioMode int audioMode) { in easyPlaybackParams() argument
1733 switch (audioMode) { in easyPlaybackParams()
1745 final String msg = "Audio playback mode " + audioMode + " is not supported"; in easyPlaybackParams()
/frameworks/base/services/core/java/com/android/server/policy/
DPhoneWindowManager.java3846 int audioMode = AudioManager.MODE_NORMAL; in interceptKeyBeforeQueueing() local
3848 audioMode = getAudioService().getMode(); in interceptKeyBeforeQueueing()
3853 audioMode == AudioManager.MODE_IN_COMMUNICATION; in interceptKeyBeforeQueueing()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationManagerService.java7638 int audioMode = mAudioManager.getMode();
7639 if (audioMode == AudioManager.MODE_IN_CALL
7640 || audioMode == AudioManager.MODE_IN_COMMUNICATION) {