Home
last modified time | relevance | path

Searched refs:enrolls (Results 1 – 4 of 4) sorted by relevance

/hardware/interfaces/biometrics/face/aidl/default/tests/
DFakeFaceEngineTest.cpp357 auto enrolls = mCallback->mLastEnrollmentsEnumerated; in TEST_F() local
358 ASSERT_FALSE(enrolls.empty()); in TEST_F()
359 ASSERT_NE(enrolls.end(), std::find(enrolls.begin(), enrolls.end(), 120)); in TEST_F()
360 ASSERT_NE(enrolls.end(), std::find(enrolls.begin(), enrolls.end(), 3)); in TEST_F()
367 auto enrolls = mCallback->mLastEnrollmentsEnumerated; in TEST_F() local
368 ASSERT_FALSE(enrolls.empty()); in TEST_F()
369 ASSERT_EQ(enrolls.end(), std::find(enrolls.begin(), enrolls.end(), 120)); in TEST_F()
370 ASSERT_NE(enrolls.end(), std::find(enrolls.begin(), enrolls.end(), 3)); in TEST_F()
371 ASSERT_EQ(enrolls.end(), std::find(enrolls.begin(), enrolls.end(), 100)); in TEST_F()
/hardware/interfaces/biometrics/face/aidl/default/
DFakeFaceEngine.cpp165 auto enrolls = FaceHalProperties::enrollments(); in authenticateImpl() local
166 auto isEnrolled = std::find(enrolls.begin(), enrolls.end(), id) != enrolls.end(); in authenticateImpl()
310 auto enrolls = FaceHalProperties::enrollments(); in detectInteractionImpl() local
311 auto isEnrolled = std::find(enrolls.begin(), enrolls.end(), id) != enrolls.end(); in detectInteractionImpl()
/hardware/interfaces/biometrics/fingerprint/aidl/default/
DFakeFingerprintEngine.cpp259 auto enrolls = Fingerprint::cfg().getopt<OptIntVec>("enrollments"); in onAuthenticateFingerDown() local
260 auto isEnrolled = std::find(enrolls.begin(), enrolls.end(), id) != enrolls.end(); in onAuthenticateFingerDown()
/hardware/interfaces/biometrics/fingerprint/aidl/default/tests/
DFakeFingerprintEngineTest.cpp428 auto enrolls = Fingerprint::cfg().getopt<OptIntVec>("enrollments"); in TEST_F() local
435 ASSERT_EQ(2, enrolls.size()); in TEST_F()
437 ASSERT_TRUE(std::find(enrolls.begin(), enrolls.end(), id) != enrolls.end()); in TEST_F()