Lines Matching refs:mPrimaryOutput

246             DeviceVector newDevices = getNewOutputDevices(mPrimaryOutput, false /*fromCache*/);  in setDeviceConnectionStateInt()
252 if ((mEngine->getPhoneState() != AUDIO_MODE_IN_CALL) || (desc != mPrimaryOutput)) { in setDeviceConnectionStateInt()
337 DeviceVector newDevices = getNewOutputDevices(mPrimaryOutput, false /*fromCache*/); in setDeviceConnectionStateInt()
427 audio_module_handle_t primaryHandle = mPrimaryOutput->getModuleHandle(); in handleDeviceConfigChange()
493 if(!hasPrimaryOutput() || mPrimaryOutput->devices().types() == AUDIO_DEVICE_OUT_STUB) { in updateCallRouting()
557 muteWaitMs = setOutputDevices(mPrimaryOutput, rxDevices, true, delayMs); in updateCallRouting()
713 DeviceVector rxDevices = getNewOutputDevices(mPrimaryOutput, false /*fromCache*/); in setPhoneState()
717 rxDevices = mPrimaryOutput->devices(); in setPhoneState()
731 setOutputDevices(mPrimaryOutput, rxDevices, force, 0); in setPhoneState()
733 setOutputDevices(mPrimaryOutput, rxDevices, force, 0); in setPhoneState()
741 if (state != AUDIO_MODE_IN_CALL || desc != mPrimaryOutput) { in setPhoneState()
794 DeviceVector newDevices = getNewOutputDevices(mPrimaryOutput, true /*fromCache*/); in setForceUse()
800 if ((mEngine->getPhoneState() != AUDIO_MODE_IN_CALL) || (outputDesc != mPrimaryOutput)) { in setForceUse()
3062 hasPrimaryOutput() ? mPrimaryOutput->mIoHandle : AUDIO_IO_HANDLE_NONE); in dump()
4398 if (mPrimaryOutput == 0 && in initialize()
4400 mPrimaryOutput = outputDesc; in initialize()
4488 if (mPrimaryOutput == 0) { in initialize()
4680 status_t status = dupOutputDesc->openDuplicating(mPrimaryOutput, desc, in checkOutputsForDevice()
4687 mPrimaryOutput->mIoHandle, output); in checkOutputsForDevice()