Searched refs:switchWorkerStateSync (Results 1 – 3 of 3) sorted by relevance
/hardware/interfaces/audio/core/all-versions/vts/functional/ |
D | StreamWorker.h | 38 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/ |
D | StreamWorker.h | 47 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/ |
D | StreamWorker.cpp | 63 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
|