Home
last modified time | relevance | path

Searched refs:scheduleId (Results 1 - 25 of 130) sorted by relevance

123456

/base/useriam/user_auth_framework/services/core/src/
H A Dpublish_event_adapter_mock.cpp33 void PublishEventAdapter::PublishCreatedEvent(int32_t userId, uint64_t scheduleId) in PublishCreatedEvent() argument
36 (void)scheduleId; in PublishCreatedEvent()
39 void PublishEventAdapter::PublishUpdatedEvent(int32_t userId, uint64_t scheduleId) in PublishUpdatedEvent() argument
42 (void)scheduleId; in PublishUpdatedEvent()
45 void PublishEventAdapter::CachePinUpdateParam(int32_t userId, uint64_t scheduleId, uint64_t credentialId) in CachePinUpdateParam() argument
48 scheduleId_ = scheduleId; in CachePinUpdateParam()
H A Dremote_executor_proxy.cpp48 int32_t OnBeginExecute(uint64_t scheduleId, const std::vector<uint8_t> &publicKey,
53 return callback->OnBeginExecute(scheduleId, publicKey, commandAttrs);
55 int32_t OnEndExecute(uint64_t scheduleId, const Attributes &commandAttrs) override
59 return callback->OnEndExecute(scheduleId, commandAttrs);
74 int32_t OnSendData(uint64_t scheduleId, const Attributes &data) override
78 return callback->OnSendData(scheduleId, data);
222 int32_t RemoteExecutorProxy::OnBeginExecute(uint64_t scheduleId, const std::vector<uint8_t> &publicKey, in OnBeginExecute() argument
226 IAM_LOGI("start, scheduleId: %{public}s", GET_MASKED_STRING(scheduleId).c_str()); in OnBeginExecute()
234 bool setScheduleIdRet = request->SetUint64Value(Attributes::ATTR_SCHEDULE_ID, scheduleId); in OnBeginExecute()
268 OnEndExecute(uint64_t scheduleId, const Attributes &command) OnEndExecute() argument
292 OnSendData(uint64_t scheduleId, const Attributes &data) OnSendData() argument
334 uint64_t scheduleId; ProcSendDataMsg() local
359 uint64_t scheduleId; ProcFinishMsg() local
376 OnErrorFinish(uint64_t scheduleId) OnErrorFinish() argument
[all...]
/base/useriam/user_auth_framework/test/unittest/executors/
H A Diauth_executor_hdi_test.cpp64 ResultCode Cancel(uint64_t scheduleId);
65 ResultCode SendMessage(uint64_t scheduleId, int32_t srcRole, const std::vector<uint8_t> &msg);
81 ResultCode IAuthExecutorHdiMock::Cancel(uint64_t scheduleId) in Cancel() argument
87 ResultCode IAuthExecutorHdiMock::SendMessage(uint64_t scheduleId, int32_t srcRole, in SendMessage() argument
106 uint64_t scheduleId = 0; in HWTEST_F() local
107 EXPECT_EQ(authExecutorHdi->Cancel(scheduleId), GENERAL_ERROR); in HWTEST_F()
113 uint64_t scheduleId = 0; in HWTEST_F() local
116 EXPECT_EQ(authExecutorHdi->SendMessage(scheduleId, srcRole, msg), GENERAL_ERROR); in HWTEST_F()
129 uint64_t scheduleId = 0; in HWTEST_F() local
132 EXPECT_EQ(authExecutorHdi->Enroll(scheduleId, para in HWTEST_F()
138 uint64_t scheduleId = 0; HWTEST_F() local
147 uint64_t scheduleId = 0; HWTEST_F() local
156 uint64_t scheduleId = 0; HWTEST_F() local
197 uint64_t scheduleId = 0; HWTEST_F() local
[all...]
/base/useriam/user_auth_framework/test/unittest/executors/mock/
H A Dmock_iauth_executor_hdi.h37 MOCK_METHOD1(Cancel, ResultCode(uint64_t scheduleId));
38 MOCK_METHOD3(SendMessage, ResultCode(uint64_t scheduleId, int32_t srcRole, const std::vector<uint8_t> &msg));
39 MOCK_METHOD3(Enroll, ResultCode(uint64_t scheduleId, const EnrollParam &param,
42 ResultCode(uint64_t scheduleId, const AuthenticateParam &param,
45 ResultCode(uint64_t scheduleId, const CollectParam &param,
47 MOCK_METHOD3(Identify, ResultCode(uint64_t scheduleId, const IdentifyParam &param,
55 MOCK_METHOD1(NotifyCollectorReady, ResultCode(uint64_t scheduleId));
/base/useriam/user_auth_framework/interfaces/inner_api/iam_executor/
H A Diam_executor_iauth_executor_hdi.h72 * @param scheduleId Current working schedule ID.
75 virtual ResultCode Cancel(uint64_t scheduleId) = 0;
80 * @param scheduleId Current working schedule ID.
85 virtual ResultCode SendMessage(uint64_t scheduleId, int32_t srcRole, const std::vector<uint8_t> &msg) = 0;
90 * @param scheduleId Current enroll schedule ID.
95 virtual ResultCode Enroll(uint64_t scheduleId, const EnrollParam &param,
101 * @param scheduleId Current authenticate schedule ID.
106 virtual ResultCode Authenticate(uint64_t scheduleId, const AuthenticateParam &param,
112 * @param scheduleId Current collect schedule ID.
117 virtual ResultCode Collect(uint64_t scheduleId, cons
[all...]
/base/useriam/user_auth_framework/test/fuzztest/clients/coauthclient_fuzzer/
H A Dco_auth_client_fuzzer.cpp44 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()
77 int32_t OnSendData(uint64_t scheduleId, const Attributes &data) in OnSendData() argument
80 static_cast<void>(scheduleId); in OnSendData()
88 int32_t SendData(uint64_t scheduleId, ExecutorRole dstRole,
92 static_cast<void>(scheduleId); variable
98 int32_t Finish(uint64_t scheduleId, ResultCode resultCode, const std::shared_ptr<Attributes> &finalResult) override
101 static_cast<void>(scheduleId); variable
166 uint64_t scheduleId = parcel.ReadUint64(); FuzzExecutorCallbackServiceOnBeginExecute() local
181 uint64_t scheduleId = parcel.ReadUint64(); FuzzExecutorCallbackServiceOnEndExecute() local
219 uint64_t scheduleId = parcel.ReadUint64(); FuzzExecutorCallbackServiceOnSendData() local
230 uint64_t scheduleId = parcel.ReadUint64(); FuzzExecutorMessengerClientSendData() local
244 uint64_t scheduleId = parcel.ReadUint64(); FuzzExecutorMessengerClientFinish() local
[all...]
/base/useriam/user_auth_framework/frameworks/native/executors/include/framework/
H A Dframework_executor_callback.h42 int32_t OnBeginExecute(uint64_t scheduleId, const std::vector<uint8_t> &publicKey,
44 int32_t OnEndExecute(uint64_t scheduleId, const Attributes &commandAttrs) override;
48 int32_t OnSendData(uint64_t scheduleId, const Attributes &data) override;
52 ResultCode OnBeginExecuteInner(uint64_t scheduleId, std::vector<uint8_t> &publicKey,
54 ResultCode OnEndExecuteInner(uint64_t scheduleId, const Attributes &consumerAttr);
58 ResultCode ProcessEnrollCommand(uint64_t scheduleId, const Attributes &properties);
59 ResultCode ProcessAuthCommand(uint64_t scheduleId, const Attributes &properties);
60 ResultCode ProcessIdentifyCommand(uint64_t scheduleId, const Attributes &properties);
61 ResultCode ProcessCancelCommand(uint64_t scheduleId);
/base/useriam/pin_auth/services/modules/executors/src/
H A Dpin_auth_verifier_hdi.cpp70 UserAuth::ResultCode PinAuthVerifierHdi::Cancel(uint64_t scheduleId) in Cancel() argument
77 int32_t status = verifierProxy_->Cancel(scheduleId); in Cancel()
87 uint64_t scheduleId, int32_t srcRole, const std::vector<uint8_t> &msg) in SendMessage()
94 int32_t status = verifierProxy_->SendMessage(scheduleId, srcRole, msg); in SendMessage()
103 UserAuth::ResultCode PinAuthVerifierHdi::Authenticate(uint64_t scheduleId, const UserAuth::AuthenticateParam &param, in Authenticate() argument
118 .scheduleId = scheduleId, in Authenticate()
127 int32_t status = verifierProxy_->Authenticate(scheduleId, param.templateIdList, param.extraInfo, callback); in Authenticate()
136 UserAuth::ResultCode PinAuthVerifierHdi::NotifyCollectorReady(uint64_t scheduleId) in NotifyCollectorReady() argument
143 int32_t status = verifierProxy_->NotifyCollectorReady(scheduleId); in NotifyCollectorReady()
86 SendMessage( uint64_t scheduleId, int32_t srcRole, const std::vector<uint8_t> &msg) SendMessage() argument
[all...]
H A Dpin_auth_collector_hdi.cpp70 UserAuth::ResultCode PinAuthCollectorHdi::Cancel(uint64_t scheduleId) in Cancel() argument
77 int32_t status = collectorProxy_->Cancel(scheduleId); in Cancel()
87 uint64_t scheduleId, int32_t srcRole, const std::vector<uint8_t> &msg) in SendMessage()
94 int32_t status = collectorProxy_->SendMessage(scheduleId, srcRole, msg); in SendMessage()
103 UserAuth::ResultCode PinAuthCollectorHdi::Collect(uint64_t scheduleId, const UserAuth::CollectParam &param, in Collect() argument
117 .scheduleId = scheduleId, in Collect()
125 int32_t status = collectorProxy_->Collect(scheduleId, param.extraInfo, callback); in Collect()
134 UserAuth::ResultCode PinAuthCollectorHdi::OnSetData(uint64_t scheduleId, uint64_t authSubType, in OnSetData() argument
141 int32_t status = collectorProxy_->SetData(scheduleId, authSubTyp in OnSetData()
86 SendMessage( uint64_t scheduleId, int32_t srcRole, const std::vector<uint8_t> &msg) SendMessage() argument
[all...]
/base/useriam/user_auth_framework/frameworks/native/client/src/
H A Dexecutor_callback_service.cpp48 int32_t ExecutorCallbackService::OnBeginExecute(uint64_t scheduleId, const std::vector<uint8_t> &publicKey, in OnBeginExecute() argument
56 return callback_->OnBeginExecute(scheduleId, publicKey, command); in OnBeginExecute()
59 int32_t ExecutorCallbackService::OnEndExecute(uint64_t scheduleId, const Attributes &command) in OnEndExecute() argument
66 return callback_->OnEndExecute(scheduleId, command); in OnEndExecute()
89 int32_t ExecutorCallbackService::OnSendData(uint64_t scheduleId, const Attributes &data) in OnSendData() argument
96 return callback_->OnSendData(scheduleId, data); in OnSendData()
H A Dexecutor_messenger_client.cpp32 int32_t ExecutorMessengerClient::SendData(uint64_t scheduleId, ExecutorRole dstRole, in SendData() argument
47 return messenger_->SendData(scheduleId, dstRole, buffer); in SendData()
50 int32_t ExecutorMessengerClient::Finish(uint64_t scheduleId, int32_t resultCode, in Finish() argument
63 return messenger_->Finish(scheduleId, static_cast<ResultCode>(resultCode), attr); in Finish()
/base/useriam/user_auth_framework/test/fuzztest/clients/executorcallbackstub_fuzzer/
H A Dexecutor_callback_stub_fuzzer.cpp48 int32_t OnBeginExecute(uint64_t scheduleId, const std::vector<uint8_t> &publicKey, in OnBeginExecute() argument
52 static_cast<void>(scheduleId); in OnBeginExecute()
58 int32_t OnEndExecute(uint64_t scheduleId, const Attributes &commandAttrs) in OnEndExecute() argument
61 static_cast<void>(scheduleId); in OnEndExecute()
81 int32_t OnSendData(uint64_t scheduleId, const Attributes &data) in OnSendData() argument
84 static_cast<void>(scheduleId); in OnSendData()
/base/useriam/user_auth_framework/frameworks/native/ipc/src/
H A Dexecutor_messenger_stub.cpp54 uint64_t scheduleId; in SendDataStub() local
58 if (!data.ReadUint64(scheduleId)) { in SendDataStub()
59 IAM_LOGE("read scheduleId failed"); in SendDataStub()
71 int32_t result = SendData(scheduleId, static_cast<ExecutorRole>(dstRole), msg); in SendDataStub()
81 uint64_t scheduleId; in FinishStub() local
85 if (!data.ReadUint64(scheduleId)) { in FinishStub()
86 IAM_LOGE("read scheduleId failed"); in FinishStub()
100 Finish(scheduleId, static_cast<ResultCode>(resultCode), finalResult); in FinishStub()
H A Dexecutor_callback_stub.cpp85 uint64_t scheduleId; in OnBeginExecuteStub() local
89 if (!data.ReadUint64(scheduleId)) { in OnBeginExecuteStub()
90 IAM_LOGE("failed to read scheduleId"); in OnBeginExecuteStub()
103 int32_t result = OnBeginExecute(scheduleId, publicKey, commandAttrs); in OnBeginExecuteStub()
113 uint64_t scheduleId; in OnEndExecuteStub() local
116 if (!data.ReadUint64(scheduleId)) { in OnEndExecuteStub()
117 IAM_LOGE("failed to read scheduleId"); in OnEndExecuteStub()
126 int32_t result = OnEndExecute(scheduleId, consumerAttr); in OnEndExecuteStub()
177 uint64_t scheduleId; in OnSendDataStub() local
180 if (!data.ReadUint64(scheduleId)) { in OnSendDataStub()
[all...]
/base/useriam/user_auth_framework/test/fuzztest/services/servicecore_fuzzer/inc/
H A Dcommon_dummy.h92 int32_t BeginExecute(uint64_t scheduleId, const std::vector<uint8_t> &publicKey, in BeginExecute() argument
96 static_cast<void>(scheduleId); in BeginExecute()
102 int32_t EndExecute(uint64_t scheduleId, const Attributes &command) in EndExecute() argument
105 static_cast<void>(scheduleId); in EndExecute()
125 int32_t SendData(uint64_t scheduleId, const Attributes &data) in SendData() argument
128 static_cast<void>(scheduleId); in SendData()
/base/useriam/user_auth_framework/frameworks/native/executors/src/framework/
H A Dframework_executor_callback.cpp48 int32_t FrameworkExecutorCallback::OnBeginExecute(uint64_t scheduleId, const std::vector<uint8_t> &publicKey, in OnBeginExecute() argument
53 return OnBeginExecuteInner(scheduleId, pk, commandAttrs); in OnBeginExecute()
56 ResultCode FrameworkExecutorCallback::OnBeginExecuteInner(uint64_t scheduleId, std::vector<uint8_t> &publicKey, in OnBeginExecuteInner() argument
69 ret = ProcessEnrollCommand(scheduleId, commandAttrs); in OnBeginExecuteInner()
72 ret = ProcessAuthCommand(scheduleId, commandAttrs); in OnBeginExecuteInner()
75 ret = ProcessIdentifyCommand(scheduleId, commandAttrs); in OnBeginExecuteInner()
85 int32_t FrameworkExecutorCallback::OnEndExecute(uint64_t scheduleId, const Attributes &commandAttrs) in OnEndExecute() argument
87 return OnEndExecuteInner(scheduleId, commandAttrs); in OnEndExecute()
90 ResultCode FrameworkExecutorCallback::OnEndExecuteInner(uint64_t scheduleId, const Attributes &consumerAttr) in OnEndExecuteInner() argument
92 ResultCode ret = ProcessCancelCommand(scheduleId); in OnEndExecuteInner()
152 OnSendData(uint64_t scheduleId, const Attributes &data) OnSendData() argument
191 ProcessEnrollCommand(uint64_t scheduleId, const Attributes &properties) ProcessEnrollCommand() argument
199 ProcessAuthCommand(uint64_t scheduleId, const Attributes &properties) ProcessAuthCommand() argument
218 ProcessIdentifyCommand(uint64_t scheduleId, const Attributes &properties) ProcessIdentifyCommand() argument
226 ProcessCancelCommand(uint64_t scheduleId) ProcessCancelCommand() argument
298 uint64_t scheduleId; ProcessNotifyExecutorReady() local
[all...]
/base/useriam/pin_auth/services/modules/inputters/src/
H A Di_inputer_data_impl.cpp28 IInputerDataImpl::IInputerDataImpl(uint64_t scheduleId, std::shared_ptr<PinAuthAllInOneHdi> hdi) in IInputerDataImpl() argument
29 : scheduleId_(scheduleId), allInOneHdi_(hdi), collectorHdi_(nullptr) {} in IInputerDataImpl()
31 IInputerDataImpl::IInputerDataImpl(uint64_t scheduleId, std::shared_ptr<PinAuthCollectorHdi> hdi) in IInputerDataImpl() argument
32 : scheduleId_(scheduleId), allInOneHdi_(nullptr), collectorHdi_(hdi) {} in IInputerDataImpl()
/base/useriam/user_auth_framework/services/ipc/src/
H A Dexecutor_messenger_service.cpp42 int32_t ExecutorMessengerService::SendData(uint64_t scheduleId, ExecutorRole dstRole, const std::vector<uint8_t> &msg) in SendData() argument
44 auto scheduleNode = ContextPool::Instance().SelectScheduleNodeByScheduleId(scheduleId); in SendData()
57 int32_t ExecutorMessengerService::Finish(uint64_t scheduleId, ResultCode resultCode, in Finish() argument
60 auto scheduleNode = ContextPool::Instance().SelectScheduleNodeByScheduleId(scheduleId); in Finish()
/base/useriam/pin_auth/test/unittest/mocks/
H A Dmock_iverifier_executor.h34 MOCK_METHOD1(Cancel, int32_t(uint64_t scheduleId));
35 MOCK_METHOD3(SendMessage, int32_t(uint64_t scheduleId, int32_t srcRole, const std::vector<uint8_t>& msg));
36 MOCK_METHOD4(Authenticate, int32_t(uint64_t scheduleId, const std::vector<uint64_t>& templateIdList,
38 MOCK_METHOD1(NotifyCollectorReady, int32_t(uint64_t scheduleId));
H A Dmock_icollector_executor.h34 MOCK_METHOD1(Cancel, int32_t(uint64_t scheduleId));
35 MOCK_METHOD3(SendMessage, int32_t(uint64_t scheduleId, int32_t srcRole, const std::vector<uint8_t>& msg));
36 MOCK_METHOD3(Collect, int32_t(uint64_t scheduleId, const std::vector<uint8_t> &extraInfo,
38 MOCK_METHOD4(SetData, int32_t(uint64_t scheduleId, uint64_t authSubType, const std::vector<uint8_t>& data,
H A Dmock_iall_in_one_executor.h34 MOCK_METHOD1(Cancel, int32_t(uint64_t scheduleId));
35 MOCK_METHOD3(SendMessage, int32_t(uint64_t scheduleId, int32_t srcRole, const std::vector<uint8_t>& msg));
36 MOCK_METHOD4(SetData, int32_t(uint64_t scheduleId, uint64_t authSubType, const std::vector<uint8_t>& data,
38 MOCK_METHOD3(Enroll, int32_t(uint64_t scheduleId, const std::vector<uint8_t> &extraInfo,
40 MOCK_METHOD4(Authenticate, int32_t(uint64_t scheduleId, const std::vector<uint64_t>& templateIdList,
/base/useriam/fingerprint_auth/test/unittest/mock/
H A Dmock_iall_in_one_executor.h35 int32_t(uint64_t scheduleId, const std::vector<uint8_t> &extraInfo,
38 int32_t(uint64_t scheduleId, const std::vector<uint8_t> &extraInfo,
41 MOCK_METHOD1(Cancel, int32_t(uint64_t scheduleId));
45 int32_t(uint64_t scheduleId, const std::vector<uint64_t> &templateIdList, bool endAfterFirstFail,
52 MOCK_METHOD3(SendMessage, int32_t(uint64_t scheduleId, int32_t srcRole, const std::vector<uint8_t> &msg));
/base/useriam/user_auth_framework/frameworks/native/executors/src/
H A Diauth_executor_hdi.cpp25 ResultCode IAuthExecutorHdi::Enroll(uint64_t scheduleId, const EnrollParam &param, in Enroll() argument
32 ResultCode IAuthExecutorHdi::Authenticate(uint64_t scheduleId, const AuthenticateParam &param, in Authenticate() argument
39 ResultCode IAuthExecutorHdi::Collect(uint64_t scheduleId, const CollectParam &param, in Collect() argument
46 ResultCode IAuthExecutorHdi::Identify(uint64_t scheduleId, const IdentifyParam &param, in Identify() argument
79 ResultCode IAuthExecutorHdi::NotifyCollectorReady(uint64_t scheduleId) in NotifyCollectorReady() argument
/base/useriam/face_auth/test/unittest/mock/
H A Dmock_iall_in_one_executor.h35 int32_t(uint64_t scheduleId, const std::vector<uint8_t> &extraInfo,
38 int32_t(uint64_t scheduleId, const std::vector<uint64_t> &templateIdList, const std::vector<uint8_t> &extraInfo,
41 int32_t(uint64_t scheduleId, const std::vector<uint8_t> &extraInfo,
44 MOCK_METHOD1(Cancel, int32_t(uint64_t scheduleId));
52 MOCK_METHOD3(SendMessage, int32_t(uint64_t scheduleId, int32_t srcRole, const std::vector<uint8_t> &msg));
/base/useriam/pin_auth/test/fuzztest/mocks/inc/
H A Dmock_iall_in_one_executor_fuzzer.h41 int32_t Cancel(uint64_t scheduleId) override
46 int32_t SendMessage(uint64_t scheduleId, int32_t srcRole, const std::vector<uint8_t>& msg) override
51 int32_t SetData(uint64_t scheduleId, uint64_t authSubType, const std::vector<uint8_t>& data,
57 int32_t Enroll(uint64_t scheduleId, const std::vector<uint8_t>& extraInfo,
63 int32_t Authenticate(uint64_t scheduleId, const std::vector<uint64_t>& templateIdList,

Completed in 8 milliseconds

123456