/base/useriam/user_auth_framework/services/context/src/ |
D | simple_auth_context.cpp | 111 Attributes finalResult; in InvokeResultCallback() local 112 …bool setResultCodeRet = finalResult.SetInt32Value(Attributes::ATTR_RESULT_CODE, resultInfo.result); in InvokeResultCallback() 114 …bool setFreezingTimeRet = finalResult.SetInt32Value(Attributes::ATTR_FREEZING_TIME, resultInfo.fre… in InvokeResultCallback() 116 …bool setUserIdRet = finalResult.SetInt32Value(Attributes::ATTR_REMAIN_TIMES, resultInfo.remainTime… in InvokeResultCallback() 119 …bool setSignatureResult = finalResult.SetUint8ArrayValue(Attributes::ATTR_SIGNATURE, resultInfo.to… in InvokeResultCallback() 123 …bool setRootSecret = finalResult.SetUint8ArrayValue(Attributes::ATTR_ROOT_SECRET, resultInfo.rootS… in InvokeResultCallback() 126 callback_->OnResult(resultInfo.result, finalResult); in InvokeResultCallback()
|
D | identify_context.cpp | 111 Attributes finalResult; in InvokeResultCallback() local 112 …bool setResultCodeRet = finalResult.SetInt32Value(Attributes::ATTR_RESULT_CODE, resultInfo.result); in InvokeResultCallback() 114 bool setUserIdRet = finalResult.SetInt32Value(Attributes::ATTR_USER_ID, resultInfo.userId); in InvokeResultCallback() 117 …bool setSignatureResult = finalResult.SetUint8ArrayValue(Attributes::ATTR_SIGNATURE, resultInfo.to… in InvokeResultCallback() 121 callback_->OnResult(resultInfo.result, finalResult); in InvokeResultCallback()
|
D | context_callback_impl.cpp | 54 void ContextCallbackImpl::OnResult(int32_t resultCode, const Attributes &finalResult) in OnResult() argument 59 if (finalResult.GetInt32Value(Attributes::ATTR_REMAIN_TIMES, remainTime)) { in OnResult() 62 if (finalResult.GetInt32Value(Attributes::ATTR_FREEZING_TIME, freezingTime)) { in OnResult() 68 iamCallback_->OnResult(resultCode, finalResult); in OnResult()
|
D | enroll_context.cpp | 124 Attributes finalResult; in InvokeResultCallback() local 125 bool setCredIdRet = finalResult.SetUint64Value(Attributes::ATTR_CREDENTIAL_ID, credentialId); in InvokeResultCallback() 128 … bool setRootSecret = finalResult.SetUint8ArrayValue(Attributes::ATTR_ROOT_SECRET, rootSecret); in InvokeResultCallback() 131 callback_->OnResult(resultCode, finalResult); in InvokeResultCallback()
|
D | base_context.cpp | 96 …d BaseContext::OnScheduleStoped(int32_t resultCode, const std::shared_ptr<Attributes> &finalResult) in OnScheduleStoped() argument 98 OnResult(resultCode, finalResult); in OnScheduleStoped()
|
/base/useriam/user_auth_framework/test/unittest/inner_api/src/ |
D | executor_messenger_proxy_test.cpp | 73 std::shared_ptr<Attributes> finalResult = nullptr; variable 79 EXPECT_EQ(proxy->Finish(scheduleId, srcRole, resultCode, finalResult), INVALID_PARAMETERS); 98 std::shared_ptr<Attributes> finalResult = Common::MakeShared<Attributes>(); variable 99 EXPECT_NE(finalResult, nullptr); 103 EXPECT_EQ(proxy->Finish(scheduleId, srcRole, resultCode, finalResult), SUCCESS);
|
D | executor_messenger_client_test.cpp | 113 Attributes finalResult; variable 118 int32_t result = service->Finish(testScheduleId, testSrcRole, testResultCode, finalResult); 127 Attributes finalResult; variable 135 ResultCode resultCode, const std::shared_ptr<Attributes> &finalResult) { in __anona6ff57c40202() argument 143 int32_t result = service->Finish(testScheduleId, testSrcRole, testResultCode, finalResult);
|
D | executor_messenger_stub_test.cpp | 77 std::vector<uint8_t> finalResult = {1, 2, 4, 6}; variable 88 EXPECT_TRUE(data.WriteUInt8Vector(finalResult));
|
/base/useriam/user_auth_framework/frameworks/native/ipc/src/ |
D | executor_messenger_stub.cpp | 109 auto finalResult = Common::MakeShared<Attributes>(attributes); in FinishStub() local 110 IF_FALSE_LOGE_AND_RETURN_VAL(finalResult != nullptr, WRITE_PARCEL_ERROR); in FinishStub() 112 …(scheduleId, static_cast<ExecutorRole>(srcRole), static_cast<ResultCode>(resultCode), finalResult); in FinishStub()
|
D | executor_messenger_proxy.cpp | 75 const std::shared_ptr<Attributes> &finalResult) in Finish() argument 77 if (finalResult == nullptr) { in Finish() 100 std::vector<uint8_t> buffer = finalResult->Serialize(); in Finish()
|
/base/useriam/user_auth_framework/frameworks/native/client/src/ |
D | executor_messenger_client.cpp | 50 const Attributes &finalResult) in Finish() argument 56 auto attr = Common::MakeShared<Attributes>(finalResult.Serialize()); in Finish()
|
/base/useriam/user_auth_framework/test/unittest/services/src/ |
D | identify_context_test.cpp | 58 const auto finalResult = Common::MakeShared<Attributes>(); variable 59 ASSERT_NE(finalResult, nullptr); 73 nodeCallback->OnScheduleStoped(testResultCode, finalResult); 83 const auto finalResult = Common::MakeShared<Attributes>(); variable 84 ASSERT_NE(finalResult, nullptr); 97 nodeCallback->OnScheduleStoped(testResultCode, finalResult); 304 .WillOnce([](int32_t resultCode, const Attributes &finalResult) { in __anon24d148fe0802() argument 327 .WillOnce([](int32_t resultCode, const Attributes &finalResult) { in __anon24d148fe0902() argument 350 .WillOnce([](int32_t resultCode, const Attributes &finalResult) { in __anon24d148fe0a02() argument 382 .WillOnce([](int32_t resultCode, const Attributes &finalResult) { in __anon24d148fe0c02() argument [all …]
|
D | simple_auth_context_test.cpp | 62 const auto finalResult = Common::MakeShared<Attributes>(); variable 63 ASSERT_NE(finalResult, nullptr); 77 nodeCallback->OnScheduleStoped(testResultCode, finalResult); 87 const auto finalResult = Common::MakeShared<Attributes>(); variable 88 ASSERT_NE(finalResult, nullptr); 101 nodeCallback->OnScheduleStoped(testResultCode, finalResult); 358 ….WillOnce([](int32_t resultCode, const Attributes &finalResult) { EXPECT_EQ(resultCode, testResult… in __anonda6bd27d0c02() argument 379 .WillOnce([](int32_t resultCode, const Attributes &finalResult) { in __anonda6bd27d0d02() argument 402 .WillOnce([](int32_t resultCode, const Attributes &finalResult) { in __anonda6bd27d0e02() argument 433 .WillOnce([](int32_t resultCode, const Attributes &finalResult) { in __anonda6bd27d1002() argument [all …]
|
D | enroll_context_test.cpp | 59 const auto finalResult = Common::MakeShared<Attributes>(); variable 60 ASSERT_NE(finalResult, nullptr); 74 nodeCallback->OnScheduleStoped(testResultCode, finalResult); 84 const auto finalResult = Common::MakeShared<Attributes>(); variable 85 ASSERT_NE(finalResult, nullptr); 98 nodeCallback->OnScheduleStoped(testResultCode, finalResult); 357 .WillOnce([](int32_t resultCode, const Attributes &finalResult) { in __anon55df5d4e0c02() argument 380 .WillOnce([](int32_t resultCode, const Attributes &finalResult) { in __anon55df5d4e0d02() argument 403 .WillOnce([](int32_t resultCode, const Attributes &finalResult) { in __anon55df5d4e0e02() argument 436 .WillOnce([](int32_t resultCode, const Attributes &finalResult) { in __anon55df5d4e1002() argument [all …]
|
/base/useriam/user_auth_framework/services/ipc/src/ |
D | executor_messenger_service.cpp | 59 const std::shared_ptr<Attributes> &finalResult) in Finish() argument 66 bool result = scheduleNode->ContinueSchedule(resultCode, finalResult); in Finish()
|
/base/useriam/user_auth_framework/test/unittest/executors/ |
D | identify_command_unit_test.cpp | 73 …([](uint64_t scheduleId, ExecutorRole srcRole, int32_t resultCode, const Attributes &finalResult) { in __anona80468fe0102() argument 78 … EXPECT_EQ(finalResult.GetUint32Value(Attributes::ATTR_RESULT_CODE, attrResultCode), true); in __anona80468fe0102() 81 EXPECT_EQ(finalResult.GetUint8ArrayValue(Attributes::ATTR_RESULT, extraInfo), true); in __anona80468fe0102() 103 …([](uint64_t scheduleId, ExecutorRole srcRole, int32_t resultCode, const Attributes &finalResult) { in __anona80468fe0202() argument 125 …([](uint64_t scheduleId, ExecutorRole srcRole, int32_t resultCode, const Attributes &finalResult) { in __anona80468fe0302() argument 130 … EXPECT_EQ(finalResult.GetUint32Value(Attributes::ATTR_RESULT_CODE, attrResultCode), true); in __anona80468fe0302() 133 EXPECT_EQ(finalResult.GetUint8ArrayValue(Attributes::ATTR_RESULT, extraInfo), true); in __anona80468fe0302()
|
D | enroll_command_unit_test.cpp | 73 …([](uint64_t scheduleId, ExecutorRole srcRole, int32_t resultCode, const Attributes &finalResult) { in __anon9de1718e0102() argument 78 … EXPECT_EQ(finalResult.GetUint32Value(Attributes::ATTR_RESULT_CODE, attrResultCode), true); in __anon9de1718e0102() 81 EXPECT_EQ(finalResult.GetUint8ArrayValue(Attributes::ATTR_RESULT, extraInfo), true); in __anon9de1718e0102() 103 …([](uint64_t scheduleId, ExecutorRole srcRole, int32_t resultCode, const Attributes &finalResult) { in __anon9de1718e0202() argument 125 …([](uint64_t scheduleId, ExecutorRole srcRole, int32_t resultCode, const Attributes &finalResult) { in __anon9de1718e0302() argument 130 … EXPECT_EQ(finalResult.GetUint32Value(Attributes::ATTR_RESULT_CODE, attrResultCode), true); in __anon9de1718e0302() 133 EXPECT_EQ(finalResult.GetUint8ArrayValue(Attributes::ATTR_RESULT, extraInfo), true); in __anon9de1718e0302()
|
D | auth_command_unit_test.cpp | 73 …([](uint64_t scheduleId, ExecutorRole srcRole, int32_t resultCode, const Attributes &finalResult) { in __anon3461a1f40102() argument 78 … EXPECT_EQ(finalResult.GetUint32Value(Attributes::ATTR_RESULT_CODE, attrResultCode), true); in __anon3461a1f40102() 81 EXPECT_EQ(finalResult.GetUint8ArrayValue(Attributes::ATTR_RESULT, extraInfo), true); in __anon3461a1f40102() 103 …([](uint64_t scheduleId, ExecutorRole srcRole, int32_t resultCode, const Attributes &finalResult) { in __anon3461a1f40202() argument 124 …([](uint64_t scheduleId, ExecutorRole srcRole, int32_t resultCode, const Attributes &finalResult) { in __anon3461a1f40302() argument 129 … EXPECT_EQ(finalResult.GetUint32Value(Attributes::ATTR_RESULT_CODE, attrResultCode), true); in __anon3461a1f40302() 132 EXPECT_EQ(finalResult.GetUint8ArrayValue(Attributes::ATTR_RESULT, extraInfo), true); in __anon3461a1f40302()
|
/base/useriam/user_auth_framework/services/core/inc/ |
D | schedule_node_callback.h | 34 …tual void OnScheduleStoped(int32_t resultCode, const std::shared_ptr<Attributes> &finalResult) = 0;
|
/base/useriam/user_auth_framework/test/fuzztest/clients/coauthclient_fuzzer/ |
D | co_auth_client_fuzzer.cpp | 93 const std::shared_ptr<Attributes> &finalResult) override in Finish() argument 99 static_cast<void>(finalResult); in Finish() 235 Attributes finalResult(attr); in FuzzExecutorMessengerClientFinish() local 237 g_ExecutorMessengerClient->Finish(scheduleId, srcRole, resultCode, finalResult); in FuzzExecutorMessengerClientFinish()
|
/base/useriam/user_auth_framework/test/unittest/inner_api/mocks/ |
D | mock_executor_messenger_service.h | 32 const std::shared_ptr<Attributes> &finalResult));
|
/base/useriam/user_auth_framework/test/unittest/services/mocks/ |
D | mock_schedule_node_callback.h | 32 …ETHOD2(OnScheduleStoped, void(int32_t resultCode, const std::shared_ptr<Attributes> &finalResult));
|
/base/useriam/user_auth_framework/frameworks/native/ipc/common_defines/ |
D | executor_messenger_interface.h | 37 const std::shared_ptr<Attributes> &finalResult) = 0;
|
/base/useriam/user_auth_framework/services/ipc/inc/ |
D | executor_messenger_service.h | 31 const std::shared_ptr<Attributes> &finalResult) override;
|
/base/useriam/user_auth_framework/test/unittest/executors/mock/ |
D | mock_iexecutor_messenger.h | 36 …2_t(uint64_t scheduleId, ExecutorRole srcRole, int32_t resultCode, const Attributes &finalResult));
|