Home
last modified time | relevance | path

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

/frameworks/av/media/codec2/components/base/include/
DSimpleC2Component.h226 class WorkHandler : public AHandler {
237 WorkHandler();
238 ~WorkHandler() override = default;
265 sp<WorkHandler> mHandler;
/frameworks/av/media/codec2/components/base/
DSimpleC2Component.cpp662 SimpleC2Component::WorkHandler::WorkHandler() : mRunning(false) {} in WorkHandler() function in android::SimpleC2Component::WorkHandler
664 void SimpleC2Component::WorkHandler::setComponent( in setComponent()
679 void SimpleC2Component::WorkHandler::onMessageReceived(const sp<AMessage> &msg) { in onMessageReceived()
805 mHandler(new WorkHandler) { in SimpleC2Component()
851 (new AMessage(WorkHandler::kWhatProcess, mHandler))->post(); in queue_nb()
906 (new AMessage(WorkHandler::kWhatProcess, mHandler))->post(); in drain_nb()
921 (new AMessage(WorkHandler::kWhatInit, mHandler))->postAndAwaitResponse(&reply); in start()
928 (new AMessage(WorkHandler::kWhatStart, mHandler))->post(); in start()
950 (new AMessage(WorkHandler::kWhatStop, mHandler))->postAndAwaitResponse(&reply); in stop()
971 (new AMessage(WorkHandler::kWhatReset, mHandler))->postAndAwaitResponse(&reply); in reset()
[all …]