summaryrefslogtreecommitdiff
path: root/biometrics/face/aidl/default/Session.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'biometrics/face/aidl/default/Session.cpp')
-rw-r--r--biometrics/face/aidl/default/Session.cpp16
1 files changed, 14 insertions, 2 deletions
diff --git a/biometrics/face/aidl/default/Session.cpp b/biometrics/face/aidl/default/Session.cpp
index df5187955f..63d1721314 100644
--- a/biometrics/face/aidl/default/Session.cpp
+++ b/biometrics/face/aidl/default/Session.cpp
@@ -55,8 +55,9 @@ ndk::ScopedAStatus Session::revokeChallenge(int32_t /*cookie*/, int64_t challeng
}
ndk::ScopedAStatus Session::enroll(
- int32_t /*cookie*/, biometrics::face::EnrollmentType /*enrollmentType*/,
- const keymaster::HardwareAuthToken& /*hat*/, const NativeHandle& /*previewSurface*/,
+ int32_t /*cookie*/, const keymaster::HardwareAuthToken& /*hat*/,
+ EnrollmentType /*enrollmentType*/, const std::vector<Feature>& /*features*/,
+ const NativeHandle& /*previewSurface*/,
std::shared_ptr<biometrics::common::ICancellationSignal>* /*return_val*/) {
return ndk::ScopedAStatus::ok();
}
@@ -94,6 +95,17 @@ ndk::ScopedAStatus Session::removeEnrollments(int32_t /*cookie*/,
return ndk::ScopedAStatus::ok();
}
+ndk::ScopedAStatus Session::getFeatures(int32_t /*cookie*/, int32_t /*enrollmentId*/) {
+ return ndk::ScopedAStatus::ok();
+}
+
+ndk::ScopedAStatus Session::setFeature(int32_t /*cookie*/,
+ const keymaster::HardwareAuthToken& /*hat*/,
+ int32_t /*enrollmentId*/, Feature /*feature*/,
+ bool /*enabled*/) {
+ return ndk::ScopedAStatus::ok();
+}
+
ndk::ScopedAStatus Session::getAuthenticatorId(int32_t /*cookie*/) {
if (cb_) {
cb_->onStateChanged(0, SessionState::GETTING_AUTHENTICATOR_ID);