Searched refs:IamAuthType (Results 1 – 5 of 5) sorted by relevance
/ohos5.0/base/useriam/pin_auth/test/unittest/src/ |
H A D | pin_auth_collector_hdi_unit_test.cpp | 39 using IamAuthType = OHOS::UserIam::UserAuth::AuthType; typedef 93 EXPECT_TRUE(info.authType == IamAuthType::PIN); 122 static const std::map<AuthType, pair<IamAuthType, IamResultCode>> data = { 123 {AuthType::PIN, {IamAuthType::PIN, IamResultCode::SUCCESS}}, 125 {IamAuthType::PIN, IamResultCode::GENERAL_ERROR}}, 127 {IamAuthType::PIN, IamResultCode::GENERAL_ERROR}},
|
H A D | pin_auth_verifier_hdi_unit_test.cpp | 39 using IamAuthType = OHOS::UserIam::UserAuth::AuthType; typedef 93 EXPECT_TRUE(info.authType == IamAuthType::PIN); 122 static const std::map<AuthType, pair<IamAuthType, IamResultCode>> data = { 123 {AuthType::PIN, {IamAuthType::PIN, IamResultCode::SUCCESS}}, 125 {IamAuthType::PIN, IamResultCode::GENERAL_ERROR}}, 127 {IamAuthType::PIN, IamResultCode::GENERAL_ERROR}},
|
H A D | pin_auth_all_in_one_hdi_unit_test.cpp | 39 using IamAuthType = OHOS::UserIam::UserAuth::AuthType; typedef 93 EXPECT_TRUE(info.authType == IamAuthType::PIN); 122 static const std::map<AuthType, pair<IamAuthType, IamResultCode>> data = { 123 {AuthType::PIN, {IamAuthType::PIN, IamResultCode::SUCCESS}}, 125 {IamAuthType::PIN, IamResultCode::GENERAL_ERROR}}, 127 {IamAuthType::PIN, IamResultCode::GENERAL_ERROR}},
|
/ohos5.0/base/useriam/face_auth/test/unittest/ |
H A D | face_auth_all_in_one_executor_hdi_unit_test.cpp | 39 using IamAuthType = OHOS::UserIam::UserAuth::AuthType; typedef 94 EXPECT_TRUE(info.authType == IamAuthType::FACE); 121 static const std::map<AuthType, pair<IamAuthType, IamResultCode>> data = { 122 { AuthType::FACE, { IamAuthType::FACE, IamResultCode::SUCCESS } }, 123 …{ static_cast<AuthType>(AuthType::FACE + 1), { IamAuthType::FACE, IamResultCode::GENERAL_ERROR } }, 124 …{ static_cast<AuthType>(AuthType::FACE - 1), { IamAuthType::FACE, IamResultCode::GENERAL_ERROR } },
|
/ohos5.0/base/useriam/fingerprint_auth/test/unittest/ |
H A D | fingerprint_auth_all_in_one_executor_hdi_unit_test.cpp | 39 using IamAuthType = OHOS::UserIam::UserAuth::AuthType; typedef 94 EXPECT_TRUE(info.authType == IamAuthType::FINGERPRINT); 121 static const std::map<AuthType, pair<IamAuthType, IamResultCode>> data = { 122 { AuthType::FINGERPRINT, { IamAuthType::FINGERPRINT, IamResultCode::SUCCESS } }, 124 { IamAuthType::FINGERPRINT, IamResultCode::GENERAL_ERROR } }, 126 { IamAuthType::FINGERPRINT, IamResultCode::GENERAL_ERROR } },
|