Home
last modified time | relevance | path

Searched refs:mWorker (Results 1 – 16 of 16) sorted by relevance

/hardware/interfaces/biometrics/fingerprint/aidl/default/
DSession.cpp42 mWorker(worker), in Session()
48 CHECK(mWorker); in Session()
86 mWorker->schedule(Callable::from([this] { in generateChallenge()
99 mWorker->schedule(Callable::from([this, challenge] { in revokeChallenge()
116 mWorker->schedule(Callable::from([this, hat, cancFuture = std::move(cancFuture)] { in enroll()
138 mWorker->schedule(Callable::from([this, operationId, cancFuture = std::move(cancFuture)] { in authenticate()
159 mWorker->schedule(Callable::from([this, cancFuture = std::move(cancFuture)] { in detectInteraction()
177 mWorker->schedule(Callable::from([this] { in enumerateEnrollments()
190 mWorker->schedule(Callable::from([this, enrollmentIds] { in removeEnrollments()
203 mWorker->schedule(Callable::from([this] { in getAuthenticatorId()
[all …]
DFingerprint.cpp45 Fingerprint::Fingerprint() : mWorker(MAX_WORKER_QUEUE_SIZE) { in Fingerprint()
103 mSession = SharedRefBase::make<Session>(sensorId, userId, cb, mEngine.get(), &mWorker); in createSession()
/hardware/google/pixel/power-libperfmgr/aidl/
DBackgroundWorker.h96 : mCallbackId(reinterpret_cast<std::intptr_t>(this)), mCallback(cb), mWorker(worker) { in TemplatePriorityQueueWorker()
100 mWorker->addCallback(mCallbackId, [&](int64_t packageId) { process(packageId); }); in TemplatePriorityQueueWorker()
104 ~TemplatePriorityQueueWorker() { mWorker->removeCallback(mCallbackId); } in ~TemplatePriorityQueueWorker()
113 mWorker->schedule(mCallbackId, mPackageIdCounter, t);
120 std::shared_ptr<PriorityQueueWorkerPool> mWorker; variable
/hardware/interfaces/audio/core/all-versions/vts/functional/
DStreamWorker.h33 mWorker = std::thread(&StreamWorker::workerThread, this); in start()
50 if (mWorker.joinable()) { in stop()
51 mWorker.join(); in stop()
142 std::thread mWorker; variable
/hardware/interfaces/biometrics/fingerprint/aidl/default/tests/
DSessionTest.cpp88 SessionTest() : mWorker(2) {} in SessionTest()
93 mSession = ndk::SharedRefBase::make<Session>(1, 2, mCb, &mFakeFingerprintEngine, &mWorker); in SetUp()
105 WorkerThread mWorker; member in aidl::android::hardware::biometrics::fingerprint::SessionTest
/hardware/interfaces/audio/aidl/common/
DStreamWorker.cpp29 mWorker = std::thread(&ThreadController::workerThread, this); in start()
56 if (mWorker.joinable()) { in join()
57 mWorker.join(); in join()
/hardware/interfaces/audio/aidl/common/include/
DStreamWorker.h72 std::thread::native_handle_type getThreadNativeHandle() { return mWorker.native_handle(); } in getThreadNativeHandle()
82 std::thread mWorker; variable
/hardware/interfaces/biometrics/fingerprint/aidl/default/include/
DFingerprint.h62 WorkerThread mWorker; variable
DSession.h140 WorkerThread* mWorker; variable
/hardware/interfaces/neuralnetworks/utils/adapter/hidl/include/nnapi/hal/
DBurst.h144 std::thread mWorker; variable
/hardware/interfaces/neuralnetworks/utils/adapter/hidl/src/
DBurst.cpp177 mWorker = std::thread([this] { task(); }); in Burst()
186 mWorker.join(); in ~Burst()
/hardware/interfaces/audio/aidl/default/
DStream.cpp659 if (!mWorker->start()) { in initInstance()
673 pid_t workerTid = mWorker->getTid(); in initInstance()
757 mWorker->stop(); in close()
759 onClose(mWorker->setClosed()); in close()
780 mContext.getInternalCommandCookie() ^ mWorker->getTid()); in stopWorker()
807 mWorker->setIsConnected(!devices.empty()); in setConnectedDevices()
/hardware/interfaces/audio/aidl/default/include/core-impl/
DStream.h406 : mContext(*context), mMetadata(metadata), mWorker(createWorker(context, this)) {} in StreamCommonImpl()
433 bool isClosed() const override { return mWorker->isClosed(); } in isClosed()
457 std::unique_ptr<StreamWorkerInterface> mWorker; variable
/hardware/google/gfxstream/host/
Dvirtio-gpu-gfxstream-renderer.cpp642 CleanupThread() : mWorker([](CleanupTask task) { in __anonf6f38b3e0102()
653 mWorker.start();
665 mWorker.enqueue(std::move(command)); in enqueueCleanup()
669 mWorker.enqueue(Exit{}); in stop()
670 mWorker.join(); in stop()
676 android::base::WorkerThread<CleanupTask> mWorker; member in CleanupThread
/hardware/interfaces/audio/aidl/vts/
DVtsHalAudioCoreModuleTargetTest.cpp3034 mWorker = std::make_unique<typename IOTraits<Stream>::Worker>( in StartWorkerToSendBurstCommands()
3037 ASSERT_TRUE(mWorker->start()); in StartWorkerToSendBurstCommands()
3046 mWorker->join(); in JoinWorkerAfterBurstCommands()
3047 EXPECT_FALSE(mWorker->hasError()) << mWorker->getError(); in JoinWorkerAfterBurstCommands()
3055 mWorker.reset(); in JoinWorkerAfterBurstCommands()
3078 std::unique_ptr<typename IOTraits<Stream>::Worker> mWorker; member in StreamFixtureWithWorker
/hardware/google/graphics/common/libhwc2.1/libdevice/
DExynosDisplay.cpp738 TidTracker(PowerHalHintWorker *worker) : mWorker(worker) { in trackThisThread()
740 mWorker->addBinderTid(mTid); in trackThisThread()
742 ~TidTracker() { mWorker->removeBinderTid(mTid); } in trackThisThread()
744 PowerHalHintWorker *mWorker; in trackThisThread() member