Home
last modified time | relevance | path

Searched refs:IamAuthType (Results 1 – 5 of 5) sorted by relevance

/ohos5.0/base/useriam/pin_auth/test/unittest/src/
H A Dpin_auth_collector_hdi_unit_test.cpp39 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 Dpin_auth_verifier_hdi_unit_test.cpp39 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 Dpin_auth_all_in_one_hdi_unit_test.cpp39 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 Dface_auth_all_in_one_executor_hdi_unit_test.cpp39 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 Dfingerprint_auth_all_in_one_executor_hdi_unit_test.cpp39 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 } },