Searched refs:oldState (Results 1 – 5 of 5) 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()
75 void switchWorkerStateSync(WorkerState oldState, WorkerState newState,78 if (mWorkerState != oldState) {
69 void ThreadController::switchWorkerStateSync(WorkerState oldState, WorkerState newState, in switchWorkerStateSync() argument73 if (mWorkerState != oldState) { in switchWorkerStateSync()
75 void switchWorkerStateSync(WorkerState oldState, WorkerState newState,
2807 RIL_RadioState oldState; local2811 oldState = sState;2832 if (sState != oldState) {