Searched defs:newDevice (Results 1 - 2 of 2) sorted by relevance

/hardware/qcom/audio/legacy/alsa_sound/
H A DAudioPolicyManagerALSA.cpp51 audio_devices_t newDevice = AUDIO_DEVICE_NONE; local
95 newDevice = getNewDevice(mPrimaryOutput, false /*fromCache*/);
104 if (isStateInCall(oldState) && newDevice == AUDIO_DEVICE_NONE) {
105 newDevice = hwOutputDesc->device();
144 setOutputDevice(mPrimaryOutput, newDevice, force, delayMs);
/hardware/libhardware_legacy/audio/
H A DAudioPolicyManagerBase.cpp292 audio_devices_t newDevice = AUDIO_DEVICE_NONE; local
344 newDevice = getNewDevice(mPrimaryOutput, false /*fromCache*/);
353 if (isStateInCall(oldState) && newDevice == AUDIO_DEVICE_NONE) {
354 newDevice = hwOutputDesc->device();
384 setOutputDevice(mPrimaryOutput, newDevice, force, delayMs);
468 audio_devices_t newDevice = getNewDevice(output, true /*fromCache*/); local
469 setOutputDevice(output, newDevice, (newDevice != AUDIO_DEVICE_NONE));
470 if (forceVolumeReeval && (newDevice != AUDIO_DEVICE_NONE)) {
471 applyStreamVolumes(output, newDevice,
478 audio_devices_t newDevice = getDeviceForInputSource(inputDesc->mInputSource); local
760 audio_devices_t newDevice = getNewDevice(output, false /*fromCache*/); local
833 audio_devices_t newDevice = getNewDevice(output, false /*fromCache*/); local
1020 audio_devices_t newDevice = getDeviceForInputSource(inputDesc->mInputSource); local
2326 audio_devices_t newDevice = getDeviceForStrategy(strategy, false /*fromCache*/); local
[all...]

Completed in 39 milliseconds