Home
last modified time | relevance | path

Searched refs:PAUSE_REQUESTED (Results 1 – 3 of 3) sorted by relevance

/hardware/interfaces/audio/core/all-versions/vts/functional/
DStreamWorker.h27 enum class WorkerState { STOPPED, RUNNING, PAUSE_REQUESTED, PAUSED, RESUME_REQUESTED, ERROR }; enumerator
38 void pause() { switchWorkerStateSync(WorkerState::RUNNING, WorkerState::PAUSE_REQUESTED); } in pause()
56 switchWorkerStateSync(WorkerState::RUNNING, WorkerState::PAUSE_REQUESTED, &newState); in waitForAtLeastOneCycle()
121 if (mWorkerState == WorkerState::PAUSE_REQUESTED) { in workerThread()
130 mWorkerState == WorkerState::PAUSE_REQUESTED) { in workerThread()
/hardware/interfaces/audio/aidl/common/
DStreamWorker.cpp63 switchWorkerStateSync(WorkerState::RUNNING, WorkerState::PAUSE_REQUESTED, &newState); in waitForAtLeastOneCycle()
148 if (mWorkerState == WorkerState::PAUSE_REQUESTED) { in workerThread()
157 mWorkerState == WorkerState::PAUSE_REQUESTED) { in workerThread()
/hardware/interfaces/audio/aidl/common/include/
DStreamWorker.h37 enum class WorkerState { INITIAL, STOPPED, RUNNING, PAUSE_REQUESTED, PAUSED, RESUME_REQUESTED }; enumerator
47 void pause() { switchWorkerStateSync(WorkerState::RUNNING, WorkerState::PAUSE_REQUESTED); } in pause()