Home
last modified time | relevance | path

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

/frameworks/av/media/codec2/components/base/
DSimpleC2Component.cpp61 SimpleC2Component::WorkHandler::WorkHandler() : mRunning(false) {} in WorkHandler() function in android::SimpleC2Component::WorkHandler
63 void SimpleC2Component::WorkHandler::setComponent( in setComponent()
78 void SimpleC2Component::WorkHandler::onMessageReceived(const sp<AMessage> &msg) { in onMessageReceived()
200 mHandler(new WorkHandler) { in SimpleC2Component()
246 (new AMessage(WorkHandler::kWhatProcess, mHandler))->post(); in queue_nb()
301 (new AMessage(WorkHandler::kWhatProcess, mHandler))->post(); in drain_nb()
316 (new AMessage(WorkHandler::kWhatInit, mHandler))->postAndAwaitResponse(&reply); in start()
323 (new AMessage(WorkHandler::kWhatStart, mHandler))->post(); in start()
345 (new AMessage(WorkHandler::kWhatStop, mHandler))->postAndAwaitResponse(&reply); in stop()
366 (new AMessage(WorkHandler::kWhatReset, mHandler))->postAndAwaitResponse(&reply); in reset()
[all …]
/frameworks/av/media/codec2/components/base/include/
DSimpleC2Component.h162 class WorkHandler : public AHandler {
173 WorkHandler();
174 ~WorkHandler() override = default;
201 sp<WorkHandler> mHandler;