Searched refs:AsyncWorker (Results 1 – 1 of 1) sorted by relevance
711 class AsyncWorker : public Singleton<AsyncWorker> { class731 AsyncWorker() : Singleton<AsyncWorker>() { mThread = std::thread(&AsyncWorker::run, this); } in AsyncWorker() function in android::AsyncWorker733 ~AsyncWorker() { in ~AsyncWorker()747 ANDROID_SINGLETON_STATIC_INSTANCE(AsyncWorker);758 AsyncWorker::getInstance().post([listener = mListener]() { listener->onBufferReleased(); }); in onBufferReleased()762 AsyncWorker::getInstance().post( in onBuffersDiscarded()