Searched refs:CommandId (Results 1 – 11 of 11) sorted by relevance
/base/useriam/pin_auth/services/modules/common/inc/ |
D | pin_auth_hdi.h | 41 using CommandId = OHOS::HDI::PinAuth::V1_0::CommandId; variable
|
/base/useriam/face_auth/services/inc/ |
D | face_auth_hdi.h | 39 using CommandId = OHOS::HDI::FaceAuth::V1_1::CommandId; variable
|
D | face_auth_executor_hdi.h | 68 UserAuth::ResultCode ConvertCommandId(const UserAuth::PropertyMode in, CommandId &out);
|
/base/useriam/fingerprint_auth/services/inc/ |
D | fingerprint_auth_hdi.h | 39 using CommandId = OHOS::HDI::FingerprintAuth::V1_1::CommandId; variable
|
D | fingerprint_auth_executor_hdi.h | 65 UserAuth::ResultCode ConvertCommandId(const UserAuth::PropertyMode in, CommandId &out);
|
/base/useriam/fingerprint_auth/services/src/ |
D | fingerprint_auth_executor_hdi.cpp | 166 CommandId hdiCommandId; in SendCommand() 262 …tCode FingerprintAuthExecutorHdi::ConvertCommandId(const UserAuth::PropertyMode in, CommandId &out) in ConvertCommandId() 264 if (static_cast<CommandId>(in) > CommandId::VENDOR_COMMAND_BEGIN) { in ConvertCommandId() 265 out = static_cast<CommandId>(in); in ConvertCommandId() 270 static const std::map<UserAuth::PropertyMode, CommandId> data = { in ConvertCommandId() 271 { UserAuth::PropertyMode::PROPERTY_INIT_ALGORITHM, CommandId::INIT_ALGORITHM }, in ConvertCommandId() 272 { UserAuth::PropertyMode::PROPERTY_MODE_FREEZE, CommandId::LOCK_TEMPLATE }, in ConvertCommandId() 273 { UserAuth::PropertyMode::PROPERTY_MODE_UNFREEZE, CommandId::UNLOCK_TEMPLATE } }; in ConvertCommandId()
|
/base/useriam/face_auth/services/src/ |
D | face_auth_executor_hdi.cpp | 165 CommandId hdiCommandId; in SendCommand() 280 IamResultCode FaceAuthExecutorHdi::ConvertCommandId(const UserAuth::PropertyMode in, CommandId &out) in ConvertCommandId() 282 if (static_cast<CommandId>(in) > CommandId::VENDOR_COMMAND_BEGIN) { in ConvertCommandId() 283 out = static_cast<CommandId>(in); in ConvertCommandId() 288 static const std::map<UserAuth::PropertyMode, CommandId> data = { in ConvertCommandId() 289 { UserAuth::PropertyMode::PROPERTY_INIT_ALGORITHM, CommandId::INIT_ALGORITHM }, in ConvertCommandId() 290 { UserAuth::PropertyMode::PROPERTY_MODE_FREEZE, CommandId::LOCK_TEMPLATE }, in ConvertCommandId() 291 { UserAuth::PropertyMode::PROPERTY_MODE_UNFREEZE, CommandId::UNLOCK_TEMPLATE } }; in ConvertCommandId()
|
/base/useriam/fingerprint_auth/test/unittest/ |
D | fingerprint_auth_executor_hdi_unit_test.cpp | 469 static const std::map<IamPropertyMode, pair<CommandId, IamResultCode>> data = { 471 {CommandId::INIT_ALGORITHM, IamResultCode::SUCCESS}}, 473 {CommandId::LOCK_TEMPLATE, IamResultCode::SUCCESS}}, 475 {CommandId::UNLOCK_TEMPLATE, IamResultCode::SUCCESS}}, 477 {CommandId::UNLOCK_TEMPLATE, IamResultCode::INVALID_PARAMETERS}}, 479 {CommandId::UNLOCK_TEMPLATE, IamResultCode::INVALID_PARAMETERS}}, 480 {static_cast<IamPropertyMode>(CommandId::VENDOR_COMMAND_BEGIN), 481 {CommandId::UNLOCK_TEMPLATE, IamResultCode::INVALID_PARAMETERS}}, 482 {static_cast<IamPropertyMode>(CommandId::VENDOR_COMMAND_BEGIN + 1), 483 {static_cast<CommandId>(CommandId::VENDOR_COMMAND_BEGIN + 1), IamResultCode::SUCCESS}}};
|
/base/useriam/face_auth/test/unittest/ |
D | face_auth_executor_hdi_unit_test.cpp | 462 static const std::map<IamPropertyMode, pair<CommandId, IamResultCode>> data = { 464 {CommandId::INIT_ALGORITHM, IamResultCode::SUCCESS}}, 466 {CommandId::LOCK_TEMPLATE, IamResultCode::SUCCESS}}, 468 {CommandId::UNLOCK_TEMPLATE, IamResultCode::SUCCESS}}, 470 {CommandId::UNLOCK_TEMPLATE, IamResultCode::INVALID_PARAMETERS}}, 472 {CommandId::UNLOCK_TEMPLATE, IamResultCode::INVALID_PARAMETERS}}, 473 {static_cast<IamPropertyMode>(CommandId::VENDOR_COMMAND_BEGIN), 474 {CommandId::UNLOCK_TEMPLATE, IamResultCode::INVALID_PARAMETERS}}, 475 {static_cast<IamPropertyMode>(CommandId::VENDOR_COMMAND_BEGIN + 1), 476 {static_cast<CommandId>(CommandId::VENDOR_COMMAND_BEGIN + 1), IamResultCode::SUCCESS}}};
|
/base/useriam/pin_auth/services/modules/executors/inc/ |
D | pin_auth_executor_hdi.h | 59 UserAuth::ResultCode ConvertCommandId(const UserAuth::PropertyMode in, CommandId &out);
|
/base/useriam/pin_auth/services/modules/executors/src/ |
D | pin_auth_executor_hdi.cpp | 269 IamResultCode PinAuthExecutorHdi::ConvertCommandId(const UserAuth::PropertyMode in, CommandId &out) in ConvertCommandId()
|