Searched refs:audioMode (Results 1 – 9 of 9) sorted by relevance
498 int audioMode = audioManager.getMode(); in isAvailableMediaBluetoothDevice() local501 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() local652 if (audioMode == AudioManager.MODE_RINGTONE in isConnectedBluetoothDevice()653 || audioMode == AudioManager.MODE_IN_CALL in isConnectedBluetoothDevice()654 || audioMode == AudioManager.MODE_IN_COMMUNICATION) { in isConnectedBluetoothDevice()
95 int audioMode = am.getMode(); in hasVoiceCall() local96 return audioMode == AudioManager.MODE_IN_CALL in hasVoiceCall()97 || audioMode == AudioManager.MODE_IN_COMMUNICATION; in hasVoiceCall()
159 ScreenRecordingAudioSource audioMode = mAudioSwitch.isChecked() in requestScreenCapture() local166 audioMode.ordinal(), showTaps, captureTarget), in requestScreenCapture()
218 val audioMode = in <lambda>() constant228 audioMode.ordinal, in <lambda>()
604 final int audioMode = audioManager.getMode(); in isAudioModeOngoingCall() local605 return audioMode == AudioManager.MODE_RINGTONE in isAudioModeOngoingCall()606 || audioMode == AudioManager.MODE_IN_CALL in isAudioModeOngoingCall()607 || audioMode == AudioManager.MODE_IN_COMMUNICATION; in isAudioModeOngoingCall()
979 int audioMode = mAudioManager.getMode(); in isInCall() local980 if (audioMode == AudioManager.MODE_IN_CALL in isInCall()981 || audioMode == AudioManager.MODE_IN_COMMUNICATION) { in isInCall()
191 AudioMode audioMode = VALUE_OR_FATAL(::aidl::android::legacy2aidl_audio_mode_t_AudioMode(mode)); in setMode() local193 RETURN_STATUS_IF_ERROR(statusTFromBinderStatus(mTelephony->switchAudioMode(audioMode))); in setMode()195 return statusTFromBinderStatus(mModule->updateAudioMode(audioMode)); in setMode()
1871 public PlaybackParams easyPlaybackParams(float rate, @PlaybackRateAudioMode int audioMode) { in easyPlaybackParams() argument1874 switch (audioMode) { in easyPlaybackParams()1886 final String msg = "Audio playback mode " + audioMode + " is not supported"; in easyPlaybackParams()
4794 int audioMode = AudioManager.MODE_NORMAL;4796 audioMode = getAudioService().getMode();4801 audioMode == AudioManager.MODE_IN_COMMUNICATION;