Lines Matching refs:getPhoneState
245 if (mEngine->getPhoneState() == AUDIO_MODE_IN_CALL && hasPrimaryOutput()) { in setDeviceConnectionStateInt()
252 if ((mEngine->getPhoneState() != AUDIO_MODE_IN_CALL) || (desc != mPrimaryOutput)) { in setDeviceConnectionStateInt()
336 if (mEngine->getPhoneState() == AUDIO_MODE_IN_CALL && hasPrimaryOutput()) { in setDeviceConnectionStateInt()
660 int oldState = mEngine->getPhoneState(); in setPhoneState()
757 audio_mode_t AudioPolicyManager::getPhoneState() { in getPhoneState() function in android::AudioPolicyManager
758 return mEngine->getPhoneState(); in getPhoneState()
764 …LOGV("setForceUse() usage %d, config %d, mPhoneState %d", usage, config, mEngine->getPhoneState()); in setForceUse()
793 if (mEngine->getPhoneState() == AUDIO_MODE_IN_CALL && hasPrimaryOutput()) { in setForceUse()
800 if ((mEngine->getPhoneState() != AUDIO_MODE_IN_CALL) || (outputDesc != mPrimaryOutput)) { in setForceUse()
3064 AudioModeConverter::toString(mEngine->getPhoneState(), stateLiteral); in dump()
5156 (mEngine->getPhoneState() != AUDIO_MODE_IN_CALL) && in checkA2dpSuspend()
5157 (mEngine->getPhoneState() != AUDIO_MODE_RINGTONE))) { in checkA2dpSuspend()
5168 (mEngine->getPhoneState() == AUDIO_MODE_IN_CALL) || in checkA2dpSuspend()
5169 (mEngine->getPhoneState() == AUDIO_MODE_RINGTONE))) { in checkA2dpSuspend()
5695 && (AUDIO_MODE_RINGTONE == mEngine->getPhoneState()) && in computeVolume()
5984 return isStateInCall(mEngine->getPhoneState()); in isInCall()