/base/useriam/user_auth_framework/test/unittest/services/src/ |
D | secure_user_info_test.cpp | 47 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);
|
D | enrollment_impl_test.cpp | 100 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));
|
D | enroll_context_test.cpp | 448 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/ |
D | enroll_context.cpp | 69 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/ |
D | enrollment_impl.cpp | 124 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()
|
D | secure_user_info_impl.cpp | 21 SecureUserInfoImpl::SecureUserInfoImpl(int32_t userId, PinSubType subType, uint64_t secUserId, in SecureUserInfoImpl() argument 23 : userId_(userId), subType_(subType), secUserId_(secUserId), enrolledInfos_(enrolledInfos) in SecureUserInfoImpl()
|
D | enrollment_impl.h | 43 std::optional<uint64_t> &secUserId) override; 52 bool GetSecUserId(std::optional<uint64_t> &secUserId);
|
D | secure_user_info_impl.h | 28 SecureUserInfoImpl(int32_t userId, PinSubType subType, uint64_t secUserId,
|
/base/useriam/user_auth_framework/services/context/inc/ |
D | enroll_context.h | 42 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/ |
D | enrollment.h | 42 std::optional<uint64_t> &secUserId) = 0;
|
/base/useriam/user_auth_framework/test/unittest/services/mocks/ |
D | mock_enrollment.h | 37 std::optional<uint64_t> &secUserId));
|