Lines Matching defs:newDevice
181 audio_devices_t newDevice = getNewOutputDevice(mPrimaryOutput, false /*fromCache*/);
182 updateCallRouting(newDevice);
187 audio_devices_t newDevice = getNewOutputDevice(desc, true /*fromCache*/);
195 setOutputDevice(desc, newDevice, force, 0);
275 audio_devices_t newDevice = getNewOutputDevice(mPrimaryOutput, false /*fromCache*/);
276 updateCallRouting(newDevice);
588 audio_devices_t newDevice = getNewOutputDevice(mPrimaryOutput, true /*fromCache*/);
589 updateCallRouting(newDevice);
593 audio_devices_t newDevice = getNewOutputDevice(outputDesc, true /*fromCache*/);
595 setOutputDevice(outputDesc, newDevice, (newDevice != AUDIO_DEVICE_NONE));
597 if (forceVolumeReeval && (newDevice != AUDIO_DEVICE_NONE)) {
598 applyStreamVolumes(outputDesc, newDevice, 0, true);
605 audio_devices_t newDevice = getNewInputDevice(activeInput);
607 if (activeDesc->mProfile->getSupportedDevices().types() & (newDevice & ~AUDIO_DEVICE_BIT_IN)) {
608 setInputDevice(activeInput, newDevice);
1092 audio_devices_t newDevice;
1099 newDevice
1101 newDevice = AUDIO_DEVICE_OUT_REMOTE_SUBMIX;
1104 newDevice = getNewOutputDevice(outputDesc, false /*fromCache*/);
1107 newDevice = AUDIO_DEVICE_NONE;
1112 status_t status = startSource(outputDesc, stream, newDevice, address, &delayMs);
1120 if (audio_is_remote_submix_device(newDevice) && policyMix != NULL &&
1280 audio_devices_t newDevice = getNewOutputDevice(outputDesc, false /*fromCache*/);
1286 setOutputDevice(outputDesc, newDevice, false, outputDesc->latency()*2);
1296 (newDevice != desc->device())) {
2840 audio_devices_t newDevice = getNewOutputDevice(outputDesc, false /*fromCache*/);
2841 setOutputDevice(outputDesc, newDevice, false);
4141 audio_devices_t newDevice = getDeviceForStrategy(strategy, false /*fromCache*/);
4143 SortedVector<audio_io_handle_t> dstOutputs = getOutputsForDevice(newDevice, mOutputs);
4171 setStrategyMute(strategy, false, desc, MUTE_TIME_MS, newDevice);