Searched refs:PAUSE_REQUESTED (Results 1 – 3 of 3) sorted by relevance
/hardware/interfaces/audio/core/all-versions/vts/functional/ |
D | StreamWorker.h | 27 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/ |
D | StreamWorker.cpp | 63 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/ |
D | StreamWorker.h | 37 enum class WorkerState { INITIAL, STOPPED, RUNNING, PAUSE_REQUESTED, PAUSED, RESUME_REQUESTED }; enumerator 47 void pause() { switchWorkerStateSync(WorkerState::RUNNING, WorkerState::PAUSE_REQUESTED); } in pause()
|