Searched refs:audioMode (Results 1 - 5 of 5) sorted by relevance

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
H A DUtils.java372 final int audioMode = audioManager.getMode();
373 return audioMode == AudioManager.MODE_RINGTONE
374 || audioMode == AudioManager.MODE_IN_CALL
375 || audioMode == AudioManager.MODE_IN_COMMUNICATION;
/frameworks/base/media/java/android/media/
H A DMediaPlayer2.java1193 * @param audioMode audio playback mode. Must be one of the supported
1198 * @throws IllegalArgumentException if audioMode is not supported.
1203 public PlaybackParams easyPlaybackParams(float rate, @PlaybackRateAudioMode int audioMode) { argument
H A DMediaPlayer.java1759 * @param audioMode audio playback mode. Must be one of the supported
1764 * @throws IllegalArgumentException if audioMode is not supported.
1769 public PlaybackParams easyPlaybackParams(float rate, @PlaybackRateAudioMode int audioMode) { argument
1772 switch (audioMode) {
1784 final String msg = "Audio playback mode " + audioMode + " is not supported";
H A DMediaPlayer2Impl.java1410 * @param audioMode audio playback mode. Must be one of the supported
1415 * @throws IllegalArgumentException if audioMode is not supported.
1421 public PlaybackParams easyPlaybackParams(float rate, @PlaybackRateAudioMode int audioMode) { argument
1424 switch (audioMode) {
1436 final String msg = "Audio playback mode " + audioMode + " is not supported";
/frameworks/base/services/core/java/com/android/server/policy/
H A DPhoneWindowManager.java6191 int audioMode = AudioManager.MODE_NORMAL;
6193 audioMode = getAudioService().getMode();
6198 audioMode == AudioManager.MODE_IN_COMMUNICATION;

Completed in 101 milliseconds