/hardware/interfaces/biometrics/fingerprint/aidl/default/ |
D | VirtualHal.cpp | 33 Fingerprint::cfg().sourcedFromAidl(); in setEnrollments() 34 Fingerprint::cfg().setopt<OptIntVec>("enrollments", intVec2OptIntVec(enrollments)); in setEnrollments() 39 Fingerprint::cfg().sourcedFromAidl(); in setEnrollmentHit() 40 Fingerprint::cfg().set<std::int32_t>("enrollment_hit", enrollment_hit); in setEnrollmentHit() 46 Fingerprint::cfg().sourcedFromAidl(); in setNextEnrollment() 76 Fingerprint::cfg().set<std::string>("next_enrollment", os.str()); in setNextEnrollment() 81 Fingerprint::cfg().sourcedFromAidl(); in setAuthenticatorId() 82 Fingerprint::cfg().set<int64_t>("authenticator_id", in_id); in setAuthenticatorId() 87 Fingerprint::cfg().sourcedFromAidl(); in setChallenge() 88 Fingerprint::cfg().set<int64_t>("challenge", in_challenge); in setChallenge() [all …]
|
D | Fingerprint.cpp | 45 Fingerprint::Fingerprint() : mWorker(MAX_WORKER_QUEUE_SIZE) { in Fingerprint() function in aidl::android::hardware::biometrics::fingerprint::Fingerprint 46 std::string sensorTypeProp = Fingerprint::cfg().get<std::string>("type"); in Fingerprint() 66 ndk::ScopedAStatus Fingerprint::getSensorProps(std::vector<SensorProps>* out) { in getSensorProps() 71 auto sensorId = Fingerprint::cfg().get<std::int32_t>("sensor_id"); in getSensorProps() 72 auto sensorStrength = Fingerprint::cfg().get<std::int32_t>("sensor_strength"); in getSensorProps() 73 auto maxEnrollments = Fingerprint::cfg().get<std::int32_t>("max_enrollments"); in getSensorProps() 74 auto navigationGuesture = Fingerprint::cfg().get<bool>("navigation_guesture"); in getSensorProps() 75 auto detectInteraction = Fingerprint::cfg().get<bool>("detect_interaction"); in getSensorProps() 76 auto displayTouch = Fingerprint::cfg().get<bool>("display_touch"); in getSensorProps() 77 auto controlIllumination = Fingerprint::cfg().get<bool>("control_illumination"); in getSensorProps() [all …]
|
D | FakeFingerprintEngine.cpp | 43 Fingerprint::cfg().set<std::int64_t>("challenge", challenge); in generateChallengeImpl() 49 Fingerprint::cfg().setopt<OptInt64>("challenge", std::nullopt); in revokeChallengeImpl() 84 auto detectInteractionSupported = Fingerprint::cfg().get<bool>("detect_interaction"); in detectInteractionImpl() 133 BEGIN_OP(getLatency(Fingerprint::cfg().getopt<OptIntVec>("operation_enroll_latency"))); in onEnrollFingerDown() 136 auto err = Fingerprint::cfg().get<std::int32_t>("operation_enroll_error"); in onEnrollFingerDown() 145 auto nextEnroll = Fingerprint::cfg().get<std::string>("next_enrollment"); in onEnrollFingerDown() 174 Fingerprint::cfg().set<std::string>("next_enrollment", ""); in onEnrollFingerDown() 179 auto enrollments = Fingerprint::cfg().getopt<OptIntVec>("enrollments"); in onEnrollFingerDown() 181 Fingerprint::cfg().setopt<OptIntVec>("enrollments", enrollments); in onEnrollFingerDown() 182 Fingerprint::cfg().setopt<OptString>("next_enrollment", std::nullopt); in onEnrollFingerDown() [all …]
|
D | FakeLockoutTracker.cpp | 33 bool enabled = Fingerprint::cfg().get<bool>("lockout_enable"); in addFailedAttempt() 37 Fingerprint::cfg().get<std::int32_t>("lockout_timed_threshold"); in addFailedAttempt() 39 Fingerprint::cfg().get<std::int32_t>("lockout_permanent_threshold"); in addFailedAttempt() 42 Fingerprint::cfg().set<bool>("lockout", true); in addFailedAttempt() 57 Fingerprint::cfg().get<std::int32_t>("lockout_timed_duration"); in getMode() 72 Fingerprint::cfg().get<std::int32_t>("lockout_timed_duration"); in getLockoutTimeLeft()
|
D | main.cpp | 24 using aidl::android::hardware::biometrics::fingerprint::Fingerprint; 30 std::shared_ptr<Fingerprint> hal = ndk::SharedRefBase::make<Fingerprint>(); in main() 38 const std::string instance = std::string(Fingerprint::descriptor) + "/virtual"; in main()
|
D | FakeFingerprintEngineUdfps.cpp | 49 if (Fingerprint::cfg().get<bool>("control_illumination")) { in onPointerDownImpl()
|
D | README.md | 1 # Virtual Fingerprint HAL 61 3. Navigate to `Settings -> Security -> Fingerprint Unlock` and follow the 80 Fingerprint image acquisition states at HAL are reported to framework via onAcquired() callback. Th…
|
D | Android.bp | 22 "Fingerprint.cpp", 172 "Fingerprint.cpp",
|
/hardware/interfaces/biometrics/fingerprint/aidl/default/tests/ |
D | FakeFingerprintEngineTest.cpp | 129 Fingerprint::cfg().setopt<OptIntVec>("operation_enroll_latency", {0}); in SetUp() 130 Fingerprint::cfg().setopt<OptIntVec>("operation_authenticate_latency", {0}); in SetUp() 131 Fingerprint::cfg().setopt<OptIntVec>("operation_detect_interaction_latency", {0}); in SetUp() 136 Fingerprint::cfg().set<std::int32_t>("operation_authenticate_error", 0); in TearDown() 137 Fingerprint::cfg().set<std::int32_t>("operation_detect_interaction_error", 0); in TearDown() 138 Fingerprint::cfg().set<std::string>("operation_authenticate_acquired", ""); in TearDown() 139 Fingerprint::cfg().setopt<OptIntVec>("operation_enroll_latency", {}); in TearDown() 140 Fingerprint::cfg().setopt<OptIntVec>("operation_authenticate_latency", {}); in TearDown() 141 Fingerprint::cfg().setopt<OptIntVec>("operation_detect_interaction_latency", {}); in TearDown() 142 Fingerprint::cfg().set<bool>("operation_authenticate_fails", false); in TearDown() [all …]
|
D | FakeLockoutTrackerTest.cpp | 39 Fingerprint::cfg().set<std::int32_t>("lockout_timed_threshold", LOCKOUT_TIMED_THRESHOLD); in SetUp() 40 Fingerprint::cfg().set<std::int32_t>("lockout_timed_duration", LOCKOUT_TIMED_DURATION); in SetUp() 41 Fingerprint::cfg().set<std::int32_t>("lockout_permanent_threshold", in SetUp() 47 Fingerprint::cfg().set<std::int32_t>("lockout_timed_threshold", 5); in TearDown() 48 Fingerprint::cfg().set<std::int32_t>("lockout_timed_duration", 20); in TearDown() 49 Fingerprint::cfg().set<std::int32_t>("lockout_permanent_threshold", 10000); in TearDown() 50 Fingerprint::cfg().set<bool>("lockout_enable", false); in TearDown() 51 Fingerprint::cfg().set<bool>("lockout", false); in TearDown() 58 Fingerprint::cfg().set<bool>("lockout_enable", false); in TEST_F() 65 Fingerprint::cfg().set<bool>("lockout_enable", true); in TEST_F() [all …]
|
D | VirtualHalTest.cpp | 37 mHal = ndk::SharedRefBase::make<Fingerprint>(); in SetUp() 52 std::shared_ptr<Fingerprint> mHal; 62 if (Fingerprint::cfg().get<int32_t>(name) != param) { in validateNonNegativeInputOfInt32() 69 int32_t old_param = Fingerprint::cfg().get<int32_t>(name); in validateNonNegativeInputOfInt32() 80 if (Fingerprint::cfg().get<int32_t>(name) != old_param) { in validateNonNegativeInputOfInt32() 90 ASSERT_TRUE(Fingerprint::cfg().get<bool>("lockout") == false); in TEST_F() 91 ASSERT_TRUE(Fingerprint::cfg().get<std::string>("type") == "rear"); in TEST_F() 92 ASSERT_TRUE(Fingerprint::cfg().get<std::int32_t>("sensor_strength") == 2); in TEST_F() 93 std::int64_t id = Fingerprint::cfg().get<std::int64_t>("authenticator_id"); in TEST_F() 94 ASSERT_TRUE(Fingerprint::cfg().get<std::int64_t>("authenticator_id") == 0); in TEST_F() [all …]
|
D | FakeFingerprintEngineUdfpsTest.cpp | 103 Fingerprint::cfg().set<std::string>("sensor_location", ""); in TearDown() 117 Fingerprint::cfg().set<std::string>("sensor_location", loc); in TEST_F() 124 Fingerprint::cfg().set<std::string>("sensor_location", loc); in TEST_F() 136 Fingerprint::cfg().set<std::string>("sensor_location", s); in TEST_F() 162 Fingerprint::cfg().set<std::string>("next_enrollment", "5:0,0:true"); in TEST_F() 173 Fingerprint::cfg().set<bool>("detect_interaction", true); in TEST_F() 174 Fingerprint::cfg().setopt<OptIntVec>("enrollments", {1, 2}); in TEST_F() 175 Fingerprint::cfg().set<std::int32_t>("enrollment_hit", 2); in TEST_F() 176 Fingerprint::cfg().set<std::string>("operation_detect_interaction_acquired", ""); in TEST_F()
|
/hardware/interfaces/biometrics/fingerprint/aidl/vts/ |
D | VtsHalBiometricsFingerprintTargetTest.cpp | 140 class Fingerprint : public testing::TestWithParam<std::string> { class 182 TEST_P(Fingerprint, GetSensorPropsWorksTest) { in TEST_P() argument 193 TEST_P(Fingerprint, EnrollWithBadHatResultsInErrorTest) { in TEST_P() argument 204 TEST_P(Fingerprint, GenerateChallengeProducesUniqueChallengesTest) { in TEST_P() argument 223 TEST_P(Fingerprint, RevokeChallengeWorksForNonexistentChallengeTest) { in TEST_P() argument 235 TEST_P(Fingerprint, RevokeChallengeWorksForExistentChallengeTest) { in TEST_P() argument 253 TEST_P(Fingerprint, EnumerateEnrollmentsWorksTest) { in TEST_P() argument 262 TEST_P(Fingerprint, RemoveEnrollmentsWorksTest) { in TEST_P() argument 271 TEST_P(Fingerprint, GetAuthenticatorIdWorksTest) { in TEST_P() argument 280 TEST_P(Fingerprint, InvalidateAuthenticatorIdWorksTest) { in TEST_P() argument [all …]
|
/hardware/interfaces/biometrics/common/aidl/android/hardware/biometrics/common/ |
D | AuthenticateReason.aidl | 35 enum Fingerprint { enum 58 AuthenticateReason.Fingerprint fingerprintAuthenticateReason;
|
/hardware/interfaces/biometrics/common/aidl/aidl_api/android.hardware.biometrics.common/3/android/hardware/biometrics/common/ |
D | AuthenticateReason.aidl | 40 android.hardware.biometrics.common.AuthenticateReason.Fingerprint fingerprintAuthenticateReason; 46 enum Fingerprint { enum
|
/hardware/interfaces/biometrics/common/aidl/aidl_api/android.hardware.biometrics.common/4/android/hardware/biometrics/common/ |
D | AuthenticateReason.aidl | 40 android.hardware.biometrics.common.AuthenticateReason.Fingerprint fingerprintAuthenticateReason; 46 enum Fingerprint { enum
|
/hardware/interfaces/biometrics/common/aidl/aidl_api/android.hardware.biometrics.common/current/android/hardware/biometrics/common/ |
D | AuthenticateReason.aidl | 40 android.hardware.biometrics.common.AuthenticateReason.Fingerprint fingerprintAuthenticateReason; 46 enum Fingerprint { enum
|
/hardware/interfaces/biometrics/fingerprint/aidl/default/include/ |
D | Fingerprint.h | 32 class Fingerprint : public BnFingerprint { 34 Fingerprint();
|
D | VirtualHal.h | 27 VirtualHal(Fingerprint* fp) : mFp(fp) {} in VirtualHal() 75 Fingerprint* mFp;
|
/hardware/interfaces/biometrics/fingerprint/2.1/ |
D | types.hal | 41 * Fingerprint errors are meant to tell the framework to terminate the current 73 * Fingerprint acquisition info is meant as feedback for the current operation. 101 /** Fingerprint template ID */
|
D | IBiometricsFingerprint.hal | 36 * Fingerprint pre-enroll enroll request: 51 * Fingerprint enroll request: 120 * Fingerprint remove request:
|
/hardware/interfaces/biometrics/fingerprint/2.2/ |
D | types.hal | 22 * Fingerprint acquisition info is meant as feedback for the current operation.
|
/hardware/interfaces/keymaster/4.0/ |
D | types.hal | 442 * Fingerprint authentication provides proof of presence (and identity) for TEE keys if the 1187 * Fingerprint, in response to successful user authentication events. These tokens are passed to 1209 * Fingerprint application. 1229 * and Fingerprint 1.0, as well as pre-treble HALs.
|