• Home
  • Raw
  • Download

Lines Matching refs:outputDevices

1210     DeviceVector outputDevices;  in getOutputForAttrInt()  local
1317 outputDevices = mEngine->getOutputDevicesForAttributes(*resultAttr, requestedDevice, false); in getOutputForAttrInt()
1328 if (outputDevices.onlyContainsDevicesWithType(AUDIO_DEVICE_OUT_TELEPHONY_TX) && in getOutputForAttrInt()
1339 __func__, outputDevices.toString().c_str(), config->sample_rate, config->format, in getOutputForAttrInt()
1345 if (*output != AUDIO_IO_HANDLE_NONE && setMsdOutputPatches(&outputDevices) == NO_ERROR) { in getOutputForAttrInt()
1347 __func__, msdDevices.toString().c_str(), outputDevices.toString().c_str()); in getOutputForAttrInt()
1354 if (outputDevices.size() == 1) { in getOutputForAttrInt()
1356 outputDevices.itemAt(0)->getId(), in getOutputForAttrInt()
1371 [this, &outputDevices](audio_usage_t usage) { in getOutputForAttrInt()
1373 usage, outputDevices[0]); }))) { in getOutputForAttrInt()
1380 *output = getOutputForDevices(outputDevices, session, resultAttr, config, in getOutputForAttrInt()
1399 status_t ret = getProfilesForDevices(outputDevices, profiles, *flags, false /*isInput*/); in getOutputForAttrInt()
1415 *selectedDeviceId = getFirstDeviceId(outputDevices); in getOutputForAttrInt()
1416 for (auto &outputDevice : outputDevices) { in getOutputForAttrInt()
1423 if (outputDevices.onlyContainsDevicesWithType(AUDIO_DEVICE_OUT_TELEPHONY_TX)) { in getOutputForAttrInt()
1971 status_t AudioPolicyManager::setMsdOutputPatches(const DeviceVector *outputDevices) { in setMsdOutputPatches() argument
1973 if (outputDevices != nullptr && outputDevices->size() > 0) { in setMsdOutputPatches()
1974 devices.add(*outputDevices); in setMsdOutputPatches()
4578 DeviceVector outputDevices = mEngine->getOutputDevicesForAttributes(attributes); in isDirectOutputSupported() local
4579 sp<IOProfile> profile = getProfileForOutput(outputDevices, in isDirectOutputSupported()
4593 profile = getMsdProfileForOutput(outputDevices, in isDirectOutputSupported()
4688 DeviceVector outputDevices = engineOutputDevices; in getDirectPlaybackSupport() local
4694 outputDevices = getMsdAudioOutDevices(); in getDirectPlaybackSupport()
4697 if (curProfile->getCompatibilityScore(outputDevices, in getDirectPlaybackSupport()