commit | 437516ea3a4f8484dba96594ba1161d8ff804b91 | [log] [tgz] |
---|---|---|
author | Jeff Pu <jeffpu@google.com> | Wed Jun 28 15:21:21 2023 +0000 |
committer | Jeff Pu <jeffpu@google.com> | Wed Jun 28 15:22:44 2023 +0000 |
tree | 4e7cebf0a2c6f2492fb59a8eee61da9d8a73e2c6 | |
parent | fd1e1e58fcf87afcc5e4b0553e3b3eec7197bb37 [diff] |
Inform framework of lockout right when the failed attempts reaches threshold Bug: b/277780293 Test: atest FakeLockoutTrackerTest Change-Id: Iefe88f3ab492773844b18c525ddbf37218227256
diff --git a/biometrics/fingerprint/aidl/default/include/FakeFingerprintEngine.h b/biometrics/fingerprint/aidl/default/include/FakeFingerprintEngine.h index f9d02a7..8ac7a95 100644 --- a/biometrics/fingerprint/aidl/default/include/FakeFingerprintEngine.h +++ b/biometrics/fingerprint/aidl/default/include/FakeFingerprintEngine.h
@@ -113,6 +113,7 @@ bool parseEnrollmentCaptureSingle(const std::string& str, std::vector<std::vector<int32_t>>& res); int32_t getRandomInRange(int32_t bound1, int32_t bound2); + bool checkSensorLockout(ISessionCallback*); FakeLockoutTracker mLockoutTracker; };