Searched refs:audioMode (Results 1 – 4 of 4) sorted by relevance
379 final int audioMode = audioManager.getMode(); in isAudioModeOngoingCall() local380 return audioMode == AudioManager.MODE_RINGTONE in isAudioModeOngoingCall()381 || audioMode == AudioManager.MODE_IN_CALL in isAudioModeOngoingCall()382 || audioMode == AudioManager.MODE_IN_COMMUNICATION; in isAudioModeOngoingCall()
1730 public PlaybackParams easyPlaybackParams(float rate, @PlaybackRateAudioMode int audioMode) { in easyPlaybackParams() argument1733 switch (audioMode) { in easyPlaybackParams()1745 final String msg = "Audio playback mode " + audioMode + " is not supported"; in easyPlaybackParams()
3846 int audioMode = AudioManager.MODE_NORMAL; in interceptKeyBeforeQueueing() local3848 audioMode = getAudioService().getMode(); in interceptKeyBeforeQueueing()3853 audioMode == AudioManager.MODE_IN_COMMUNICATION; in interceptKeyBeforeQueueing()
7638 int audioMode = mAudioManager.getMode();7639 if (audioMode == AudioManager.MODE_IN_CALL7640 || audioMode == AudioManager.MODE_IN_COMMUNICATION) {