Searched refs:audioMode (Results 1 – 5 of 5) sorted by relevance
116 public void onModeChanged(int audioMode) { in onModeChanged() argument117 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() local216 mIsOTTCallOn = audioMode == MODE_IN_COMMUNICATION in startMonitoring()217 || audioMode == MODE_COMMUNICATION_REDIRECT; in startMonitoring()
56 final int audioMode = mAudioManager.getMode(); in isFilterMatched() local59 if (audioMode == AudioManager.MODE_RINGTONE in isFilterMatched()60 || audioMode == AudioManager.MODE_IN_CALL in isFilterMatched()61 || audioMode == AudioManager.MODE_IN_COMMUNICATION) { in isFilterMatched()
59 final int audioMode = mAudioManager.getMode(); in isFilterMatched() local62 if (audioMode == AudioManager.MODE_RINGTONE in isFilterMatched()63 || audioMode == AudioManager.MODE_IN_CALL in isFilterMatched()64 || audioMode == AudioManager.MODE_IN_COMMUNICATION) { in isFilterMatched()
212 final int audioMode = audioManager.getMode(); in isAudioModeOngoingCall() local213 return audioMode == AudioManager.MODE_RINGTONE in isAudioModeOngoingCall()214 || audioMode == AudioManager.MODE_IN_CALL in isAudioModeOngoingCall()215 || audioMode == AudioManager.MODE_IN_COMMUNICATION; in isAudioModeOngoingCall()
182 int audioMode = mAudioManager.getMode(); in testSetMode() local184 assertEquals(audioMode, mAudioManager.getMode()); in testSetMode()