Lines Matching full:oldstate
305 int oldState = mPhoneState;310 if (!isStateInCall(oldState) && isStateInCall(state)) {319 } else if (isStateInCall(oldState) && !isStateInCall(state)) {328 } else if (isStateInCall(state) && (state != oldState)) {345 if (isStateInCall(oldState) && newDevice == AUDIO_DEVICE_NONE) {