Searched refs:newDevice (Results 1 – 2 of 2) sorted by relevance
/hardware/qcom/audio/legacy/alsa_sound/ |
D | AudioPolicyManagerALSA.cpp | 51 audio_devices_t newDevice = AUDIO_DEVICE_NONE; in setPhoneState() local 95 newDevice = getNewDevice(mPrimaryOutput, false /*fromCache*/); in setPhoneState() 104 if (isStateInCall(oldState) && newDevice == AUDIO_DEVICE_NONE) { in setPhoneState() 105 newDevice = hwOutputDesc->device(); in setPhoneState() 144 setOutputDevice(mPrimaryOutput, newDevice, force, delayMs); in setPhoneState()
|
/hardware/libhardware_legacy/audio/ |
D | AudioPolicyManagerBase.cpp | 291 audio_devices_t newDevice = AUDIO_DEVICE_NONE; in setPhoneState() local 343 newDevice = getNewDevice(mPrimaryOutput, false /*fromCache*/); in setPhoneState() 352 if (isStateInCall(oldState) && newDevice == AUDIO_DEVICE_NONE) { in setPhoneState() 353 newDevice = hwOutputDesc->device(); in setPhoneState() 383 setOutputDevice(mPrimaryOutput, newDevice, force, delayMs); in setPhoneState() 467 audio_devices_t newDevice = getNewDevice(output, true /*fromCache*/); in setForceUse() local 468 setOutputDevice(output, newDevice, (newDevice != AUDIO_DEVICE_NONE)); in setForceUse() 469 if (forceVolumeReeval && (newDevice != AUDIO_DEVICE_NONE)) { in setForceUse() 470 applyStreamVolumes(output, newDevice, 0, true); in setForceUse() 477 audio_devices_t newDevice = getDeviceForInputSource(inputDesc->mInputSource); in setForceUse() local [all …]
|