Home
last modified time | relevance | path

Searched refs:secUserId (Results 1 – 11 of 11) sorted by relevance

/base/useriam/user_auth_framework/test/unittest/services/src/
Dsecure_user_info_test.cpp47 constexpr uint64_t secUserId = 200; variable
49 SecureUserInfoImpl secureUserInfoImpl(userId, pinSubType, secUserId, info);
58 constexpr uint64_t secUserId = 200; variable
60 SecureUserInfoImpl secureUserInfoImpl(userId, pinSubType, secUserId, info);
68 constexpr uint64_t secUserId = 200; variable
70 SecureUserInfoImpl secureUserInfoImpl(userId, pinSubType, secUserId, info);
72 EXPECT_EQ(ret, secUserId);
79 constexpr uint64_t secUserId = 200; variable
81 SecureUserInfoImpl secureUserInfoImpl(userId, pinSubType, secUserId, info);
Denrollment_impl_test.cpp100 std::optional<uint64_t> secUserId = std::nullopt; variable
101 EXPECT_FALSE(enroll->Update(scheduleResult, credentialId, info, rootSecret, secUserId));
134 std::optional<uint64_t> secUserId = std::nullopt; variable
135 EXPECT_TRUE(enroll->Update(scheduleResult, credentialId, info, rootSecret, secUserId));
160 std::optional<uint64_t> secUserId = std::nullopt; variable
161 EXPECT_TRUE(enroll->Update(scheduleResult, credentialId, info, rootSecret, secUserId));
183 EXPECT_FALSE(enroll->Update(scheduleResult, credentialId, info, rootSecret, secUserId));
184 EXPECT_FALSE(enroll->Update(scheduleResult, credentialId, info, rootSecret, secUserId));
Denroll_context_test.cpp448 std::optional<uint64_t> &secUserId) { in __anon9b8312cb1002() argument
486 std::optional<uint64_t> &secUserId) { in __anon9b8312cb1202() argument
531 std::optional<uint64_t> &secUserId) { in __anon9b8312cb1402() argument
539 secUserId = 0; in __anon9b8312cb1402()
/base/useriam/user_auth_framework/services/context/src/
Denroll_context.cpp69 std::optional<uint64_t> secUserId = std::nullopt; in OnResult() local
70 bool updateRet = UpdateScheduleResult(scheduleResultAttr, credentialId, rootSecret, secUserId); in OnResult()
77 InvokeResultCallback(resultCode, credentialId, rootSecret, secUserId); in OnResult()
99 uint64_t &credentialId, std::vector<uint8_t> &rootSecret, std::optional<uint64_t> &secUserId) in UpdateScheduleResult() argument
107 … bool updateRet = enroll_->Update(scheduleResult, credentialId, infoToDel, rootSecret, secUserId); in UpdateScheduleResult()
126 const std::vector<uint8_t> &rootSecret, std::optional<uint64_t> &secUserId) const in InvokeResultCallback()
131 if (secUserId.has_value()) { in InvokeResultCallback()
133 …bool setSecUserIdRet = finalResult.SetUint64Value(Attributes::ATTR_SEC_USER_ID, secUserId.value()); in InvokeResultCallback()
/base/useriam/user_auth_framework/services/core/src/
Denrollment_impl.cpp124 bool EnrollmentImpl::GetSecUserId(std::optional<uint64_t> &secUserId) in GetSecUserId() argument
126 secUserId = std::nullopt; in GetSecUserId()
133 secUserId = userInfo->GetSecUserId(); in GetSecUserId()
152 std::optional<uint64_t> &secUserId) in Update() argument
172 secUserId = secUserId_; in Update()
174 if (!GetSecUserId(secUserId)) { in Update()
Dsecure_user_info_impl.cpp21 SecureUserInfoImpl::SecureUserInfoImpl(int32_t userId, PinSubType subType, uint64_t secUserId, in SecureUserInfoImpl() argument
23 : userId_(userId), subType_(subType), secUserId_(secUserId), enrolledInfos_(enrolledInfos) in SecureUserInfoImpl()
Denrollment_impl.h43 std::optional<uint64_t> &secUserId) override;
52 bool GetSecUserId(std::optional<uint64_t> &secUserId);
Dsecure_user_info_impl.h28 SecureUserInfoImpl(int32_t userId, PinSubType subType, uint64_t secUserId,
/base/useriam/user_auth_framework/services/context/inc/
Denroll_context.h42 std::vector<uint8_t> &rootSecret, std::optional<uint64_t> &secUserId);
44 const std::vector<uint8_t> &rootSecret, std::optional<uint64_t> &secUserId) const;
/base/useriam/user_auth_framework/services/core/inc/
Denrollment.h42 std::optional<uint64_t> &secUserId) = 0;
/base/useriam/user_auth_framework/test/unittest/services/mocks/
Dmock_enrollment.h37 std::optional<uint64_t> &secUserId));