Home
last modified time | relevance | path

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

/aosp14/frameworks/base/services/core/java/com/android/server/pm/
H A DAppStateHelper.java95 int audioMode = am.getMode(); in hasVoiceCall() local
96 return audioMode == AudioManager.MODE_IN_CALL in hasVoiceCall()
97 || audioMode == AudioManager.MODE_IN_COMMUNICATION; in hasVoiceCall()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/screenrecord/
H A DScreenRecordPermissionDialog.kt136 val audioMode = regex
146 audioMode.ordinal,
H A DScreenRecordDialog.java169 ScreenRecordingAudioSource audioMode = mAudioSwitch.isChecked() in requestScreenCapture() local
176 audioMode.ordinal(), showTaps, captureTarget), in requestScreenCapture()
/aosp14/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
H A DUtils.java524 final int audioMode = audioManager.getMode(); in isAudioModeOngoingCall() local
525 return audioMode == AudioManager.MODE_RINGTONE in isAudioModeOngoingCall()
526 || audioMode == AudioManager.MODE_IN_CALL in isAudioModeOngoingCall()
527 || audioMode == AudioManager.MODE_IN_COMMUNICATION; in isAudioModeOngoingCall()
/aosp14/frameworks/base/media/java/android/media/
H A DMediaPlayer.java1872 public PlaybackParams easyPlaybackParams(float rate, @PlaybackRateAudioMode int audioMode) { in easyPlaybackParams() argument
1875 switch (audioMode) { in easyPlaybackParams()
1887 final String msg = "Audio playback mode " + audioMode + " is not supported"; in easyPlaybackParams()
/aosp14/frameworks/base/services/core/java/com/android/server/policy/
H A DPhoneWindowManager.java4306 int audioMode = AudioManager.MODE_NORMAL;
4308 audioMode = getAudioService().getMode();
4313 audioMode == AudioManager.MODE_IN_COMMUNICATION;
/aosp14/frameworks/base/services/core/java/com/android/server/notification/
H A DNotificationManagerService.java10442 int audioMode = mAudioManager.getMode();
10443 if (audioMode == AudioManager.MODE_IN_CALL
10444 || audioMode == AudioManager.MODE_IN_COMMUNICATION) {