/hardware/interfaces/biometrics/face/aidl/vts/ |
D | VtsHalBiometricsFaceTargetTest.cpp | 163 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::__anon247bc3600111::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/ |
D | VtsHalBiometricsFingerprintTargetTest.cpp | 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::__anonfc4c3a720111::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/face/aidl/default/ |
D | Session.cpp | 38 mCb(std::move(cb)), in Session() 42 CHECK(mCb); in Session() 53 mThread->schedule(Callable::from([this] { mEngine->generateChallengeImpl(mCb.get()); })); in generateChallenge() 60 [this, challenge] { mEngine->revokeChallengeImpl(mCb.get(), challenge); })); in revokeChallenge() 80 mEngine->enrollImpl(mCb.get(), hat, enrollmentType, features, cancFuture); in enroll() 96 mEngine->authenticateImpl(mCb.get(), keystoreOperationId, cancFuture); in authenticate() 110 mEngine->detectInteractionImpl(mCb.get(), cancFuture); in detectInteraction() 119 mThread->schedule(Callable::from([this] { mEngine->enumerateEnrollmentsImpl(mCb.get()); })); in enumerateEnrollments() 126 [this, enrollmentIds] { mEngine->removeEnrollmentsImpl(mCb.get(), enrollmentIds); })); in removeEnrollments() 132 mThread->schedule(Callable::from([this] { mEngine->getFeaturesImpl(mCb.get()); })); in getFeatures() [all …]
|
/hardware/interfaces/biometrics/fingerprint/aidl/default/ |
D | Session.cpp | 40 mCb(std::move(cb)), in Session() 49 CHECK(mCb); in Session() 88 mEngine->generateChallengeImpl(mCb.get()); in generateChallenge() 101 mEngine->revokeChallengeImpl(mCb.get(), challenge); in revokeChallenge() 119 mCb->onError(Error::CANCELED, 0 /* vendorCode */); in enroll() 121 mEngine->enrollImpl(mCb.get(), hat, cancFuture); in enroll() 141 mCb->onError(Error::CANCELED, 0 /* vendorCode */); in authenticate() 143 mEngine->authenticateImpl(mCb.get(), operationId, cancFuture); in authenticate() 162 mCb->onError(Error::CANCELED, 0 /* vendorCode */); in detectInteraction() 164 mEngine->detectInteractionImpl(mCb.get(), cancFuture); in detectInteraction() [all …]
|
/hardware/interfaces/biometrics/fingerprint/aidl/default/tests/ |
D | SessionTest.cpp | 92 mCb = ndk::SharedRefBase::make<TestSessionCallback>(); in SetUp() 93 mSession = ndk::SharedRefBase::make<Session>(1, 2, mCb, &mFakeFingerprintEngine, &mWorker); in SetUp() 95 mSession->linkToDeath(mCb->asBinder().get()); in SetUp() 101 std::shared_ptr<TestSessionCallback> mCb; member in aidl::android::hardware::biometrics::fingerprint::SessionTest 110 ASSERT_TRUE(!mCb->mIsClosed); in TEST_F() 113 ASSERT_TRUE(!mCb->mIsClosed); in TEST_F() 116 ASSERT_TRUE(mCb->mIsClosed); in TEST_F()
|
/hardware/interfaces/bluetooth/aidl/default/ |
D | BluetoothHci.cpp | 71 mCb = cb; in LinkToDeath() 74 mCb->asBinder().get(), clientDeathRecipient_, this /* cookie */); in LinkToDeath() 80 LOG_ALWAYS_FATAL_IF(cb != mCb, "Unable to unlink mismatched pointers"); in UnlinkToDeath() 84 if (mCb != nullptr && !AIBinder_isAlive(mCb->asBinder().get())) { in serviceDied() 97 std::shared_ptr<IBluetoothHciCallbacks> mCb; member in aidl::android::hardware::bluetooth::impl::BluetoothDeathRecipient 226 mCb = cb; in initialize() 241 mDeathRecipient->LinkToDeath(mCb); in initialize() 263 mCb->aclDataReceived(raw_acl); in initialize() 266 mCb->scoDataReceived(raw_sco); in initialize() 269 mCb->hciEventReceived(raw_event); in initialize() [all …]
|
/hardware/nxp/keymint/transport/ |
D | IntervalTimer.cpp | 50 mCb = NULL; in IntervalTimer() 59 if (cb != mCb) { in set() 84 mCb = NULL; in kill() 103 mCb = cb; in create()
|
/hardware/nxp/nfc/snxxx/halimpl/utils/ |
D | IntervalTimer.cpp | 49 mCb = NULL; in IntervalTimer() 58 if (cb != mCb) { in set() 83 mCb = NULL; in kill() 100 mCb = cb; in create()
|
D | IntervalTimer.h | 55 TIMER_FUNC mCb; variable
|
/hardware/google/aemu/base/include/aemu/base/async/ |
D | SubscriberList.h | 53 explicit SubscriptionTokenImpl(const Callback& cb) : mCb(cb) {} in SubscriptionTokenImpl() 56 if (mCb) in ~SubscriptionTokenImpl() 57 mCb(); in ~SubscriptionTokenImpl() 62 void invalidate() { mCb = Callback(); } in invalidate() 65 Callback mCb;
|
/hardware/nxp/keymint/transport/include/ |
D | IntervalTimer.h | 35 TIMER_FUNC mCb; variable
|
/hardware/qcom/sm8150/gps/utils/ |
D | LocTimer.cpp | 589 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/sm7250/gps/utils/ |
D | LocTimer.cpp | 589 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/sm7150/gps/android/utils/ |
D | battery_listener.cpp | 78 cb_fn_t mCb; member 155 mCb(c); in init() 176 mCb(cb) in BatteryListenerImpl()
|
/hardware/qcom/sm8150p/gps/android/utils/ |
D | battery_listener.cpp | 75 cb_fn_t mCb; member 151 mCb(c); in init() 171 mCb(cb) in BatteryListenerImpl()
|
/hardware/qcom/sm8150/gps/android/utils/ |
D | battery_listener.cpp | 80 cb_fn_t mCb; member 157 mCb(c); in init() 178 mCb(cb) in BatteryListenerImpl()
|
/hardware/qcom/sm7250/gps/android/utils/ |
D | battery_listener.cpp | 80 cb_fn_t mCb; member 157 mCb(c); in init() 178 mCb(cb) in BatteryListenerImpl()
|
/hardware/qcom/gps/msm8996/utils/ |
D | LocTimer.cpp | 583 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/sm8150/data/ipacfg-mgr/hal/src/ |
D | HAL.cpp | 84 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/data/ipacfg-mgr/msm8998/hal/src/ |
D | HAL.cpp | 82 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/sm7150/gps/utils/ |
D | LocTimer.cpp | 598 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/msm8998/utils/ |
D | LocTimer.cpp | 595 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/ |
D | LocTimer.cpp | 584 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/sm8150p/gps/utils/ |
D | LocTimer.cpp | 598 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/ |
D | LocTimer.cpp | 596 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()
|