Home
last modified time | relevance | path

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

/hardware/interfaces/audio/core/all-versions/vts/functional/
DStreamWorker.h38 void pause() { switchWorkerStateSync(WorkerState::RUNNING, WorkerState::PAUSE_REQUESTED); } in pause()
39 void resume() { switchWorkerStateSync(WorkerState::PAUSED, WorkerState::RESUME_REQUESTED); } in resume()
56 switchWorkerStateSync(WorkerState::RUNNING, WorkerState::PAUSE_REQUESTED, &newState); in waitForAtLeastOneCycle()
58 switchWorkerStateSync(newState, WorkerState::RESUME_REQUESTED, &newState); in waitForAtLeastOneCycle()
75 void switchWorkerStateSync(WorkerState oldState, WorkerState newState,
/hardware/interfaces/audio/aidl/common/include/
DStreamWorker.h47 void pause() { switchWorkerStateSync(WorkerState::RUNNING, WorkerState::PAUSE_REQUESTED); } in pause()
48 void resume() { switchWorkerStateSync(WorkerState::PAUSED, WorkerState::RESUME_REQUESTED); } in resume()
75 void switchWorkerStateSync(WorkerState oldState, WorkerState newState,
/hardware/interfaces/audio/aidl/common/
DStreamWorker.cpp63 switchWorkerStateSync(WorkerState::RUNNING, WorkerState::PAUSE_REQUESTED, &newState); in waitForAtLeastOneCycle()
65 switchWorkerStateSync(newState, WorkerState::RESUME_REQUESTED, &newState); in waitForAtLeastOneCycle()
69 void ThreadController::switchWorkerStateSync(WorkerState oldState, WorkerState newState, in switchWorkerStateSync() function in android::hardware::audio::common::internal::ThreadController