Lines Matching refs:newDevice
332 audio_devices_t newDevice = getNewOutputDevice(mPrimaryOutput, false /*fromCache*/);
333 updateCallRouting(newDevice);
338 audio_devices_t newDevice = getNewOutputDevice(mOutputs.keyAt(i),
347 setOutputDevice(output, newDevice, force, 0);
420 audio_devices_t newDevice = getNewOutputDevice(mPrimaryOutput, false /*fromCache*/);
421 updateCallRouting(newDevice);
812 audio_devices_t newDevice = getNewOutputDevice(mPrimaryOutput, true /*fromCache*/);
813 updateCallRouting(newDevice);
817 audio_devices_t newDevice = getNewOutputDevice(output, true /*fromCache*/);
819 setOutputDevice(output, newDevice, (newDevice != AUDIO_DEVICE_NONE));
821 if (forceVolumeReeval && (newDevice != AUDIO_DEVICE_NONE)) {
822 applyStreamVolumes(output, newDevice, 0, true);
1270 audio_devices_t newDevice;
1272 newDevice = AUDIO_DEVICE_OUT_REMOTE_SUBMIX;
1274 newDevice = getNewOutputDevice(output, false /*fromCache*/);
1290 desc->device() != newDevice) {
1302 uint32_t muteWaitMs = setOutputDevice(output, newDevice, force);
1311 mStreams[stream].getVolumeIndex(newDevice),
1313 newDevice);
1321 if (audio_is_remote_submix_device(newDevice) && outputDesc->mPolicyMix != NULL &&
1378 audio_devices_t newDevice = getNewOutputDevice(output, false /*fromCache*/);
1384 setOutputDevice(output, newDevice, false, outputDesc->mLatency*2);
1394 (newDevice != desc->device())) {
4097 audio_devices_t newDevice = getDeviceForStrategy(strategy, false /*fromCache*/);
4099 SortedVector<audio_io_handle_t> dstOutputs = getOutputsForDevice(newDevice, mOutputs);
4127 setStrategyMute(strategy, false, srcOutputs[i], MUTE_TIME_MS, newDevice);