/base/useriam/user_auth_framework/interfaces/inner_api/ |
D | attributes.h | 39 enum AttributeKey : uint32_t { enum 252 bool SetBoolValue(AttributeKey key, bool value); 261 bool SetUint64Value(AttributeKey key, uint64_t value); 270 bool SetUint32Value(AttributeKey key, uint32_t value); 279 bool SetUint16Value(AttributeKey key, uint16_t value); 288 bool SetUint8Value(AttributeKey key, uint8_t value); 297 bool SetInt32Value(AttributeKey key, int32_t value); 306 bool SetInt64Value(AttributeKey key, int64_t value); 315 bool SetStringValue(AttributeKey key, const std::string &value); 324 bool SetAttributesValue(AttributeKey key, const Attributes &value); [all …]
|
D | user_auth_client_defines.h | 72 std::vector<Attributes::AttributeKey> keys {};
|
/base/useriam/user_auth_framework/frameworks/native/common/attributes/src/ |
D | attributes.cpp | 42 bool SetBoolValue(AttributeKey key, bool value); 43 bool SetUint64Value(AttributeKey key, uint64_t value); 44 bool SetUint32Value(AttributeKey key, uint32_t value); 45 bool SetUint16Value(AttributeKey key, uint16_t value); 46 bool SetUint8Value(AttributeKey key, uint8_t value); 47 bool SetInt32Value(AttributeKey key, int32_t value); 48 bool SetInt64Value(AttributeKey key, int64_t value); 49 bool SetStringValue(AttributeKey key, const std::string &value); 50 bool SetAttributesValue(AttributeKey key, const Impl &array); 51 bool SetUint64ArrayValue(AttributeKey key, const std::vector<uint64_t> &value); [all …]
|
/base/account/os_account/services/accountmgr/src/account_iam/ |
D | account_iam_callback.cpp | 103 if (extraInfo.GetUint8ArrayValue(Attributes::AttributeKey::ATTR_SIGNATURE, token)) { in GenerateAttributesInfo() 104 extraAuthInfo.SetUint8ArrayValue(Attributes::AttributeKey::ATTR_SIGNATURE, token); in GenerateAttributesInfo() 107 if (extraInfo.GetInt32Value(Attributes::AttributeKey::ATTR_REMAIN_TIMES, remainTimes)) { in GenerateAttributesInfo() 108 extraAuthInfo.SetInt32Value(Attributes::AttributeKey::ATTR_REMAIN_TIMES, remainTimes); in GenerateAttributesInfo() 111 if (extraInfo.GetInt32Value(Attributes::AttributeKey::ATTR_FREEZING_TIME, freezingTime)) { in GenerateAttributesInfo() 112 extraAuthInfo.SetInt32Value(Attributes::AttributeKey::ATTR_FREEZING_TIME, freezingTime); in GenerateAttributesInfo() 115 …if (extraInfo.GetInt32Value(Attributes::AttributeKey::ATTR_NEXT_FAIL_LOCKOUT_DURATION, nextPhaseFr… in GenerateAttributesInfo() 116 …extraAuthInfo.SetInt32Value(Attributes::AttributeKey::ATTR_NEXT_FAIL_LOCKOUT_DURATION, nextPhaseFr… in GenerateAttributesInfo() 119 if (extraInfo.GetInt32Value(Attributes::AttributeKey::ATTR_USER_ID, accountId)) { in GenerateAttributesInfo() 120 extraAuthInfo.SetInt32Value(Attributes::AttributeKey::ATTR_USER_ID, accountId); in GenerateAttributesInfo() [all …]
|
/base/account/os_account/interfaces/kits/napi/account_iam/src/ |
D | napi_account_iam_common.cpp | 142 extraInfo.GetUint64Value(Attributes::AttributeKey::ATTR_CREDENTIAL_ID, param->credentialId); in OnResult() 192 extraInfo.GetUint8ArrayValue(Attributes::AttributeKey::ATTR_EXTRA_INFO, param->extraInfo); in OnAcquireInfo() 292 Attributes::AttributeKey &out) in ConvertGetPropertyTypeToAttributeKey() 294 static const std::map<GetPropertyType, Attributes::AttributeKey> type2Key = { in ConvertGetPropertyTypeToAttributeKey() 295 { AUTH_SUB_TYPE, Attributes::AttributeKey::ATTR_PIN_SUB_TYPE }, in ConvertGetPropertyTypeToAttributeKey() 296 { REMAIN_TIMES, Attributes::AttributeKey::ATTR_REMAIN_TIMES }, in ConvertGetPropertyTypeToAttributeKey() 297 { FREEZING_TIME, Attributes::AttributeKey::ATTR_FREEZING_TIME }, in ConvertGetPropertyTypeToAttributeKey() 298 { ENROLLMENT_PROGRESS, Attributes::AttributeKey::ATTR_ENROLL_PROGRESS }, in ConvertGetPropertyTypeToAttributeKey() 299 { SENSOR_INFO, Attributes::AttributeKey::ATTR_SENSOR_INFO }, in ConvertGetPropertyTypeToAttributeKey() 300 { NEXT_PHASE_FREEZING_TIME, Attributes::AttributeKey::ATTR_NEXT_FAIL_LOCKOUT_DURATION }, in ConvertGetPropertyTypeToAttributeKey() [all …]
|
/base/account/os_account/test/fuzztest/iamaccount/getproperty_fuzzer/ |
D | getproperty_fuzzer.cpp | 40 std::vector<Attributes::AttributeKey> keys = {static_cast<Attributes::AttributeKey>(size)}; in GetPropertyFuzzTest()
|
/base/useriam/pin_auth/services/modules/executors/inc/ |
D | pin_auth_all_in_one_hdi.h | 50 …const std::vector<UserAuth::Attributes::AttributeKey> &keys, UserAuth::Property &property) overrid… 54 …UserAuth::ResultCode ConvertAttributeKeyToPropertyType(const UserAuth::Attributes::AttributeKey in… 56 const std::vector<UserAuth::Attributes::AttributeKey> inVector,
|
/base/account/os_account/test/fuzztest/iamaccount_stub/getpropertystub_fuzzer/ |
D | getpropertystub_fuzzer.cpp | 47 std::vector<Attributes::AttributeKey> keys = {static_cast<Attributes::AttributeKey>(size)}; in GetPropertyStubFuzzTest()
|
/base/useriam/fingerprint_auth/services/inc/ |
D | fingerprint_auth_all_in_one_executor_hdi.h | 56 …const std::vector<UserAuth::Attributes::AttributeKey> &keys, UserAuth::Property &property) overrid… 70 …UserAuth::ResultCode ConvertAttributeKeyToPropertyType(const UserAuth::Attributes::AttributeKey in… 72 … const std::vector<UserAuth::Attributes::AttributeKey> inVector, std::vector<int32_t> &outVector);
|
/base/useriam/face_auth/services/inc/ |
D | face_auth_all_in_one_executor_hdi.h | 56 …const std::vector<UserAuth::Attributes::AttributeKey> &keys, UserAuth::Property &property) overrid… 70 …UserAuth::ResultCode ConvertAttributeKeyToPropertyType(const UserAuth::Attributes::AttributeKey in… 72 … const std::vector<UserAuth::Attributes::AttributeKey> inVector, std::vector<int32_t> &outVector);
|
/base/account/os_account/frameworks/account_iam/src/ |
D | account_iam_callback_service.cpp | 118 attr.SetUint8ArrayValue(Attributes::AttributeKey::ATTR_SIGNATURE, (*authResult).token); in OnResult() 119 …attr.SetInt32Value(Attributes::AttributeKey::ATTR_REMAIN_TIMES, (*authResult).authStatusInfo.remai… in OnResult() 120 …attr.SetInt32Value(Attributes::AttributeKey::ATTR_FREEZING_TIME, (*authResult).authStatusInfo.free… in OnResult()
|
/base/useriam/user_auth_framework/test/unittest/executors/ |
D | executor_unit_test.cpp | 422 commandAttrs->SetUint32Value(Attributes::AttributeKey::ATTR_SCHEDULE_MODE, invalidScheduleMode); 463 commandAttrs->SetUint32Value(Attributes::AttributeKey::ATTR_SCHEDULE_MODE, ENROLL); 464 commandAttrs->SetUint32Value(Attributes::AttributeKey::ATTR_ACCESS_TOKEN_ID, testTokenId); 507 commandAttrs->SetUint32Value(Attributes::AttributeKey::ATTR_SCHEDULE_MODE, ENROLL); 508 commandAttrs->SetUint32Value(Attributes::AttributeKey::ATTR_ACCESS_TOKEN_ID, testTokenId); 509 commandAttrs->SetUint8ArrayValue(Attributes::AttributeKey::ATTR_EXTRA_INFO, testExtraInfo); 534 commandAttrs->SetUint32Value(Attributes::AttributeKey::ATTR_SCHEDULE_MODE, ENROLL); 560 commandAttrs->SetUint32Value(Attributes::AttributeKey::ATTR_SCHEDULE_MODE, ENROLL); 561 commandAttrs->SetUint64Value(Attributes::AttributeKey::ATTR_CALLER_UID, testCallUid); 604 commandAttrs->SetUint32Value(Attributes::AttributeKey::ATTR_SCHEDULE_MODE, AUTH); [all …]
|
/base/useriam/user_auth_framework/services/ipc/inc/ |
D | user_auth_service.h | 44 const std::vector<Attributes::AttributeKey> &keys, 108 void FillGetPropertyKeys(AuthType authType, const std::vector<Attributes::AttributeKey> keys, 110 …void FillGetPropertyValue(AuthType authType, const std::vector<Attributes::AttributeKey> keys, Att…
|
/base/useriam/pin_auth/services/modules/executors/src/ |
D | pin_auth_all_in_one_hdi.cpp | 202 const std::vector<UserAuth::Attributes::AttributeKey> &keys, UserAuth::Property &property) in GetProperty() 230 const std::vector<UserAuth::Attributes::AttributeKey> inItems, std::vector<int32_t> &outItems) in ConvertAttributeKeyVectorToPropertyType() 247 … PinAuthAllInOneHdi::ConvertAttributeKeyToPropertyType(const UserAuth::Attributes::AttributeKey in, in ConvertAttributeKeyToPropertyType() 250 static const std::map<UserAuth::Attributes::AttributeKey, GetPropertyType> data = { in ConvertAttributeKeyToPropertyType()
|
/base/useriam/user_auth_framework/frameworks/native/executors/src/ |
D | iauth_executor_hdi.cpp | 67 const std::vector<Attributes::AttributeKey> &keys, Property &property) in GetProperty()
|
/base/useriam/user_auth_framework/interfaces/inner_api/iam_executor/ |
D | iam_executor_iauth_executor_hdi.h | 159 const std::vector<Attributes::AttributeKey> &keys, Property &property);
|
/base/useriam/user_auth_framework/frameworks/native/ipc/common_defines/ |
D | user_auth_interface.h | 39 …const std::vector<Attributes::AttributeKey> &keys, sptr<GetExecutorPropertyCallbackInterface> &cal…
|
/base/useriam/user_auth_framework/test/unittest/services/mocks/ |
D | mock_user_auth_service.h | 32 void(int32_t userId, AuthType authType, const std::vector<Attributes::AttributeKey> &keys,
|
/base/useriam/user_auth_framework/test/unittest/executors/mock/ |
D | mock_iauth_executor_hdi.h | 53 const std::vector<Attributes::AttributeKey> &keys, Property &property));
|
/base/useriam/fingerprint_auth/services/src/ |
D | fingerprint_auth_all_in_one_executor_hdi.cpp | 201 const std::vector<UserAuth::Attributes::AttributeKey> &keys, UserAuth::Property &property) in GetProperty() 365 const std::vector<UserAuth::Attributes::AttributeKey> inItems, std::vector<int32_t> &outItems) in ConvertAttributeKeyVectorToPropertyType() 379 const UserAuth::Attributes::AttributeKey in, int32_t &out) in ConvertAttributeKeyToPropertyType() 381 static const std::map<UserAuth::Attributes::AttributeKey, GetPropertyType> data = { in ConvertAttributeKeyToPropertyType()
|
/base/useriam/face_auth/services/src/ |
D | face_auth_all_in_one_executor_hdi.cpp | 198 const std::vector<UserAuth::Attributes::AttributeKey> &keys, UserAuth::Property &property) in GetProperty() 362 const std::vector<UserAuth::Attributes::AttributeKey> inItems, std::vector<int32_t> &outItems) in ConvertAttributeKeyVectorToPropertyType() 376 const UserAuth::Attributes::AttributeKey in, int32_t &out) in ConvertAttributeKeyToPropertyType() 378 static const std::map<UserAuth::Attributes::AttributeKey, GetPropertyType> data = { in ConvertAttributeKeyToPropertyType()
|
/base/useriam/user_auth_framework/frameworks/native/executors/include/framework/ |
D | framework_executor_callback.h | 67 …ResultCode FillPropertyToAttribute(const std::vector<Attributes::AttributeKey> &keyList, const Pro…
|
/base/useriam/face_auth/test/fuzztest/faceauthallinoneexecutorhdi_fuzzer/ |
D | face_auth_all_in_one_executor_hdi_fuzzer.cpp | 247 void FillFuzzAttributeKeyVector(Parcel &parcel, std::vector<UserAuth::Attributes::AttributeKey> &ke… in FillFuzzAttributeKeyVector() 252 keys.push_back(static_cast<UserAuth::Attributes::AttributeKey>(val)); in FillFuzzAttributeKeyVector() 357 std::vector<UserAuth::Attributes::AttributeKey> keys; in FuzzGetProperty()
|
/base/useriam/fingerprint_auth/test/fuzztest/fingerprintauthallinoneexecutorhdi_fuzzer/ |
D | fingerprint_auth_all_in_one_executor_hdi_fuzzer.cpp | 244 void FillFuzzAttributeKeyVector(Parcel &parcel, std::vector<UserAuth::Attributes::AttributeKey> &ke… in FillFuzzAttributeKeyVector() 249 keys.push_back(static_cast<UserAuth::Attributes::AttributeKey>(val)); in FillFuzzAttributeKeyVector() 354 std::vector<UserAuth::Attributes::AttributeKey> keys; in FuzzGetProperty()
|
/base/useriam/user_auth_framework/services/ipc/src/ |
D | user_auth_service.cpp | 76 bool IsTemplateIdListRequired(const std::vector<Attributes::AttributeKey> &keys) in IsTemplateIdListRequired() 79 if (key == Attributes::AttributeKey::ATTR_PIN_SUB_TYPE || in IsTemplateIdListRequired() 80 key == Attributes::AttributeKey::ATTR_REMAIN_TIMES || in IsTemplateIdListRequired() 81 key == Attributes::AttributeKey::ATTR_FREEZING_TIME || in IsTemplateIdListRequired() 82 key == Attributes::AttributeKey::ATTR_NEXT_FAIL_LOCKOUT_DURATION) { in IsTemplateIdListRequired() 195 …thService::FillGetPropertyKeys(AuthType authType, const std::vector<Attributes::AttributeKey> keys, in FillGetPropertyKeys() 207 …hService::FillGetPropertyValue(AuthType authType, const std::vector<Attributes::AttributeKey> keys, in FillGetPropertyValue() 221 …const std::vector<Attributes::AttributeKey> &keys, sptr<GetExecutorPropertyCallbackInterface> &cal… in GetProperty()
|