/base/useriam/user_auth_framework/services/ipc/inc/ |
D | user_auth_service.h | 40 …int32_t GetAvailableStatus(int32_t apiVersion, AuthType authType, AuthTrustLevel authTrustLevel) o… 41 void GetProperty(int32_t userId, AuthType authType, 44 void SetProperty(int32_t userId, AuthType authType, const Attributes &attributes, 46 uint64_t AuthUser(int32_t userId, const std::vector<uint8_t> &challenge, AuthType authType, 48 uint64_t Auth(int32_t apiVersion, const std::vector<uint8_t> &challenge, AuthType authType, 50 uint64_t Identify(const std::vector<uint8_t> &challenge, AuthType authType, 56 …r<ContextCallback> GetAuthContextCallback(const std::vector<uint8_t> &challenge, AuthType authType, 58 bool CheckAuthPermission(bool isInnerCaller, AuthType authType); 59 ResultCode CheckNorthPermission(AuthType authType); 60 ResultCode CheckServicePermission(AuthType authType);
|
/base/useriam/user_auth_framework/test/unittest/services/mocks/ |
D | mock_user_auth_service.h | 27 …MOCK_METHOD3(GetAvailableStatus, int32_t(int32_t apiVersion, AuthType authType, AuthTrustLevel aut… 30 void(int32_t userId, AuthType authType, const std::vector<Attributes::AttributeKey> &keys, 33 MOCK_METHOD4(SetProperty, void(int32_t userId, AuthType authType, const Attributes &attributes, 37 uint64_t(int32_t userId, const std::vector<uint8_t> &challenge, AuthType authType, 41 uint64_t(int32_t apiVersion, const std::vector<uint8_t> &challenge, AuthType authType, 45 …uint64_t(const std::vector<uint8_t> &challenge, AuthType authType, sptr<UserAuthCallbackInterface>…
|
D | mock_iuser_auth_interface.h | 38 using AuthType = OHOS::HDI::UserAuth::V1_0::AuthType; variable 60 …MOCK_METHOD3(GetCredential, int32_t(int32_t userId, AuthType authType, std::vector<CredentialInfo>… 73 …int32_t(uint64_t contextId, AuthType authType, const std::vector<uint8_t> &challenge, uint32_t exe… 78 …MOCK_METHOD3(GetAuthTrustLevel, int32_t(int32_t userId, AuthType authType, uint32_t &authTrustLeve… 79 MOCK_METHOD4(GetValidSolution, int32_t(int32_t userId, const std::vector<AuthType> &authTypes, 80 uint32_t authTrustLevel, std::vector<AuthType> &validTypes));
|
/base/useriam/user_auth_framework/frameworks/native/ipc/inc/ |
D | user_auth_proxy.h | 31 …int32_t GetAvailableStatus(int32_t apiVersion, AuthType authType, AuthTrustLevel authTrustLevel) o… 32 void GetProperty(int32_t userId, AuthType authType, 35 void SetProperty(int32_t userId, AuthType authType, const Attributes &attributes, 37 uint64_t AuthUser(int32_t userId, const std::vector<uint8_t> &challenge, AuthType authType, 39 uint64_t Auth(int32_t apiVersion, const std::vector<uint8_t> &challenge, AuthType authType, 41 uint64_t Identify(const std::vector<uint8_t> &challenge, AuthType authType, 49 … AuthType authType, AuthTrustLevel authTrustLevel, sptr<UserAuthCallbackInterface> &callback);
|
D | cred_info_impl.h | 29 CredInfoImpl(uint64_t credentialId, uint64_t templateId, AuthType authType); 35 AuthType GetAuthType() const override; 42 AuthType authType_ {};
|
/base/useriam/user_auth_framework/frameworks/native/ipc/common_defines/ |
D | user_auth_interface.h | 51 …virtual int32_t GetAvailableStatus(int32_t apiVersion, AuthType authType, AuthTrustLevel authTrust… 53 virtual void GetProperty(int32_t userId, AuthType authType, 56 virtual void SetProperty(int32_t userId, AuthType authType, const Attributes &attributes, 59 …virtual uint64_t AuthUser(int32_t userId, const std::vector<uint8_t> &challenge, AuthType authType, 62 …virtual uint64_t Auth(int32_t apiVersion, const std::vector<uint8_t> &challenge, AuthType authType, 65 virtual uint64_t Identify(const std::vector<uint8_t> &challenge, AuthType authType,
|
/base/useriam/user_auth_framework/test/fuzztest/services/userauthservice_fuzzer/ |
D | user_auth_service_fuzzer.cpp | 128 AuthType authType = static_cast<AuthType>(parcel.ReadInt32()); in FuzzGetAvailableStatus() 139 AuthType authType = static_cast<AuthType>(parcel.ReadInt32()); in FuzzGetProperty() 159 AuthType authType = static_cast<AuthType>(parcel.ReadInt32()); in FuzzSetProperty() 178 AuthType authType = static_cast<AuthType>(parcel.ReadInt32()); in FuzzAuth() 194 AuthType authType = static_cast<AuthType>(parcel.ReadInt32()); in FuzzAuthUser() 209 AuthType authType = static_cast<AuthType>(parcel.ReadInt32()); in FuzzIdentify()
|
/base/useriam/user_auth_framework/test/unittest/services/src/ |
D | credential_info_test.cpp | 48 .authType = static_cast<OHOS::HDI::UserAuth::V1_0::AuthType>(4), 65 .authType = static_cast<OHOS::HDI::UserAuth::V1_0::AuthType>(4), 81 .authType = static_cast<OHOS::HDI::UserAuth::V1_0::AuthType>(4), 97 .authType = static_cast<OHOS::HDI::UserAuth::V1_0::AuthType>(4), 113 .authType = static_cast<OHOS::HDI::UserAuth::V1_0::AuthType>(4), 118 AuthType ret = CredentialInfoImpl.GetAuthType(); 129 .authType = static_cast<OHOS::HDI::UserAuth::V1_0::AuthType>(4), 145 .authType = static_cast<OHOS::HDI::UserAuth::V1_0::AuthType>(4),
|
/base/useriam/user_auth_framework/frameworks/native/client/inc/ |
D | user_auth_client_impl.h | 30 int32_t GetAvailableStatus(AuthType authType, AuthTrustLevel authTrustLevel); 31 … int32_t GetAvailableStatus(int32_t apiVersion, AuthType authType, AuthTrustLevel authTrustLevel); 36 …uint64_t BeginAuthentication(int32_t userId, const std::vector<uint8_t> &challenge, AuthType authT… 38 …inNorthAuthentication(int32_t apiVersion, const std::vector<uint8_t> &challenge, AuthType authType, 41 uint64_t BeginIdentification(const std::vector<uint8_t> &challenge, AuthType authType,
|
/base/security/huks/services/huks_standard/huks_service/main/systemapi_mock/src/ |
D | hks_useridm_api_mock.cpp | 37 static int32_t ConvertToHksAuthType(enum USER_IAM::AuthType authType, enum HksUserAuthType *hksAuth… in ConvertToHksAuthType() 40 case USER_IAM::AuthType::FACE: in ConvertToHksAuthType() 43 case USER_IAM::AuthType::FINGERPRINT: in ConvertToHksAuthType() 46 case USER_IAM::AuthType::PIN: in ConvertToHksAuthType() 104 …return ConvertToHksAuthType((enum USER_IAM::AuthType)userIamValue, (enum HksUserAuthType *)hksValu… in HksConvertUserIamTypeToHksType()
|
/base/useriam/user_auth_framework/interfaces/inner_api/ |
D | user_idm_client_defines.h | 27 AuthType authType {0}; 34 AuthType authType {0}; 44 AuthType authType {0};
|
D | user_auth_client_defines.h | 26 AuthType authType {0}; 31 AuthType authType {0};
|
/base/security/huks/services/huks_standard/huks_service/main/systemapi_wrap/useridm/src/ |
D | hks_useridm_api_wrap.cpp | 36 static int32_t ConvertFromHksAuthType(enum HksUserAuthType hksAuthType, enum USER_IAM::AuthType *au… in ConvertFromHksAuthType() 40 *authType = USER_IAM::AuthType::FACE; in ConvertFromHksAuthType() 43 *authType = USER_IAM::AuthType::PIN; in ConvertFromHksAuthType() 46 *authType = USER_IAM::AuthType::FINGERPRINT; in ConvertFromHksAuthType() 55 static int32_t ConvertToHksAuthType(enum USER_IAM::AuthType authType, enum HksUserAuthType *hksAuth… in ConvertToHksAuthType() 58 case USER_IAM::AuthType::FACE: in ConvertToHksAuthType() 61 case USER_IAM::AuthType::PIN: in ConvertToHksAuthType() 64 case USER_IAM::AuthType::FINGERPRINT: in ConvertToHksAuthType() 188 enum USER_IAM::AuthType authType; in HksUserIdmGetAuthInfoNum() 221 return ConvertToHksAuthType(static_cast<enum USER_IAM::AuthType>(userIamValue), in HksConvertUserIamTypeToHksType()
|
/base/useriam/user_auth_framework/frameworks/js/napi/user_auth/inc/ |
D | user_auth_impl.h | 36 …static napi_status ParseExecuteInfo(napi_env env, napi_value value, AuthType &authType, ResultCode… 37 …static napi_status ParseExecuteAuthType(napi_env env, napi_value value, AuthType &authType, Result… 40 …static ResultCode CheckAuthTypeAndAuthTrustLevel(AuthType authType, AuthTrustLevel authTrustLevel);
|
/base/useriam/user_auth_framework/services/context/inc/ |
D | context_factory.h | 34 AuthType authType {ALL}; 41 AuthType authType {ALL}; 48 AuthType authType {ALL};
|
/base/useriam/user_auth_framework/services/core/src/ |
D | enrolled_info_impl.cpp | 30 AuthType EnrolledInfoImpl::GetAuthType() const in GetAuthType() 32 return static_cast<AuthType>(info_.authType); in GetAuthType()
|
D | credential_info_impl.cpp | 45 AuthType CredentialInfoImpl::GetAuthType() const in GetAuthType() 47 return static_cast<AuthType>(info_.authType); in GetAuthType()
|
/base/account/os_account/test/fuzztest/iamaccount/getavailablestatus_fuzzer/ |
D | getavailablestatus_fuzzer.cpp | 29 AuthType authType = static_cast<AuthType>(size); in GetAvailableStatusFuzzTest()
|
/base/useriam/user_auth_framework/frameworks/native/ipc/src/ |
D | cred_info_impl.cpp | 21 CredInfoImpl::CredInfoImpl(uint64_t credentialId, uint64_t templateId, AuthType authType) in CredInfoImpl() 46 AuthType CredInfoImpl::GetAuthType() const in GetAuthType()
|
/base/useriam/user_auth_framework/ |
D | README_ZH.md | 83 | GetCredentialInfo(userId : int32_t, authType : AuthType, callback : GetCredentialInfoCallback): i… 92 | BeginAuthentication(userId : int32_t, challenge : vector<uint8_t>, authType : AuthType, atl : Aut… 94 | BeginIdentification(challenge : vector<uint8_t>, authType : AuthType, callback : IdentificationCa… 104 | getAvailableStatus(authType : AuthType, authTrustLevel : AuthTrustLevel) : number; | 检查当前的认证等级是否支… 107 | auth(challenge : Uint8Array, authType : AuthType, authTrustLevel : AuthTrustLevel, callback : IUs… 108 | authUser(userId : number, challenge : Uint8Array, authType : AuthType, authTrustLevel : AuthTrust…
|
/base/useriam/user_auth_framework/test/unittest/inner_api/src/ |
D | user_auth_proxy_test.cpp | 50 static const AuthType testAuthType = FACE; 60 .WillOnce([](int32_t apiVersion, AuthType authType, AuthTrustLevel authTrustLevel) { in __anon7c0f17000102() 78 static const AuthType testAuthType = FACE; 94 .WillOnce([&testCallback](std::optional<int32_t> userId, AuthType authType, 114 static const AuthType testAuthType = FACE; 131 .WillOnce([&testCallback](int32_t userId, AuthType authType, 152 static const AuthType testAuthType = FACE; 169 … AuthType authType, AuthTrustLevel authTrustLevel, sptr<UserAuthCallbackInterface> &callback) { in __anon7c0f17000702() 189 static const AuthType testAuthType = FACE; 206 … AuthType authType, AuthTrustLevel authTrustLevel, sptr<UserAuthCallbackInterface> &callback) { in __anon7c0f17000902() [all …]
|
/base/account/os_account/test/fuzztest/iamaccount/getcredentialinfo_fuzzer/ |
D | getcredentialinfo_fuzzer.cpp | 39 AuthType authType = static_cast<AuthType>(size); in GetCredentialInfoFuzzTest()
|
/base/useriam/user_auth_framework/services/ipc/src/ |
D | user_auth_service.cpp | 60 int32_t UserAuthService::GetAvailableStatus(int32_t apiVersion, AuthType authType, AuthTrustLevel a… in GetAvailableStatus() 84 …hdi->GetAuthTrustLevel(userId, static_cast<HDI::UserAuth::V1_0::AuthType>(authType), supportedAtl); in GetAvailableStatus() 97 void UserAuthService::GetProperty(int32_t userId, AuthType authType, in GetProperty() 140 void UserAuthService::SetProperty(int32_t userId, AuthType authType, const Attributes &attributes, in SetProperty() 174 bool UserAuthService::CheckAuthPermission(bool isInnerCaller, AuthType authType) in CheckAuthPermission() 185 ResultCode UserAuthService::CheckNorthPermission(AuthType authType) in CheckNorthPermission() 198 ResultCode UserAuthService::CheckServicePermission(AuthType authType) in CheckServicePermission() 207 AuthType authType, AuthTrustLevel authTrustLevel, sptr<UserAuthCallbackInterface> &callback) in GetAuthContextCallback() 228 AuthType authType, AuthTrustLevel authTrustLevel, sptr<UserAuthCallbackInterface> &callback) in Auth() 280 AuthType authType, AuthTrustLevel authTrustLevel, sptr<UserAuthCallbackInterface> &callback) in AuthUser() [all …]
|
/base/account/os_account/test/fuzztest/iamaccount/getproperty_fuzzer/ |
D | getproperty_fuzzer.cpp | 39 AuthType authType = static_cast<AuthType>(size); in GetPropertyFuzzTest()
|
/base/account/os_account/services/accountmgr/include/account_iam/ |
D | account_iam_service.h | 41 int32_t userId, AuthType authType, const sptr<IGetCredInfoCallback> &callback) override; 42 uint64_t AuthUser(int32_t userId, const std::vector<uint8_t> &challenge, AuthType authType, 45 …int32_t GetAvailableStatus(AuthType authType, AuthTrustLevel authTrustLevel, int32_t &status) over…
|