Home
last modified time | relevance | path

Searched refs:cb_ (Results 1 – 5 of 5) sorted by relevance

/hardware/interfaces/biometrics/face/aidl/default/
DSession.cpp26 std::shared_ptr<ISessionCallback> cb_; member in aidl::android::hardware::biometrics::face::CancellationSignal
29 explicit CancellationSignal(std::shared_ptr<ISessionCallback> cb) : cb_(std::move(cb)) {} in CancellationSignal()
32 cb_->onError(Error::CANCELED, 0 /* vendorCode */); in cancel()
38 : cb_(std::move(cb)), mRandom(std::mt19937::default_seed) {} in Session()
42 if (cb_) { in generateChallenge()
45 cb_->onChallengeGenerated(challenge); in generateChallenge()
52 if (cb_) { in revokeChallenge()
53 cb_->onChallengeRevoked(challenge); in revokeChallenge()
70 if (cb_) { in enroll()
71 cb_->onError(Error::UNABLE_TO_PROCESS, 0 /* vendorError */); in enroll()
[all …]
DSession.h72 std::shared_ptr<ISessionCallback> cb_;
/hardware/google/pixel/thermal/utils/
Dthermal_watcher.h49 : Thread(false), cb_(cb), looper_(new Looper(true)) {} in ThermalWatcher()
89 const WatcherCallback cb_; variable
Dthermal_watcher.cpp401 if (cb_) { in startWatchingDeviceFiles()
523 sleep_ms_ = cb_(sensors); in threadLoop()
/hardware/google/pixel/thermal/
Dthermal-helper.h216 const NotificationCallback cb_; variable