Home
last modified time | relevance | path

Searched refs:oldState (Results 1 – 5 of 5) 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/interfaces/audio/core/all-versions/vts/functional/
DStreamWorker.h75 void switchWorkerStateSync(WorkerState oldState, WorkerState newState,
78 if (mWorkerState != oldState) {
/hardware/interfaces/audio/aidl/common/
DStreamWorker.cpp69 void ThreadController::switchWorkerStateSync(WorkerState oldState, WorkerState newState, in switchWorkerStateSync() argument
73 if (mWorkerState != oldState) { in switchWorkerStateSync()
/hardware/interfaces/audio/aidl/common/include/
DStreamWorker.h75 void switchWorkerStateSync(WorkerState oldState, WorkerState newState,
/hardware/ril/reference-ril/
Dreference-ril.c2807 RIL_RadioState oldState; local
2811 oldState = sState;
2832 if (sState != oldState) {