/ohos5.0/base/useriam/pin_auth/test/unittest/src/ |
H A D | pin_auth_collector_hdi_unit_test.cpp | 37 using IamExecutorRole = OHOS::UserIam::UserAuth::ExecutorRole; typedef 92 EXPECT_TRUE(info.executorRole == IamExecutorRole::COLLECTOR); 154 static const std::map<ExecutorRole, pair<IamExecutorRole, IamResultCode>> data = { 155 {ExecutorRole::COLLECTOR, {IamExecutorRole::COLLECTOR, IamResultCode::SUCCESS}}, 156 {ExecutorRole::VERIFIER, {IamExecutorRole::VERIFIER, IamResultCode::SUCCESS}}, 157 {ExecutorRole::ALL_IN_ONE, {IamExecutorRole::ALL_IN_ONE, IamResultCode::SUCCESS}}, 159 {IamExecutorRole::COLLECTOR, IamResultCode::GENERAL_ERROR}}, 161 {IamExecutorRole::COLLECTOR, IamResultCode::GENERAL_ERROR}},
|
H A D | pin_auth_verifier_hdi_unit_test.cpp | 37 using IamExecutorRole = OHOS::UserIam::UserAuth::ExecutorRole; typedef 92 EXPECT_TRUE(info.executorRole == IamExecutorRole::VERIFIER); 154 static const std::map<ExecutorRole, pair<IamExecutorRole, IamResultCode>> data = { 155 {ExecutorRole::COLLECTOR, {IamExecutorRole::COLLECTOR, IamResultCode::SUCCESS}}, 156 {ExecutorRole::VERIFIER, {IamExecutorRole::VERIFIER, IamResultCode::SUCCESS}}, 157 {ExecutorRole::ALL_IN_ONE, {IamExecutorRole::ALL_IN_ONE, IamResultCode::SUCCESS}}, 159 {IamExecutorRole::VERIFIER, IamResultCode::GENERAL_ERROR}}, 161 {IamExecutorRole::VERIFIER, IamResultCode::GENERAL_ERROR}},
|
H A D | pin_auth_all_in_one_hdi_unit_test.cpp | 37 using IamExecutorRole = OHOS::UserIam::UserAuth::ExecutorRole; typedef 92 EXPECT_TRUE(info.executorRole == IamExecutorRole::ALL_IN_ONE); 154 static const std::map<ExecutorRole, pair<IamExecutorRole, IamResultCode>> data = { 155 {ExecutorRole::COLLECTOR, {IamExecutorRole::COLLECTOR, IamResultCode::SUCCESS}}, 156 {ExecutorRole::VERIFIER, {IamExecutorRole::VERIFIER, IamResultCode::SUCCESS}}, 157 {ExecutorRole::ALL_IN_ONE, {IamExecutorRole::ALL_IN_ONE, IamResultCode::SUCCESS}}, 159 {IamExecutorRole::ALL_IN_ONE, IamResultCode::GENERAL_ERROR}}, 161 {IamExecutorRole::ALL_IN_ONE, IamResultCode::GENERAL_ERROR}},
|
/ohos5.0/base/useriam/face_auth/services/src/ |
H A D | face_auth_all_in_one_executor_hdi.cpp | 45 using IamExecutorRole = UserAuth::ExecutorRole; typedef 305 IamResultCode FaceAuthAllInOneExecutorHdi::ConvertExecutorRole(const int32_t in, IamExecutorRole &o… in ConvertExecutorRole() 307 static const std::map<ExecutorRole, IamExecutorRole> data = { in ConvertExecutorRole() 308 { ExecutorRole::COLLECTOR, IamExecutorRole::COLLECTOR }, in ConvertExecutorRole() 309 { ExecutorRole::VERIFIER, IamExecutorRole::VERIFIER }, in ConvertExecutorRole() 310 { ExecutorRole::ALL_IN_ONE, IamExecutorRole::ALL_IN_ONE }, in ConvertExecutorRole()
|
/ohos5.0/base/useriam/fingerprint_auth/services/src/ |
H A D | fingerprint_auth_all_in_one_executor_hdi.cpp | 45 using IamExecutorRole = UserAuth::ExecutorRole; typedef 308 IamResultCode FingerprintAllInOneExecutorHdi::ConvertExecutorRole(const int32_t in, IamExecutorRole… in ConvertExecutorRole() 310 static const std::map<ExecutorRole, IamExecutorRole> data = { in ConvertExecutorRole() 311 { ExecutorRole::COLLECTOR, IamExecutorRole::COLLECTOR }, in ConvertExecutorRole() 312 { ExecutorRole::VERIFIER, IamExecutorRole::VERIFIER }, in ConvertExecutorRole() 313 { ExecutorRole::ALL_IN_ONE, IamExecutorRole::ALL_IN_ONE }, in ConvertExecutorRole()
|
/ohos5.0/base/useriam/face_auth/test/unittest/ |
H A D | face_auth_all_in_one_executor_hdi_unit_test.cpp | 37 using IamExecutorRole = OHOS::UserIam::UserAuth::ExecutorRole; typedef 93 EXPECT_TRUE(info.executorRole == IamExecutorRole::ALL_IN_ONE); 149 static const std::map<ExecutorRole, pair<IamExecutorRole, IamResultCode>> data = { 150 { ExecutorRole::COLLECTOR, { IamExecutorRole::COLLECTOR, IamResultCode::SUCCESS } }, 151 { ExecutorRole::VERIFIER, { IamExecutorRole::VERIFIER, IamResultCode::SUCCESS } }, 152 { ExecutorRole::ALL_IN_ONE, { IamExecutorRole::ALL_IN_ONE, IamResultCode::SUCCESS } }, 154 { IamExecutorRole::ALL_IN_ONE, IamResultCode::GENERAL_ERROR } }, 156 { IamExecutorRole::ALL_IN_ONE, IamResultCode::GENERAL_ERROR } },
|
/ohos5.0/base/useriam/fingerprint_auth/test/unittest/ |
H A D | fingerprint_auth_all_in_one_executor_hdi_unit_test.cpp | 37 using IamExecutorRole = OHOS::UserIam::UserAuth::ExecutorRole; typedef 93 EXPECT_TRUE(info.executorRole == IamExecutorRole::ALL_IN_ONE); 151 static const std::map<ExecutorRole, pair<IamExecutorRole, IamResultCode>> data = { 152 { ExecutorRole::COLLECTOR, { IamExecutorRole::COLLECTOR, IamResultCode::SUCCESS } }, 153 { ExecutorRole::VERIFIER, { IamExecutorRole::VERIFIER, IamResultCode::SUCCESS } }, 154 { ExecutorRole::ALL_IN_ONE, { IamExecutorRole::ALL_IN_ONE, IamResultCode::SUCCESS } }, 156 { IamExecutorRole::ALL_IN_ONE, IamResultCode::GENERAL_ERROR } }, 158 { IamExecutorRole::ALL_IN_ONE, IamResultCode::GENERAL_ERROR } },
|