/base/useriam/user_auth_framework/common/executors/include/framework/ |
D | framework_executor_callback.h | 40 int32_t OnBeginExecute(uint64_t scheduleId, const std::vector<uint8_t> &publicKey, 42 int32_t OnEndExecute(uint64_t scheduleId, const Attributes &commandAttrs) override; 49 ResultCode OnBeginExecuteInner(uint64_t scheduleId, std::vector<uint8_t> &publicKey, 51 ResultCode OnEndExecuteInner(uint64_t scheduleId, const Attributes &consumerAttr); 55 ResultCode ProcessEnrollCommand(uint64_t scheduleId, const Attributes &properties); 56 ResultCode ProcessAuthCommand(uint64_t scheduleId, const Attributes &properties); 57 ResultCode ProcessIdentifyCommand(uint64_t scheduleId, const Attributes &properties); 58 ResultCode ProcessCancelCommand(uint64_t scheduleId);
|
/base/useriam/user_auth_framework/common/executors/src/framework/ |
D | framework_executor_callback.cpp | 47 int32_t FrameworkExecutorCallback::OnBeginExecute(uint64_t scheduleId, const std::vector<uint8_t> &… in OnBeginExecute() argument 52 return OnBeginExecuteInner(scheduleId, pk, commandAttrs); in OnBeginExecute() 55 ResultCode FrameworkExecutorCallback::OnBeginExecuteInner(uint64_t scheduleId, std::vector<uint8_t>… in OnBeginExecuteInner() argument 68 ret = ProcessEnrollCommand(scheduleId, commandAttrs); in OnBeginExecuteInner() 71 ret = ProcessAuthCommand(scheduleId, commandAttrs); in OnBeginExecuteInner() 74 ret = ProcessIdentifyCommand(scheduleId, commandAttrs); in OnBeginExecuteInner() 84 int32_t FrameworkExecutorCallback::OnEndExecute(uint64_t scheduleId, const Attributes &commandAttrs) in OnEndExecute() argument 86 return OnEndExecuteInner(scheduleId, commandAttrs); in OnEndExecute() 89 ResultCode FrameworkExecutorCallback::OnEndExecuteInner(uint64_t scheduleId, const Attributes &cons… in OnEndExecuteInner() argument 91 ResultCode ret = ProcessCancelCommand(scheduleId); in OnEndExecuteInner() [all …]
|
/base/useriam/user_auth_framework/test/fuzztest/clients/coauthclient_fuzzer/ |
D | co_auth_client_fuzzer.cpp | 44 int32_t OnBeginExecute(uint64_t scheduleId, const std::vector<uint8_t> &publicKey, in OnBeginExecute() argument 48 static_cast<void>(scheduleId); in OnBeginExecute() 54 int32_t OnEndExecute(uint64_t scheduleId, const Attributes &commandAttrs) in OnEndExecute() argument 57 static_cast<void>(scheduleId); in OnEndExecute() 80 …int32_t SendData(uint64_t scheduleId, uint64_t transNum, ExecutorRole srcRole, ExecutorRole dstRol… in SendData() argument 84 static_cast<void>(scheduleId); in SendData() 92 int32_t Finish(uint64_t scheduleId, ExecutorRole srcRole, ResultCode resultCode, in Finish() argument 96 static_cast<void>(scheduleId); in Finish() 161 uint64_t scheduleId = parcel.ReadUint64(); in FuzzExecutorCallbackServiceOnBeginExecute() local 168 g_ExecutorCallbackService->OnBeginExecute(scheduleId, publicKey, command); in FuzzExecutorCallbackServiceOnBeginExecute() [all …]
|
/base/useriam/user_auth_framework/frameworks/native/ipc/src/ |
D | executor_messenger_stub.cpp | 50 uint64_t scheduleId; in SendDataStub() local 56 if (!data.ReadUint64(scheduleId)) { in SendDataStub() 78 …SendData(scheduleId, transNum, static_cast<ExecutorRole>(srcRole), static_cast<ExecutorRole>(dstRo… in SendDataStub() 88 uint64_t scheduleId; in FinishStub() local 93 if (!data.ReadUint64(scheduleId)) { in FinishStub() 112 …Finish(scheduleId, static_cast<ExecutorRole>(srcRole), static_cast<ResultCode>(resultCode), finalR… in FinishStub()
|
D | executor_callback_stub.cpp | 82 uint64_t scheduleId; in OnBeginExecuteStub() local 86 if (!data.ReadUint64(scheduleId)) { in OnBeginExecuteStub() 100 int32_t result = OnBeginExecute(scheduleId, publicKey, commandAttrs); in OnBeginExecuteStub() 110 uint64_t scheduleId; in OnEndExecuteStub() local 113 if (!data.ReadUint64(scheduleId)) { in OnEndExecuteStub() 123 int32_t result = OnEndExecute(scheduleId, consumerAttr); in OnEndExecuteStub()
|
/base/useriam/pin_auth/test/unittest/mocks/ |
D | mock_iexecutor.h | 36 MOCK_METHOD3(Enroll, int32_t(uint64_t scheduleId, const std::vector<uint8_t> &extraInfo, 38 …MOCK_METHOD4(Authenticate, int32_t(uint64_t scheduleId, uint64_t templateId, const std::vector<uin… 40 MOCK_METHOD3(Identify, int32_t(uint64_t scheduleId, const std::vector<uint8_t> &extraInfo, 43 MOCK_METHOD1(Cancel, int32_t(uint64_t scheduleId)); 46 …MOCK_METHOD3(OnSetData, int32_t(uint64_t scheduleId, uint64_t authSubType, const std::vector<uint8…
|
/base/useriam/user_auth_framework/frameworks/native/client/src/ |
D | executor_messenger_client.cpp | 32 int32_t ExecutorMessengerClient::SendData(uint64_t scheduleId, uint64_t transNum, ExecutorRole srcR… in SendData() argument 46 return messenger_->SendData(scheduleId, transNum, srcRole, dstRole, buffer); in SendData() 49 int32_t ExecutorMessengerClient::Finish(uint64_t scheduleId, ExecutorRole srcRole, int32_t resultCo… in Finish() argument 61 return messenger_->Finish(scheduleId, srcRole, static_cast<ResultCode>(resultCode), attr); in Finish()
|
D | executor_callback_service.cpp | 47 int32_t ExecutorCallbackService::OnBeginExecute(uint64_t scheduleId, const std::vector<uint8_t> &pu… in OnBeginExecute() argument 54 return callback_->OnBeginExecute(scheduleId, publicKey, command); in OnBeginExecute() 57 int32_t ExecutorCallbackService::OnEndExecute(uint64_t scheduleId, const Attributes &command) in OnEndExecute() argument 63 return callback_->OnEndExecute(scheduleId, command); in OnEndExecute()
|
/base/useriam/user_auth_framework/services/ipc/src/ |
D | executor_messenger_service.cpp | 42 int32_t ExecutorMessengerService::SendData(uint64_t scheduleId, uint64_t transNum, ExecutorRole src… in SendData() argument 45 auto scheduleNode = ContextPool::Instance().SelectScheduleNodeByScheduleId(scheduleId); in SendData() 58 int32_t ExecutorMessengerService::Finish(uint64_t scheduleId, ExecutorRole srcRole, ResultCode resu… in Finish() argument 61 auto scheduleNode = ContextPool::Instance().SelectScheduleNodeByScheduleId(scheduleId); in Finish()
|
/base/useriam/user_auth_framework/test/unittest/inner_api/src/ |
D | executor_messenger_proxy_test.cpp | 57 uint64_t scheduleId = 6598; variable 65 EXPECT_EQ(proxy->SendData(scheduleId, transNum, srcRole, dstRole, message), SUCCESS); 70 uint64_t scheduleId = 6598; variable 79 EXPECT_EQ(proxy->Finish(scheduleId, srcRole, resultCode, finalResult), INVALID_PARAMETERS); 95 uint64_t scheduleId = 6598; variable 103 EXPECT_EQ(proxy->Finish(scheduleId, srcRole, resultCode, finalResult), SUCCESS);
|
D | executor_messenger_stub_test.cpp | 47 uint64_t scheduleId = 6598; variable 59 EXPECT_TRUE(data.WriteUint64(scheduleId)); 74 uint64_t scheduleId = 6598; variable 85 EXPECT_TRUE(data.WriteUint64(scheduleId));
|
/base/useriam/user_auth_framework/common/executors/include/public/ |
D | iauth_executor_hdi.h | 39 …virtual ResultCode Enroll(uint64_t scheduleId, uint32_t tokenId, const std::vector<uint8_t> &extra… 41 …virtual ResultCode Authenticate(uint64_t scheduleId, uint32_t tokenId, const std::vector<uint64_t>… 43 …virtual ResultCode Identify(uint64_t scheduleId, uint32_t tokenId, const std::vector<uint8_t> &ext… 47 virtual ResultCode Cancel(uint64_t scheduleId) = 0;
|
/base/useriam/user_auth_framework/common/executors/src/async_command/ |
D | async_command_base.cpp | 36 AsyncCommandBase::AsyncCommandBase(std::string type, uint64_t scheduleId, std::weak_ptr<Executor> e… in AsyncCommandBase() argument 38 : scheduleId_(scheduleId), in AsyncCommandBase() 145 int32_t AsyncCommandBase::MessengerSendData(uint64_t scheduleId, uint64_t transNum, ExecutorRole sr… in MessengerSendData() argument 150 return messenger->SendData(scheduleId, transNum, srcType, dstType, msg); in MessengerSendData() 153 int32_t AsyncCommandBase::MessengerFinish(uint64_t scheduleId, ExecutorRole srcType, int32_t result… in MessengerFinish() argument 158 int32_t ret = messenger->Finish(scheduleId, srcType, resultCode, *finalResult); in MessengerFinish()
|
/base/useriam/user_auth_framework/test/fuzztest/executors/userauthexecutor_fuzzer/ |
D | user_auth_executor_fuzzer.cpp | 80 ResultCode Enroll(uint64_t scheduleId, uint32_t tokenId, const std::vector<uint8_t> &extraInfo, in Enroll() argument 83 static_cast<void>(scheduleId); in Enroll() 90 …ResultCode Authenticate(uint64_t scheduleId, uint32_t tokenId, const std::vector<uint64_t> &templa… in Authenticate() argument 93 static_cast<void>(scheduleId); in Authenticate() 101 … ResultCode Identify(uint64_t scheduleId, uint32_t tokenId, const std::vector<uint8_t> &extraInfo, in Identify() argument 104 static_cast<void>(scheduleId); in Identify() 116 ResultCode Cancel(uint64_t scheduleId) override in Cancel() argument 176 …int32_t SendData(uint64_t scheduleId, uint64_t transNum, ExecutorRole srcRole, ExecutorRole dstRol… in SendData() argument 179 static_cast<void>(scheduleId); in SendData() 187 int32_t Finish(uint64_t scheduleId, ExecutorRole srcRole, int32_t resultCode, in Finish() argument [all …]
|
/base/useriam/face_auth/test/unittest/mock/ |
D | mock_iexecutor.h | 40 MOCK_METHOD3(Enroll, int32_t(uint64_t scheduleId, const std::vector<uint8_t> &extraInfo, 42 …MOCK_METHOD4(Authenticate, int32_t(uint64_t scheduleId, const std::vector<uint64_t> &templateIdLis… 44 MOCK_METHOD3(Identify, int32_t(uint64_t scheduleId, const std::vector<uint8_t> &extraInfo, 47 MOCK_METHOD1(Cancel, int32_t(uint64_t scheduleId));
|
/base/useriam/user_auth_framework/test/unittest/executors/mock/ |
D | mock_iauth_executor_hdi.h | 38 …MOCK_METHOD4(Enroll, ResultCode(uint64_t scheduleId, uint32_t tokenId, const std::vector<uint8_t> … 41 … ResultCode(uint64_t scheduleId, uint32_t tokenId, const std::vector<uint64_t> &templateIdList, 43 …MOCK_METHOD4(Identify, ResultCode(uint64_t scheduleId, uint32_t tokenId, const std::vector<uint8_t… 46 MOCK_METHOD1(Cancel, ResultCode(uint64_t scheduleId));
|
/base/useriam/user_auth_framework/test/fuzztest/services/servicecore_fuzzer/inc/ |
D | common_dummy.h | 86 int32_t BeginExecute(uint64_t scheduleId, const std::vector<uint8_t> &publicKey, in BeginExecute() argument 90 static_cast<void>(scheduleId); in BeginExecute() 96 int32_t EndExecute(uint64_t scheduleId, const Attributes &command) in EndExecute() argument 99 static_cast<void>(scheduleId); in EndExecute()
|
/base/useriam/face_auth/test/fuzztest/faceauthexecutorhdi_fuzzer/ |
D | face_auth_executor_hdi_fuzzer.cpp | 82 …uint64_t scheduleId, const std::vector<uint8_t> &extraInfo, const sptr<FaceHdi::IExecutorCallback>… in Enroll() argument 88 int32_t Authenticate(uint64_t scheduleId, const std::vector<uint64_t> &templateIdList, in Authenticate() argument 96 …uint64_t scheduleId, const std::vector<uint8_t> &extraInfo, const sptr<FaceHdi::IExecutorCallback>… in Identify() argument 108 int32_t Cancel(uint64_t scheduleId) in Cancel() argument 249 uint64_t scheduleId = parcel.ReadUint64(); in FuzzEnroll() local 255 g_hdi.Enroll(scheduleId, tokenId, extraInfo, callbackObj); in FuzzEnroll() 262 uint64_t scheduleId = parcel.ReadUint64(); in FuzzAuthenticate() local 270 g_hdi.Authenticate(scheduleId, tokenId, templateIdList, extraInfo, callbackObj); in FuzzAuthenticate() 277 uint64_t scheduleId = parcel.ReadUint64(); in FuzzIdentify() local 283 g_hdi.Identify(scheduleId, tokenId, extraInfo, callbackObj); in FuzzIdentify() [all …]
|
/base/useriam/pin_auth/services/modules/executors/inc/ |
D | pin_auth_executor_hdi.h | 42 …UserAuth::ResultCode Enroll(uint64_t scheduleId, uint32_t tokenId, const std::vector<uint8_t> &ext… 44 UserAuth::ResultCode Authenticate(uint64_t scheduleId, uint32_t tokenId, 47 …UserAuth::ResultCode OnSetData(uint64_t scheduleId, uint64_t authSubType, const std::vector<uint8_… 48 …UserAuth::ResultCode Identify(uint64_t scheduleId, uint32_t tokenId, const std::vector<uint8_t> &e… 51 UserAuth::ResultCode Cancel(uint64_t scheduleId) override;
|
/base/useriam/user_auth_framework/test/fuzztest/services/coauthservice_fuzzer/ |
D | co_auth_service_fuzzer.cpp | 60 int32_t OnBeginExecute(uint64_t scheduleId, const std::vector<uint8_t> &publicKey, in OnBeginExecute() argument 67 int32_t OnEndExecute(uint64_t scheduleId, const Attributes &command) override in OnEndExecute() argument 142 uint64_t scheduleId = parcel.ReadUint64(); in FuzzSendData() local 150 executorMessengerService->SendData(scheduleId, transNum, srcRole, dstRole, msg); in FuzzSendData() 158 uint64_t scheduleId = parcel.ReadUint64(); in FuzzFinish() local 164 executorMessengerService->Finish(scheduleId, srcRole, resultCode, finalResult); in FuzzFinish()
|
/base/useriam/user_auth_framework/test/unittest/services/mocks/ |
D | mock_resource_node.h | 40 … int32_t(uint64_t scheduleId, const std::vector<uint8_t> &publicKey, const Attributes &command)); 41 MOCK_METHOD2(EndExecute, int32_t(uint64_t scheduleId, const Attributes &command)); 76 …[&callback](uint64_t scheduleId, const std::vector<uint8_t> &publicKey, const Attributes &command)… in CreateWithExecuteIndex() 77 return callback.OnBeginExecute(scheduleId, publicKey, command); in CreateWithExecuteIndex() 79 …ON_CALL(*node, EndExecute).WillByDefault([&callback](uint64_t scheduleId, const Attributes &comman… in CreateWithExecuteIndex() 80 return callback.OnEndExecute(scheduleId, command); in CreateWithExecuteIndex()
|
/base/useriam/user_auth_framework/test/fuzztest/services/servicecore_fuzzer/src/ |
D | resource_node_fuzzer.cpp | 40 int32_t OnBeginExecute(uint64_t scheduleId, const std::vector<uint8_t> &publicKey, in OnBeginExecute() argument 44 static_cast<void>(scheduleId); in OnBeginExecute() 50 int32_t OnEndExecute(uint64_t scheduleId, const Attributes &command) override in OnEndExecute() argument 53 static_cast<void>(scheduleId); in OnEndExecute() 196 uint64_t scheduleId = parcel.ReadUint64(); in FuzzResourceNodeBeginExecute() local 204 node->BeginExecute(scheduleId, publicKey, command); in FuzzResourceNodeBeginExecute() 212 uint64_t scheduleId = parcel.ReadUint64(); in FuzzResourceNodeEndExecute() local 218 node->EndExecute(scheduleId, command); in FuzzResourceNodeEndExecute()
|
/base/useriam/user_auth_framework/test/unittest/inner_api/mocks/ |
D | mock_executor_messenger_service.h | 29 MOCK_METHOD5(SendData, int32_t(uint64_t scheduleId, uint64_t transNum, ExecutorRole srcRole, 31 MOCK_METHOD4(Finish, int32_t(uint64_t scheduleId, ExecutorRole srcRole, ResultCode resultCode,
|
/base/useriam/user_auth_framework/test/unittest/executors/ |
D | identify_command_unit_test.cpp | 73 ….WillOnce([](uint64_t scheduleId, ExecutorRole srcRole, int32_t resultCode, const Attributes &fina… in __anona80468fe0102() argument 74 EXPECT_EQ(scheduleId, testScheduleId); in __anona80468fe0102() 103 ….WillOnce([](uint64_t scheduleId, ExecutorRole srcRole, int32_t resultCode, const Attributes &fina… in __anona80468fe0202() argument 125 ….WillOnce([](uint64_t scheduleId, ExecutorRole srcRole, int32_t resultCode, const Attributes &fina… in __anona80468fe0302() argument 126 EXPECT_EQ(scheduleId, testScheduleId); in __anona80468fe0302() 174 … .WillOnce([](uint64_t scheduleId, uint64_t transNum, ExecutorRole srcRole, ExecutorRole dstRole, 176 EXPECT_EQ(scheduleId, testScheduleId); in __anona80468fe0402() 201 … .WillOnce([](uint64_t scheduleId, uint64_t transNum, ExecutorRole srcRole, ExecutorRole dstRole, 221 … .WillOnce([](uint64_t scheduleId, uint64_t transNum, ExecutorRole srcRole, ExecutorRole dstRole, argument 226 … .WillOnce([](uint64_t scheduleId, uint64_t transNum, ExecutorRole srcRole, ExecutorRole dstRole, argument [all …]
|
D | enroll_command_unit_test.cpp | 73 ….WillOnce([](uint64_t scheduleId, ExecutorRole srcRole, int32_t resultCode, const Attributes &fina… in __anon9de1718e0102() argument 74 EXPECT_EQ(scheduleId, testScheduleId); in __anon9de1718e0102() 103 ….WillOnce([](uint64_t scheduleId, ExecutorRole srcRole, int32_t resultCode, const Attributes &fina… in __anon9de1718e0202() argument 125 ….WillOnce([](uint64_t scheduleId, ExecutorRole srcRole, int32_t resultCode, const Attributes &fina… in __anon9de1718e0302() argument 126 EXPECT_EQ(scheduleId, testScheduleId); in __anon9de1718e0302() 174 … .WillOnce([](uint64_t scheduleId, uint64_t transNum, ExecutorRole srcRole, ExecutorRole dstRole, 176 EXPECT_EQ(scheduleId, testScheduleId); in __anon9de1718e0402() 202 … .WillOnce([](uint64_t scheduleId, uint64_t transNum, ExecutorRole srcRole, ExecutorRole dstRole, 222 .WillOnce([](uint64_t scheduleId, uint64_t transNum, int32_t srcType, int32_t dstType, argument 227 .WillOnce([](uint64_t scheduleId, uint64_t transNum, int32_t srcType, int32_t dstType, argument [all …]
|