Home
last modified time | relevance | path

Searched refs:ThreadController (Results 1 – 2 of 2) sorted by relevance

/hardware/interfaces/audio/aidl/common/
DStreamWorker.cpp25 bool ThreadController::start(const std::string& name, int priority) { in start()
29 mWorker = std::thread(&ThreadController::workerThread, this); in start()
44 void ThreadController::stop() { in stop()
55 void ThreadController::join() { in join()
61 bool ThreadController::waitForAtLeastOneCycle() { in waitForAtLeastOneCycle()
69 void ThreadController::switchWorkerStateSync(WorkerState oldState, WorkerState newState, in switchWorkerStateSync()
86 void ThreadController::workerThread() { in workerThread()
/hardware/interfaces/audio/aidl/common/include/
DStreamWorker.h36 class ThreadController {
40 explicit ThreadController(StreamLogic* logic) : mLogic(logic) {} in ThreadController() function
41 ~ThreadController() { stop(); } in ~ThreadController()
107 friend class internal::ThreadController;
169 internal::ThreadController mThread;