Home
last modified time | relevance | path

Searched refs:mCb (Results 1 – 25 of 27) sorted by relevance

12

/hardware/interfaces/biometrics/face/aidl/vts/
DVtsHalBiometricsFaceTargetTest.cpp163 mCb = ndk::SharedRefBase::make<SessionCallback>(); in SetUp()
180 isOk = mHal->createSession(kSensorId, kUserId, mCb, &mSession).isOk(); in SetUp()
192 auto lock = std::unique_lock<std::mutex>(mCb->mMutex); in TearDown()
193 mCb->mCv.wait(lock, [this] { return mCb->mOnSessionClosedInvoked; }); in TearDown()
197 std::shared_ptr<SessionCallback> mCb; member in aidl::android::hardware::biometrics::face::__anon6530394c0111::Face
221 auto lock = std::unique_lock{mCb->mMutex}; in TEST_P()
222 mCb->mCv.wait(lock, [this] { return mCb->mOnErrorInvoked; }); in TEST_P()
223 EXPECT_EQ(mCb->mError, Error::UNABLE_TO_PROCESS); in TEST_P()
224 EXPECT_EQ(mCb->mVendorCode, 0); in TEST_P()
236 auto lock = std::unique_lock{mCb->mMutex}; in TEST_P()
[all …]
/hardware/interfaces/biometrics/fingerprint/aidl/vts/
DVtsHalBiometricsFingerprintTargetTest.cpp144 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()
[all …]
/hardware/interfaces/biometrics/fingerprint/aidl/default/
DSession.cpp29 mCb(std::move(cb)), in Session()
38 CHECK(mCb); in Session()
71 mEngine->generateChallengeImpl(mCb.get()); in generateChallenge()
84 mEngine->revokeChallengeImpl(mCb.get(), challenge); in revokeChallenge()
102 mCb->onError(Error::CANCELED, 0 /* vendorCode */); in enroll()
104 mEngine->enrollImpl(mCb.get(), hat); in enroll()
124 mCb->onError(Error::CANCELED, 0 /* vendorCode */); in authenticate()
126 mEngine->authenticateImpl(mCb.get(), operationId); in authenticate()
145 mCb->onError(Error::CANCELED, 0 /* vendorCode */); in detectInteraction()
147 mEngine->detectInteractionImpl(mCb.get()); in detectInteraction()
[all …]
/hardware/qcom/sm7250/gps/utils/
DLocTimer.cpp589 loc_timer_callback mCb; member in loc_util::LocTimerWrapper
593 inline ~LocTimerWrapper() { mCb = NULL; mMe = NULL; } in ~LocTimerWrapper()
596 mCb(cb), mCallerData(callerData), mMe(this) { in LocTimerWrapper()
600 if (NULL != mCb && this == mMe) { in destroy()
606 loc_timer_callback cb = mCb; in timeOutCallback()
/hardware/qcom/sm8150/gps/utils/
DLocTimer.cpp589 loc_timer_callback mCb; member in loc_util::LocTimerWrapper
593 inline ~LocTimerWrapper() { mCb = NULL; mMe = NULL; } in ~LocTimerWrapper()
596 mCb(cb), mCallerData(callerData), mMe(this) { in LocTimerWrapper()
600 if (NULL != mCb && this == mMe) { in destroy()
606 loc_timer_callback cb = mCb; in timeOutCallback()
/hardware/qcom/sm8150p/gps/android/utils/
Dbattery_listener.cpp75 cb_fn_t mCb; member
151 mCb(c); in init()
171 mCb(cb) in BatteryListenerImpl()
/hardware/qcom/sm7150/gps/android/utils/
Dbattery_listener.cpp78 cb_fn_t mCb; member
155 mCb(c); in init()
176 mCb(cb) in BatteryListenerImpl()
/hardware/qcom/sm7250/gps/android/utils/
Dbattery_listener.cpp80 cb_fn_t mCb; member
157 mCb(c); in init()
178 mCb(cb) in BatteryListenerImpl()
/hardware/qcom/sm8150/gps/android/utils/
Dbattery_listener.cpp80 cb_fn_t mCb; member
157 mCb(c); in init()
178 mCb(cb) in BatteryListenerImpl()
/hardware/qcom/gps/msm8996/utils/
DLocTimer.cpp583 loc_timer_callback mCb; member in LocTimerWrapper
587 inline ~LocTimerWrapper() { mCb = NULL; mMe = NULL; } in ~LocTimerWrapper()
590 mCb(cb), mCallerData(callerData), mMe(this) { in LocTimerWrapper()
594 if (NULL != mCb && this == mMe) { in destroy()
600 loc_timer_callback cb = mCb; in timeOutCallback()
/hardware/qcom/data/ipacfg-mgr/msm8998/hal/src/
DHAL.cpp82 mCb.clear(); in HAL()
181 mCbIpa = new IpaEventRelay(mCb); in registerIpaCb()
194 mCbCt = new CtUpdateAmbassador(mCb); in registerCtCb()
247 return mCb.get() != nullptr; in isInitialized()
341 mCb = cb; in initOffload()
365 mCb.clear(); in stopOffload()
/hardware/qcom/sdm845/data/ipacfg-mgr/hal/src/
DHAL.cpp82 mCb.clear(); in HAL()
181 mCbIpa = new IpaEventRelay(mCb); in registerIpaCb()
194 mCbCt = new CtUpdateAmbassador(mCb); in registerCtCb()
247 return mCb.get() != nullptr; in isInitialized()
341 mCb = cb; in initOffload()
365 mCb.clear(); in stopOffload()
/hardware/qcom/sm8150/data/ipacfg-mgr/hal/src/
DHAL.cpp84 mCb.clear(); in HAL()
183 mCbIpa = new IpaEventRelay(mCb); in registerIpaCb()
196 mCbCt = new CtUpdateAmbassador(mCb); in registerCtCb()
249 return mCb.get() != nullptr; in isInitialized()
343 mCb = cb; in initOffload()
367 mCb.clear(); in stopOffload()
/hardware/qcom/sdm845/gps/msm8998/utils/
DLocTimer.cpp595 loc_timer_callback mCb; member in LocTimerWrapper
599 inline ~LocTimerWrapper() { mCb = NULL; mMe = NULL; } in ~LocTimerWrapper()
602 mCb(cb), mCallerData(callerData), mMe(this) { in LocTimerWrapper()
606 if (NULL != mCb && this == mMe) { in destroy()
612 loc_timer_callback cb = mCb; in timeOutCallback()
/hardware/qcom/gps/msm8998/utils/
DLocTimer.cpp595 loc_timer_callback mCb; member in LocTimerWrapper
599 inline ~LocTimerWrapper() { mCb = NULL; mMe = NULL; } in ~LocTimerWrapper()
602 mCb(cb), mCallerData(callerData), mMe(this) { in LocTimerWrapper()
606 if (NULL != mCb && this == mMe) { in destroy()
612 loc_timer_callback cb = mCb; in timeOutCallback()
/hardware/qcom/gps/msm8909/utils/
DLocTimer.cpp584 loc_timer_callback mCb; member in LocTimerWrapper
588 inline ~LocTimerWrapper() { mCb = NULL; mMe = NULL; } in ~LocTimerWrapper()
591 mCb(cb), mCallerData(callerData), mMe(this) { in LocTimerWrapper()
595 if (NULL != mCb && this == mMe) { in destroy()
601 loc_timer_callback cb = mCb; in timeOutCallback()
/hardware/qcom/sdm845/gps/sdm845/utils/
DLocTimer.cpp598 loc_timer_callback mCb; member in LocTimerWrapper
602 inline ~LocTimerWrapper() { mCb = NULL; mMe = NULL; } in ~LocTimerWrapper()
605 mCb(cb), mCallerData(callerData), mMe(this) { in LocTimerWrapper()
609 if (NULL != mCb && this == mMe) { in destroy()
615 loc_timer_callback cb = mCb; in timeOutCallback()
/hardware/qcom/sm8150p/gps/utils/
DLocTimer.cpp598 loc_timer_callback mCb; member in LocTimerWrapper
602 inline ~LocTimerWrapper() { mCb = NULL; mMe = NULL; } in ~LocTimerWrapper()
605 mCb(cb), mCallerData(callerData), mMe(this) { in LocTimerWrapper()
609 if (NULL != mCb && this == mMe) { in destroy()
615 loc_timer_callback cb = mCb; in timeOutCallback()
/hardware/qcom/gps/msm8909w_3100/utils/
DLocTimer.cpp596 loc_timer_callback mCb; member in LocTimerWrapper
600 inline ~LocTimerWrapper() { mCb = NULL; mMe = NULL; } in ~LocTimerWrapper()
603 mCb(cb), mCallerData(callerData), mMe(this) { in LocTimerWrapper()
607 if (NULL != mCb && this == mMe) { in destroy()
613 loc_timer_callback cb = mCb; in timeOutCallback()
/hardware/qcom/sdm845/gps/msm8909/utils/
DLocTimer.cpp591 loc_timer_callback mCb; member in LocTimerWrapper
595 inline ~LocTimerWrapper() { mCb = NULL; mMe = NULL; } in ~LocTimerWrapper()
598 mCb(cb), mCallerData(callerData), mMe(this) { in LocTimerWrapper()
602 if (NULL != mCb && this == mMe) { in destroy()
608 loc_timer_callback cb = mCb; in timeOutCallback()
/hardware/qcom/sm7150/gps/utils/
DLocTimer.cpp598 loc_timer_callback mCb; member in LocTimerWrapper
602 inline ~LocTimerWrapper() { mCb = NULL; mMe = NULL; } in ~LocTimerWrapper()
605 mCb(cb), mCallerData(callerData), mMe(this) { in LocTimerWrapper()
609 if (NULL != mCb && this == mMe) { in destroy()
615 loc_timer_callback cb = mCb; in timeOutCallback()
/hardware/qcom/sdm845/gps/msm8996/utils/
DLocTimer.cpp589 loc_timer_callback mCb; member in LocTimerWrapper
593 inline ~LocTimerWrapper() { mCb = NULL; mMe = NULL; } in ~LocTimerWrapper()
596 mCb(cb), mCallerData(callerData), mMe(this) { in LocTimerWrapper()
600 if (NULL != mCb && this == mMe) { in destroy()
606 loc_timer_callback cb = mCb; in timeOutCallback()
/hardware/qcom/data/ipacfg-mgr/msm8998/hal/inc/
DHAL.h197 ::android::sp<ITetheringOffloadCallback> mCb;
/hardware/qcom/sm8150/data/ipacfg-mgr/hal/inc/
DHAL.h196 ::android::sp<ITetheringOffloadCallback> mCb;
/hardware/interfaces/biometrics/fingerprint/aidl/default/include/
DSession.h105 std::shared_ptr<ISessionCallback> mCb; variable

12