Lines Matching refs:newDevices

276                 DeviceVector newDevices = getNewOutputDevices(desc, true /*fromCache*/);  in setDeviceConnectionStateInt()  local
285 setOutputDevices(desc, newDevices, force, 0); in setDeviceConnectionStateInt()
812 DeviceVector newDevices = getNewOutputDevices(desc, true /*fromCache*/); in setPhoneState() local
814 setOutputDevices(desc, newDevices, !newDevices.isEmpty(), 0 /*delayMs*/); in setPhoneState()
2051 DeviceVector newDevices = getNewOutputDevices(outputDesc, false /*fromCache*/); in stopSource() local
2057 setOutputDevices(outputDesc, newDevices, false, outputDesc->latency()*2); in stopSource()
2067 (newDevices != desc->devices())) { in stopSource()
3396 DeviceVector newDevices = getNewOutputDevices(outputDesc, true /*fromCache*/); in updateCallAndOutputRouting() local
3401 waitMs = setOutputDevices(outputDesc, newDevices, !newDevices.isEmpty(), delayMs); in updateCallAndOutputRouting()
3405 if (forceVolumeReeval && !newDevices.isEmpty()) { in updateCallAndOutputRouting()
3406 applyStreamVolumes(outputDesc, newDevices.types(), waitMs, true); in updateCallAndOutputRouting()
5172 DeviceVector newDevices; in onNewAudioModulesAvailable() local
5173 onNewAudioModulesAvailableInt(&newDevices); in onNewAudioModulesAvailable()
5174 if (!newDevices.empty()) { in onNewAudioModulesAvailable()
5180 void AudioPolicyManager::onNewAudioModulesAvailableInt(DeviceVector *newDevices) in onNewAudioModulesAvailableInt() argument
5244 if (newDevices) newDevices->add(device); in onNewAudioModulesAvailableInt()
5305 if (newDevices) newDevices->add(device); in onNewAudioModulesAvailableInt()
5817 DeviceVector newDevices = mEngine->getOutputDevicesForAttributes(attr, 0, false /*fromCache*/); in checkOutputForAttributes() local
5820 SortedVector<audio_io_handle_t> dstOutputs = getOutputsForDevices(newDevices, mOutputs); in checkOutputForAttributes()
5879 sp<IOProfile> profile = getProfileForOutput(newDevices, in checkOutputForAttributes()
5905 newDevices.types()); in checkOutputForAttributes()