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()
203 mHandler(new WorkHandler) { in SimpleC2Component()
249 (new AMessage(WorkHandler::kWhatProcess, mHandler))->post(); in queue_nb()
304 (new AMessage(WorkHandler::kWhatProcess, mHandler))->post(); in drain_nb()
319 (new AMessage(WorkHandler::kWhatInit, mHandler))->postAndAwaitResponse(&reply); in start()
326 (new AMessage(WorkHandler::kWhatStart, mHandler))->post(); in start()
348 (new AMessage(WorkHandler::kWhatStop, mHandler))->postAndAwaitResponse(&reply); in stop()
369 (new AMessage(WorkHandler::kWhatReset, mHandler))->postAndAwaitResponse(&reply); in reset()
[all …]
/frameworks/av/media/codec2/components/base/include/
DSimpleC2Component.h156 class WorkHandler : public AHandler {
167 WorkHandler();
168 ~WorkHandler() override = default;
195 sp<WorkHandler> mHandler;