Home
last modified time | relevance | path

Searched refs:mPrimaryOutput (Results 1 – 2 of 2) sorted by relevance

/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.h470 return mPrimaryOutput->supportedDevices() & mAvailableOutputDevices.types(); in availablePrimaryOutputDevices()
477 return mAvailableInputDevices.getDevicesFromHwModule(mPrimaryOutput->getModuleHandle()); in availablePrimaryInputDevices()
497 status_t hasPrimaryOutput() const { return mPrimaryOutput != 0; } in hasPrimaryOutput()
515 sp<SwAudioOutputDescriptor> mPrimaryOutput; // primary output descriptor variable
DAudioPolicyManager.cpp181 audio_devices_t newDevice = getNewOutputDevice(mPrimaryOutput, false /*fromCache*/); in setDeviceConnectionStateInt()
186 if ((mEngine->getPhoneState() != AUDIO_MODE_IN_CALL) || (desc != mPrimaryOutput)) { in setDeviceConnectionStateInt()
275 audio_devices_t newDevice = getNewOutputDevice(mPrimaryOutput, false /*fromCache*/); in setDeviceConnectionStateInt()
347 setOutputDevice(mPrimaryOutput, rxDevice, true, delayMs); in updateCallRouting()
521 audio_devices_t rxDevice = getNewOutputDevice(mPrimaryOutput, false /*fromCache*/); in setPhoneState()
525 rxDevice = mPrimaryOutput->device(); in setPhoneState()
539 setOutputDevice(mPrimaryOutput, rxDevice, force, 0); in setPhoneState()
541 setOutputDevice(mPrimaryOutput, rxDevice, force, 0); in setPhoneState()
588 audio_devices_t newDevice = getNewOutputDevice(mPrimaryOutput, true /*fromCache*/); in setForceUse()
594 if ((mEngine->getPhoneState() != AUDIO_MODE_IN_CALL) || (outputDesc != mPrimaryOutput)) { in setForceUse()
[all …]