Lines Matching refs:newDevices
265 DeviceVector newDevices = getNewOutputDevices(mPrimaryOutput, false /*fromCache*/); in setDeviceConnectionStateInt() local
266 updateCallRouting(newDevices); in setDeviceConnectionStateInt()
272 DeviceVector newDevices = getNewOutputDevices(desc, true /*fromCache*/); in setDeviceConnectionStateInt() local
281 setOutputDevices(desc, newDevices, force, 0); in setDeviceConnectionStateInt()
356 DeviceVector newDevices = getNewOutputDevices(mPrimaryOutput, false /*fromCache*/); in setDeviceConnectionStateInt() local
357 updateCallRouting(newDevices); in setDeviceConnectionStateInt()
729 DeviceVector newDevices = getNewOutputDevices(desc, true /*fromCache*/); in setPhoneState() local
731 setOutputDevices(desc, newDevices, !newDevices.isEmpty(), 0 /*delayMs*/); in setPhoneState()
1870 DeviceVector newDevices = getNewOutputDevices(outputDesc, false /*fromCache*/); in stopSource() local
1876 setOutputDevices(outputDesc, newDevices, false, outputDesc->latency()*2); in stopSource()
1886 (newDevices != desc->devices())) { in stopSource()
3162 DeviceVector newDevices = getNewOutputDevices(mPrimaryOutput, true /*fromCache*/); in updateCallAndOutputRouting() local
3163 waitMs = updateCallRouting(newDevices, delayMs); in updateCallAndOutputRouting()
3167 DeviceVector newDevices = getNewOutputDevices(outputDesc, true /*fromCache*/); in updateCallAndOutputRouting() local
3172 waitMs = setOutputDevices(outputDesc, newDevices, !newDevices.isEmpty(), delayMs); in updateCallAndOutputRouting()
3174 if (forceVolumeReeval && !newDevices.isEmpty()) { in updateCallAndOutputRouting()
3175 applyStreamVolumes(outputDesc, newDevices.types(), waitMs, true); in updateCallAndOutputRouting()
4588 DeviceVector newDevices; in onNewAudioModulesAvailable() local
4589 onNewAudioModulesAvailableInt(&newDevices); in onNewAudioModulesAvailable()
4590 if (!newDevices.empty()) { in onNewAudioModulesAvailable()
4596 void AudioPolicyManager::onNewAudioModulesAvailableInt(DeviceVector *newDevices) in onNewAudioModulesAvailableInt() argument
4659 if (newDevices) newDevices->add(device); in onNewAudioModulesAvailableInt()
4719 if (newDevices) newDevices->add(device); in onNewAudioModulesAvailableInt()
5237 DeviceVector newDevices = mEngine->getOutputDevicesForAttributes(attr, 0, false /*fromCache*/); in checkOutputForAttributes() local
5240 SortedVector<audio_io_handle_t> dstOutputs = getOutputsForDevices(newDevices, mOutputs); in checkOutputForAttributes()
5298 sp<IOProfile> profile = getProfileForOutput(newDevices, in checkOutputForAttributes()
5324 newDevices.types()); in checkOutputForAttributes()