Home
last modified time | relevance | path

Searched refs:oldState (Results 1 – 2 of 2) sorted by relevance

/hardware/qcom/audio/legacy/alsa_sound/
DAudioPolicyManagerALSA.cpp72 int oldState = mPhoneState; in setPhoneState() local
77 if (!isStateInCall(oldState) && isStateInCall(state)) { in setPhoneState()
82 } else if (isStateInCall(oldState) && !isStateInCall(state)) { in setPhoneState()
87 } else if (isStateInCall(state) && (state != oldState)) { in setPhoneState()
104 if (isStateInCall(oldState) && newDevice == AUDIO_DEVICE_NONE) { in setPhoneState()
112 if (isStateInCall(state) && oldState == AudioSystem::MODE_RINGTONE) { in setPhoneState()
139 if (state == AudioSystem::MODE_IN_CALL && oldState == AudioSystem::MODE_RINGTONE) { in setPhoneState()
152 if (oldState == AudioSystem::MODE_RINGTONE) { in setPhoneState()
/hardware/ril/reference-ril/
Dreference-ril.c2807 RIL_RadioState oldState; local
2811 oldState = sState;
2832 if (sState != oldState) {