Searched refs:oldState (Results 1 – 3 of 3) sorted by relevance
72 int oldState = mPhoneState; in setPhoneState() local77 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()
2453 RIL_RadioState oldState; local2457 oldState = sState;2478 if (sState != oldState) {
312 int oldState = mPhoneState; in setPhoneState() local317 if (!isStateInCall(oldState) && isStateInCall(state)) { in setPhoneState()326 } else if (isStateInCall(oldState) && !isStateInCall(state)) { in setPhoneState()335 } else if (isStateInCall(state) && (state != oldState)) { in setPhoneState()352 if (isStateInCall(oldState) && newDevice == AUDIO_DEVICE_NONE) { in setPhoneState()