Lines Matching refs:newDevice

197             audio_devices_t newDevice = getNewOutputDevice(mPrimaryOutput, false /*fromCache*/);  in setDeviceConnectionStateInt()  local
198 updateCallRouting(newDevice); in setDeviceConnectionStateInt()
203 audio_devices_t newDevice = getNewOutputDevice(desc, true /*fromCache*/); in setDeviceConnectionStateInt() local
211 setOutputDevice(desc, newDevice, force, 0); in setDeviceConnectionStateInt()
294 audio_devices_t newDevice = getNewOutputDevice(mPrimaryOutput, false /*fromCache*/); in setDeviceConnectionStateInt() local
295 updateCallRouting(newDevice); in setDeviceConnectionStateInt()
666 audio_devices_t newDevice = getNewOutputDevice(mPrimaryOutput, true /*fromCache*/); in setForceUse() local
667 waitMs = updateCallRouting(newDevice, delayMs); in setForceUse()
671 audio_devices_t newDevice = getNewOutputDevice(outputDesc, true /*fromCache*/); in setForceUse() local
673 waitMs = setOutputDevice(outputDesc, newDevice, (newDevice != AUDIO_DEVICE_NONE), in setForceUse()
676 if (forceVolumeReeval && (newDevice != AUDIO_DEVICE_NONE)) { in setForceUse()
677 applyStreamVolumes(outputDesc, newDevice, waitMs, true); in setForceUse()
684 audio_devices_t newDevice = getNewInputDevice(activeDesc); in setForceUse() local
687 (newDevice & ~AUDIO_DEVICE_BIT_IN)) { in setForceUse()
688 setInputDevice(activeDesc->mIoHandle, newDevice); in setForceUse()
1182 audio_devices_t newDevice; in startOutput() local
1189 newDevice = policyMix->mDeviceType; in startOutput()
1191 newDevice = AUDIO_DEVICE_OUT_REMOTE_SUBMIX; in startOutput()
1194 newDevice = getNewOutputDevice(outputDesc, false /*fromCache*/); in startOutput()
1197 newDevice = AUDIO_DEVICE_NONE; in startOutput()
1202 status_t status = startSource(outputDesc, stream, newDevice, address, &delayMs); in startOutput()
1210 if (audio_is_remote_submix_device(newDevice) && policyMix != NULL && in startOutput()
1387 audio_devices_t newDevice = getNewOutputDevice(outputDesc, false /*fromCache*/); in stopSource() local
1393 setOutputDevice(outputDesc, newDevice, false, outputDesc->latency()*2); in stopSource()
1403 (newDevice != desc->device())) { in stopSource()
3130 audio_devices_t newDevice = getNewOutputDevice(outputDesc, false /*fromCache*/); in checkStrategyRoute() local
3131 setOutputDevice(outputDesc, newDevice, false); in checkStrategyRoute()
4461 audio_devices_t newDevice = getDeviceForStrategy(strategy, false /*fromCache*/); in AudioPolicyManager() local
4463 SortedVector<audio_io_handle_t> dstOutputs = getOutputsForDevice(newDevice, mOutputs); in AudioPolicyManager()
4491 setStrategyMute(strategy, false, desc, MUTE_TIME_MS, newDevice); in AudioPolicyManager()