Lines Matching refs:getPhoneState
263 if (mEngine->getPhoneState() == AUDIO_MODE_IN_CALL && hasPrimaryOutput()) { in setDeviceConnectionStateInt()
270 if ((mEngine->getPhoneState() != AUDIO_MODE_IN_CALL) || (desc != mPrimaryOutput)) { in setDeviceConnectionStateInt()
354 if (mEngine->getPhoneState() == AUDIO_MODE_IN_CALL && hasPrimaryOutput()) { in setDeviceConnectionStateInt()
648 int oldState = mEngine->getPhoneState(); in setPhoneState()
745 audio_mode_t AudioPolicyManager::getPhoneState() { in getPhoneState() function in android::AudioPolicyManager
746 return mEngine->getPhoneState(); in getPhoneState()
752 …LOGV("setForceUse() usage %d, config %d, mPhoneState %d", usage, config, mEngine->getPhoneState()); in setForceUse()
3082 if (mEngine->getPhoneState() == AUDIO_MODE_IN_CALL && hasPrimaryOutput()) { in updateCallAndOutputRouting()
3089 if ((mEngine->getPhoneState() != AUDIO_MODE_IN_CALL) || (outputDesc != mPrimaryOutput)) { in updateCallAndOutputRouting()
3128 AudioModeConverter::toString(mEngine->getPhoneState(), stateLiteral); in dump()
5234 (mEngine->getPhoneState() != AUDIO_MODE_IN_CALL) && in checkA2dpSuspend()
5235 (mEngine->getPhoneState() != AUDIO_MODE_RINGTONE))) { in checkA2dpSuspend()
5246 (mEngine->getPhoneState() == AUDIO_MODE_IN_CALL) || in checkA2dpSuspend()
5247 (mEngine->getPhoneState() == AUDIO_MODE_RINGTONE))) { in checkA2dpSuspend()
5785 && (AUDIO_MODE_RINGTONE == mEngine->getPhoneState()) && in computeVolume()
6083 return isStateInCall(mEngine->getPhoneState()); in isInCall()