Home
last modified time | relevance | path

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

/frameworks/av/services/audiopolicy/enginedefault/src/
DEngine.cpp201 sp<AudioOutputDescriptor> primaryOutput = outputs.getPrimaryOutput(); in getDeviceForStrategyInt() local
203 availableInputDevices.getDeviceTypesFromHwModule(primaryOutput->getModuleHandle()); in getDeviceForStrategyInt()
210 (primaryOutput->supportedDevices().types() | AUDIO_DEVICE_OUT_HEARING_AID) & in getDeviceForStrategyInt()
216 (primaryOutput->getAudioPort()->getModuleVersionMajor() < 3))) { in getDeviceForStrategyInt()
509 sp<AudioOutputDescriptor> primaryOutput = outputs.getPrimaryOutput(); in getDeviceForInputSource() local
511 primaryOutput->getModuleHandle()) & ~AUDIO_DEVICE_BIT_IN; in getDeviceForInputSource()
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioOutputDescriptor.cpp721 sp<SwAudioOutputDescriptor> primaryOutput = getPrimaryOutput(); in isA2dpOffloadedOnPrimary() local
723 if ((primaryOutput != NULL) && (primaryOutput->mProfile != NULL) in isA2dpOffloadedOnPrimary()
724 && (primaryOutput->mProfile->getModule() != NULL)) { in isA2dpOffloadedOnPrimary()
725 sp<HwModule> primaryHwModule = primaryOutput->mProfile->getModule(); in isA2dpOffloadedOnPrimary()