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.cpp226 audio_devices_t newDevice = getDeviceForInputSource(inputDesc->mInputSource); local
227 if ((newDevice != AUDIO_DEVICE_NONE) && (newDevice != inputDesc->mDevice)) {
229 inputDesc->mDevice, newDevice, activeInput);
230 inputDesc->mDevice = newDevice;
232 param.addInt(String8(AudioParameter::keyRouting), (int)newDevice);
281 audio_devices_t newDevice = AUDIO_DEVICE_NONE; local
325 newDevice = getNewDevice(mPrimaryOutput, false /*fromCache*/);
334 if (isStateInCall(oldState) && newDevice == AUDIO_DEVICE_NONE) {
335 newDevice
449 audio_devices_t newDevice = getNewDevice(output, true /*fromCache*/); local
459 audio_devices_t newDevice = getDeviceForInputSource(inputDesc->mInputSource); local
701 audio_devices_t newDevice = getNewDevice(output, false /*fromCache*/); local
774 audio_devices_t newDevice = getNewDevice(output, false /*fromCache*/); local
944 audio_devices_t newDevice = getDeviceForInputSource(inputDesc->mInputSource); local
1892 audio_devices_t newDevice = getDeviceForStrategy(strategy, false /*fromCache*/); local
[all...]

Completed in 218 milliseconds