Home
last modified time | relevance | path

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

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DBluetoothUtils.java498 int audioMode = audioManager.getMode(); in isAvailableMediaBluetoothDevice() local
501 if (audioMode == AudioManager.MODE_RINGTONE in isAvailableMediaBluetoothDevice()
502 || audioMode == AudioManager.MODE_IN_CALL in isAvailableMediaBluetoothDevice()
503 || audioMode == AudioManager.MODE_IN_COMMUNICATION) { in isAvailableMediaBluetoothDevice()
649 int audioMode = audioManager.getMode(); in isConnectedBluetoothDevice() local
652 if (audioMode == AudioManager.MODE_RINGTONE in isConnectedBluetoothDevice()
653 || audioMode == AudioManager.MODE_IN_CALL in isConnectedBluetoothDevice()
654 || audioMode == AudioManager.MODE_IN_COMMUNICATION) { in isConnectedBluetoothDevice()
/frameworks/base/services/core/java/com/android/server/pm/
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()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenrecord/
DScreenRecordDialogDelegate.java159 ScreenRecordingAudioSource audioMode = mAudioSwitch.isChecked() in requestScreenCapture() local
166 audioMode.ordinal(), showTaps, captureTarget), in requestScreenCapture()
DScreenRecordPermissionDialogDelegate.kt218 val audioMode = in <lambda>() constant
228 audioMode.ordinal, in <lambda>()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DUtils.java604 final int audioMode = audioManager.getMode(); in isAudioModeOngoingCall() local
605 return audioMode == AudioManager.MODE_RINGTONE in isAudioModeOngoingCall()
606 || audioMode == AudioManager.MODE_IN_CALL in isAudioModeOngoingCall()
607 || audioMode == AudioManager.MODE_IN_COMMUNICATION; in isAudioModeOngoingCall()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationAttentionHelper.java979 int audioMode = mAudioManager.getMode(); in isInCall() local
980 if (audioMode == AudioManager.MODE_IN_CALL in isInCall()
981 || audioMode == AudioManager.MODE_IN_COMMUNICATION) { in isInCall()
/frameworks/av/media/libaudiohal/impl/
DDeviceHalAidl.cpp191 AudioMode audioMode = VALUE_OR_FATAL(::aidl::android::legacy2aidl_audio_mode_t_AudioMode(mode)); in setMode() local
193 RETURN_STATUS_IF_ERROR(statusTFromBinderStatus(mTelephony->switchAudioMode(audioMode))); in setMode()
195 return statusTFromBinderStatus(mModule->updateAudioMode(audioMode)); in setMode()
/frameworks/base/media/java/android/media/
DMediaPlayer.java1871 public PlaybackParams easyPlaybackParams(float rate, @PlaybackRateAudioMode int audioMode) { in easyPlaybackParams() argument
1874 switch (audioMode) { in easyPlaybackParams()
1886 final String msg = "Audio playback mode " + audioMode + " is not supported"; in easyPlaybackParams()
/frameworks/base/services/core/java/com/android/server/policy/
DPhoneWindowManager.java4794 int audioMode = AudioManager.MODE_NORMAL;
4796 audioMode = getAudioService().getMode();
4801 audioMode == AudioManager.MODE_IN_COMMUNICATION;