Home
last modified time | relevance | path

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

/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiVoipDetector.java116 public void onModeChanged(int audioMode) { in onModeChanged() argument
117 boolean isOTTCallOn = audioMode == MODE_IN_COMMUNICATION in onModeChanged()
118 || audioMode == MODE_COMMUNICATION_REDIRECT; in onModeChanged()
124 + " OTT) onModeChanged to " + audioMode; in onModeChanged()
215 int audioMode = mAudioManager.getMode(); in startMonitoring() local
216 mIsOTTCallOn = audioMode == MODE_IN_COMMUNICATION in startMonitoring()
217 || audioMode == MODE_COMMUNICATION_REDIRECT; in startMonitoring()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DConnectedBluetoothDeviceUpdater.java56 final int audioMode = mAudioManager.getMode(); in isFilterMatched() local
59 if (audioMode == AudioManager.MODE_RINGTONE in isFilterMatched()
60 || audioMode == AudioManager.MODE_IN_CALL in isFilterMatched()
61 || audioMode == AudioManager.MODE_IN_COMMUNICATION) { in isFilterMatched()
DAvailableMediaBluetoothDeviceUpdater.java59 final int audioMode = mAudioManager.getMode(); in isFilterMatched() local
62 if (audioMode == AudioManager.MODE_RINGTONE in isFilterMatched()
63 || audioMode == AudioManager.MODE_IN_CALL in isFilterMatched()
64 || audioMode == AudioManager.MODE_IN_COMMUNICATION) { in isFilterMatched()
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/about/
DUtils.java212 final int audioMode = audioManager.getMode(); in isAudioModeOngoingCall() local
213 return audioMode == AudioManager.MODE_RINGTONE in isAudioModeOngoingCall()
214 || audioMode == AudioManager.MODE_IN_CALL in isAudioModeOngoingCall()
215 || audioMode == AudioManager.MODE_IN_COMMUNICATION; in isAudioModeOngoingCall()
/packages/modules/Permission/tests/cts/permission/telephony/src/android/permission/cts/telephony/
DTelephonyManagerPermissionTest.java182 int audioMode = mAudioManager.getMode(); in testSetMode() local
184 assertEquals(audioMode, mAudioManager.getMode()); in testSetMode()