Lines Matching refs:mCb

144         mCb = ndk::SharedRefBase::make<SessionCallback>();  in SetUp()
161 isOk = mHal->createSession(kSensorId, kUserId, mCb, &mSession).isOk(); in SetUp()
173 auto lock = std::unique_lock<std::mutex>(mCb->mMutex); in TearDown()
174 mCb->mCv.wait(lock, [this] { return mCb->mOnSessionClosedInvoked; }); in TearDown()
178 std::shared_ptr<SessionCallback> mCb; member in aidl::android::hardware::biometrics::fingerprint::__anon93029d5e0111::Fingerprint
200 auto lock = std::unique_lock{mCb->mMutex}; in TEST_P()
201 mCb->mCv.wait(lock, [this] { return mCb->mOnErrorInvoked; }); in TEST_P()
213 auto lock = std::unique_lock{mCb->mMutex}; in TEST_P()
214 mCb->mCv.wait(lock, [this] { return mCb->mOnChallengeGeneratedInvoked; }); in TEST_P()
215 ASSERT_NE(mCb->mGeneratedChallenge, 0); in TEST_P()
216 ASSERT_EQ(challenges.find(mCb->mGeneratedChallenge), challenges.end()); in TEST_P()
218 challenges.insert(mCb->mGeneratedChallenge); in TEST_P()
219 mCb->mOnChallengeGeneratedInvoked = false; in TEST_P()
230 auto lock = std::unique_lock{mCb->mMutex}; in TEST_P()
231 mCb->mCv.wait(lock, [this] { return mCb->mOnChallengeRevokedInvoked; }); in TEST_P()
232 ASSERT_EQ(mCb->mRevokedChallenge, nonexistentChallenge); in TEST_P()
240 auto lock = std::unique_lock{mCb->mMutex}; in TEST_P()
241 mCb->mCv.wait(lock, [this] { return mCb->mOnChallengeGeneratedInvoked; }); in TEST_P()
245 ASSERT_TRUE(mSession->revokeChallenge(mCb->mGeneratedChallenge).isOk()); in TEST_P()
249 mCb->mCv.wait(lock, [this] { return mCb->mOnChallengeRevokedInvoked; }); in TEST_P()
250 ASSERT_EQ(mCb->mRevokedChallenge, mCb->mGeneratedChallenge); in TEST_P()
258 auto lock = std::unique_lock{mCb->mMutex}; in TEST_P()
259 mCb->mCv.wait(lock, [this] { return mCb->mOnEnrollmentsEnumeratedInvoked; }); in TEST_P()
267 auto lock = std::unique_lock{mCb->mMutex}; in TEST_P()
268 mCb->mCv.wait(lock, [this] { return mCb->mOnEnrollmentsRemovedInvoked; }); in TEST_P()
276 auto lock = std::unique_lock{mCb->mMutex}; in TEST_P()
277 mCb->mCv.wait(lock, [this] { return mCb->mOnAuthenticatorIdRetrievedInvoked; }); in TEST_P()
285 auto lock = std::unique_lock{mCb->mMutex}; in TEST_P()
286 mCb->mCv.wait(lock, [this] { return mCb->mOnAuthenticatorIdInvalidatedInvoked; }); in TEST_P()