Home
last modified time | relevance | path

Searched refs:templateIdList (Results 1 – 25 of 45) sorted by relevance

12

/base/useriam/fingerprint_auth/test/unittest/mock/
Dmock_iexecutor.h33 …int32_t(const std::vector<uint64_t> &templateIdList, const std::vector<uint8_t> &frameworkPublicKe…
39 …int32_t(uint64_t scheduleId, const std::vector<uint64_t> &templateIdList, const std::vector<uint8_…
44 MOCK_METHOD1(Delete, int32_t(const std::vector<uint64_t> &templateIdList));
49 int32_t (uint64_t scheduleId, const std::vector<uint64_t>& templateIdList,
51 MOCK_METHOD3(GetProperty, int32_t(const std::vector<uint64_t>& templateIdList,
53 MOCK_METHOD1(SetCachedTemplates, int32_t(const std::vector<uint64_t>& templateIdList));
/base/useriam/fingerprint_auth/test/fuzztest/fingerprintauthexecutorhdi_fuzzer/
Dfingerprint_auth_executor_hdi_fuzzer.cpp65 int32_t OnRegisterFinish(const std::vector<uint64_t> &templateIdList, in OnRegisterFinish() argument
79 int32_t Authenticate(uint64_t scheduleId, const std::vector<uint64_t> &templateIdList, in Authenticate() argument
86 int32_t AuthenticateV1_1(uint64_t scheduleId, const std::vector<uint64_t>& templateIdList, in AuthenticateV1_1() argument
101 int32_t Delete(const std::vector<uint64_t> &templateIdList) in Delete() argument
120 …int32_t GetProperty(const std::vector<uint64_t> &templateIdList, const std::vector<GetPropertyType… in GetProperty() argument
128 int32_t SetCachedTemplates(const std::vector<uint64_t> &templateIdList) in SetCachedTemplates() argument
281 std::vector<uint64_t> templateIdList; in FuzzOnRegisterFinish() local
282 FillFuzzUint64Vector(parcel, templateIdList); in FuzzOnRegisterFinish()
287 g_hdi->OnRegisterFinish(templateIdList, frameworkPublicKey, extraInfo); in FuzzOnRegisterFinish()
309 std::vector<uint64_t> templateIdList; in FuzzAuthenticate() local
[all …]
/base/useriam/face_auth/test/fuzztest/faceauthexecutorhdi_fuzzer/
Dface_auth_executor_hdi_fuzzer.cpp70 int32_t OnRegisterFinish(const std::vector<uint64_t> &templateIdList, in OnRegisterFinish() argument
84 int32_t Authenticate(uint64_t scheduleId, const std::vector<uint64_t> &templateIdList, in Authenticate() argument
98 int32_t Delete(const std::vector<uint64_t> &templateIdList) in Delete() argument
123 …int32_t GetProperty(const std::vector<uint64_t> &templateIdList, const std::vector<GetPropertyType… in GetProperty() argument
131 int32_t SetCachedTemplates(const std::vector<uint64_t> &templateIdList) in SetCachedTemplates() argument
284 std::vector<uint64_t> templateIdList; in FuzzOnRegisterFinish() local
285 FillFuzzUint64Vector(parcel, templateIdList); in FuzzOnRegisterFinish()
290 g_hdi->OnRegisterFinish(templateIdList, frameworkPublicKey, extraInfo); in FuzzOnRegisterFinish()
312 std::vector<uint64_t> templateIdList; in FuzzAuthenticate() local
313 FillFuzzUint64Vector(parcel, templateIdList); in FuzzAuthenticate()
[all …]
/base/useriam/user_auth_framework/test/unittest/services/src/
Dresource_node_test.cpp55 std::vector<uint64_t> templateIdList {}; variable
58 auto node = ResourceNode::MakeNewResource(info, nullptr, templateIdList, fwkPublicKey);
71 std::vector<uint64_t> templateIdList {}; variable
73 auto node = ResourceNode::MakeNewResource(info, nullptr, templateIdList, fwkPublicKey);
102 std::vector<uint64_t> templateIdList {}; variable
104 auto node = ResourceNode::MakeNewResource(info, nullptr, templateIdList, fwkPublicKey);
109 EXPECT_THAT(templateIdList, ElementsAre(1, 3, 5, 7, 9));
122 std::vector<uint64_t> templateIdList; variable
125 auto node = ResourceNode::MakeNewResource(info, testCallback, templateIdList, fwkPublicKey);
148 std::vector<uint64_t> templateIdList; variable
[all …]
/base/useriam/face_auth/test/unittest/mock/
Dmock_iexecutor.h35 …int32_t(const std::vector<uint64_t> &templateIdList, const std::vector<uint8_t> &frameworkPublicKe…
41 …int32_t(uint64_t scheduleId, const std::vector<uint64_t> &templateIdList, const std::vector<uint8_…
46 MOCK_METHOD1(Delete, int32_t(const std::vector<uint64_t> &templateIdList));
51 MOCK_METHOD3(GetProperty, int32_t(const std::vector<uint64_t>& templateIdList,
53 MOCK_METHOD1(SetCachedTemplates, int32_t(const std::vector<uint64_t>& templateIdList));
/base/useriam/user_auth_framework/interfaces/inner_api/iam_executor/
Diam_executor_iauth_executor_hdi.h66 virtual ResultCode OnRegisterFinish(const std::vector<uint64_t> &templateIdList,
108 virtual ResultCode Delete(const std::vector<uint64_t> &templateIdList) = 0;
137 virtual ResultCode GetProperty(const std::vector<uint64_t> &templateIdList,
146 virtual ResultCode SetCachedTemplates(const std::vector<uint64_t> &templateIdList) = 0;
/base/useriam/user_auth_framework/test/unittest/executors/mock/
Dmock_iauth_executor_hdi.h35 OnRegisterFinish, ResultCode(const std::vector<uint64_t> &templateIdList,
44 MOCK_METHOD1(Delete, ResultCode(const std::vector<uint64_t> &templateIdList));
48 MOCK_METHOD3(GetProperty, ResultCode (const std::vector<uint64_t> &templateIdList,
50 MOCK_METHOD1(SetCachedTemplates, ResultCode(const std::vector<uint64_t> &templateIdList));
/base/useriam/pin_auth/services/modules/executors/inc/
Dpin_auth_executor_hdi.h38 UserAuth::ResultCode OnRegisterFinish(const std::vector<uint64_t> &templateIdList,
47 UserAuth::ResultCode Delete(const std::vector<uint64_t> &templateIdList) override;
51 UserAuth::ResultCode GetProperty(const std::vector<uint64_t> &templateIdList,
53 UserAuth::ResultCode SetCachedTemplates(const std::vector<uint64_t> &templateIdList) override;
/base/useriam/pin_auth/test/unittest/mocks/
Dmock_iexecutor.h33 MOCK_METHOD3(OnRegisterFinish, int32_t(const std::vector<uint64_t> &templateIdList,
50 MOCK_METHOD3(GetProperty, int32_t(const std::vector<uint64_t>& templateIdList,
52 MOCK_METHOD1(SetCachedTemplates, int32_t(const std::vector<uint64_t>& templateIdList));
/base/useriam/user_auth_framework/frameworks/native/executors/src/framework/
Dframework_executor_callback.cpp214 std::vector<uint64_t> templateIdList; in ProcessDeleteTemplateCommand() local
216 templateIdList.push_back(templateId); in ProcessDeleteTemplateCommand()
218 ResultCode ret = hdi->Delete(templateIdList); in ProcessDeleteTemplateCommand()
236 std::vector<uint64_t> templateIdList; in ProcessSetCachedTemplates() local
237 …plateIdListRet = properties.GetUint64ArrayValue(Attributes::ATTR_TEMPLATE_ID_LIST, templateIdList); in ProcessSetCachedTemplates()
240 return hdi->SetCachedTemplates(templateIdList); in ProcessSetCachedTemplates()
270 std::vector<uint64_t> templateIdList; in ProcessGetPropertyCommand() local
271 …lateIdListRet = conditions->GetUint64ArrayValue(Attributes::ATTR_TEMPLATE_ID_LIST, templateIdList); in ProcessGetPropertyCommand()
286 ResultCode getPropertyRet = hdi->GetProperty(templateIdList, keyList, property); in ProcessGetPropertyCommand()
/base/useriam/pin_auth/test/unittest/src/
Dpin_auth_executor_hdi_unit_test.cpp237 …[&pair](const std::vector<uint64_t> &templateIdList, const std::vector<uint8_t> &frameworkPublicKe…
322 uint64_t templateIdList, const std::vector<uint8_t> &extraInfo,
328 const std::vector<uint64_t> templateIdList = {1, 2}; variable
330 … UserAuth::AuthenticateParam{0, templateIdList, std::vector<uint8_t>()}, executeCallback);
374 const std::vector<uint64_t> templateIdList = {1, 2}; variable
375 auto ret = executorHdi->Delete(templateIdList);
420 std::vector<uint64_t> templateIdList; variable
423 auto ret = executorHdi.GetProperty(templateIdList, keys, property);
432 std::vector<uint64_t> templateIdList; variable
435 auto ret = executorHdi.GetProperty(templateIdList, keys, property);
[all …]
/base/useriam/user_auth_framework/services/core/src/
Dresource_node_impl.cpp56 … int32_t SyncWithDriver(std::vector<uint64_t> &templateIdList, std::vector<uint8_t> &fwkPublicKey);
177 int32_t ResourceNodeImpl::SyncWithDriver(std::vector<uint64_t> &templateIdList, std::vector<uint8_t… in SyncWithDriver() argument
194 int32_t result = hdi->AddExecutor(hdiInfo, executeIndex_, fwkPublicKey, templateIdList); in SyncWithDriver()
205 … const std::shared_ptr<ExecutorCallbackInterface> &callback, std::vector<uint64_t> &templateIdList, in MakeNewResource() argument
214 int32_t result = node->SyncWithDriver(templateIdList, fwkPublicKey); in MakeNewResource()
Dschedule_node_builder.cpp61 …ed_ptr<Builder> ScheduleNodeBuilder::SetTemplateIdList(const std::vector<uint64_t> &templateIdList) in SetTemplateIdList() argument
63 info_.templateIdList = templateIdList; in SetTemplateIdList()
/base/useriam/pin_auth/services/modules/executors/src/
Dpin_auth_executor_hdi.cpp61 IamResultCode PinAuthExecutorHdi::OnRegisterFinish(const std::vector<uint64_t> &templateIdList, in OnRegisterFinish() argument
68 … int32_t status = executorProxy_->OnRegisterFinish(templateIdList, frameworkPublicKey, extraInfo); in OnRegisterFinish()
140 if (param.templateIdList.size() == 0) { in Authenticate()
144 …int32_t status = executorProxy_->Authenticate(scheduleId, param.templateIdList[0], param.extraInfo… in Authenticate()
163 IamResultCode PinAuthExecutorHdi::Delete(const std::vector<uint64_t> &templateIdList) in Delete() argument
169 int32_t status = executorProxy_->Delete(templateIdList[0]); in Delete()
203 UserAuth::ResultCode PinAuthExecutorHdi::GetProperty(const std::vector<uint64_t> &templateIdList, in GetProperty() argument
213 int32_t status = executorProxy_->GetProperty(templateIdList, propertyTypes, hdiProperty); in GetProperty()
223 …uth::ResultCode PinAuthExecutorHdi::SetCachedTemplates(const std::vector<uint64_t> &templateIdList) in SetCachedTemplates() argument
225 static_cast<void>(templateIdList); in SetCachedTemplates()
/base/useriam/face_auth/services/inc/
Dface_auth_executor_hdi.h44 UserAuth::ResultCode OnRegisterFinish(const std::vector<uint64_t> &templateIdList,
52 UserAuth::ResultCode Delete(const std::vector<uint64_t> &templateIdList) override;
56 UserAuth::ResultCode GetProperty(const std::vector<uint64_t> &templateIdList,
58 UserAuth::ResultCode SetCachedTemplates(const std::vector<uint64_t> &templateIdList) override;
/base/useriam/fingerprint_auth/services/inc/
Dfingerprint_auth_executor_hdi.h42 UserAuth::ResultCode OnRegisterFinish(const std::vector<uint64_t> &templateIdList,
50 UserAuth::ResultCode Delete(const std::vector<uint64_t> &templateIdList) override;
54 UserAuth::ResultCode GetProperty(const std::vector<uint64_t> &templateIdList,
56 UserAuth::ResultCode SetCachedTemplates(const std::vector<uint64_t> &templateIdList) override;
/base/useriam/user_auth_framework/frameworks/native/client/src/
Dexecutor_callback_service.cpp33 const std::vector<uint8_t> &publicKey, const std::vector<uint64_t> &templateIdList) in OnMessengerReady() argument
45 callback_->OnMessengerReady(wrapper, publicKey, templateIdList); in OnMessengerReady()
/base/useriam/user_auth_framework/test/fuzztest/services/servicecore_fuzzer/src/
Dresource_node_fuzzer.cpp32 const std::vector<uint64_t> &templateIdList) override in OnMessengerReady() argument
37 static_cast<void>(templateIdList); in OnMessengerReady()
96 std::vector<uint64_t> templateIdList; in GetResourceNode() local
97 Common::FillFuzzUint64Vector(parcel, templateIdList); in GetResourceNode()
100 g_ResourceNode = ResourceNode::MakeNewResource(info, callback, templateIdList, fwkPublicKey); in GetResourceNode()
/base/useriam/user_auth_framework/frameworks/native/executors/src/async_command/
Dauth_command.cpp46 std::vector<uint64_t> templateIdList; in SendRequest() local
47 …ateIdListRet = attributes_->GetUint64ArrayValue(Attributes::ATTR_TEMPLATE_ID_LIST, templateIdList); in SendRequest()
61 …(AuthenticateParam) { tokenId, templateIdList, extraInfo, endAfterFirstFail }, shared_from_this()); in SendRequest()
/base/useriam/face_auth/test/unittest/
Dface_auth_executor_hdi_unit_test.cpp239 …[&pair](const std::vector<uint64_t> &templateIdList, const std::vector<uint8_t> &frameworkPublicKe…
271 … [](const std::vector<uint64_t> &templateIdList, const std::vector<uint8_t> &frameworkPublicKey,
329 .WillOnce([&pair](uint64_t scheduleId, const std::vector<uint64_t> &templateIdList,
404 .WillOnce([&pair](const std::vector<uint64_t> &templateIdList) { return pair.first; }); in __anon280cab760e02() argument
521 std::vector<uint64_t> templateIdList; variable
524 auto ret = executorHdi->GetProperty(templateIdList, keys, property);
534 std::vector<uint64_t> templateIdList; variable
537 auto ret = executorHdi->GetProperty(templateIdList, keys, property);
547 const std::vector<uint64_t> &templateIdList,
553 std::vector<uint64_t> templateIdList; variable
[all …]
/base/useriam/fingerprint_auth/test/unittest/
Dfingerprint_auth_executor_hdi_unit_test.cpp246 …[&pair](const std::vector<uint64_t> &templateIdList, const std::vector<uint8_t> &frameworkPublicKe…
278 … [](const std::vector<uint64_t> &templateIdList, const std::vector<uint8_t> &frameworkPublicKey,
336 .WillOnce([&pair](uint64_t scheduleId, const std::vector<uint64_t> &templateIdList,
411 .WillOnce([&pair](const std::vector<uint64_t> &templateIdList) { return pair.first; }); in __anonc25b41280f02() argument
528 std::vector<uint64_t> templateIdList; variable
531 auto ret = executorHdi->GetProperty(templateIdList, keys, property);
541 std::vector<uint64_t> templateIdList; variable
544 auto ret = executorHdi->GetProperty(templateIdList, keys, property);
554 const std::vector<uint64_t> &templateIdList,
560 std::vector<uint64_t> templateIdList; variable
[all …]
/base/useriam/user_auth_framework/test/unittest/inner_api/src/
Dexecutor_callback_proxy_test.cpp49 std::vector<uint64_t> templateIdList; variable
56 proxy->OnMessengerReady(messenger, publicKey, templateIdList);
77 std::vector<uint64_t> templateIdList; variable
78 proxy->OnMessengerReady(messenger, publicKey, templateIdList);
/base/useriam/user_auth_framework/test/fuzztest/executors/userauthexecutor_fuzzer/
Duser_auth_executor_fuzzer.cpp66 ResultCode OnRegisterFinish(const std::vector<uint64_t> &templateIdList, in OnRegisterFinish() argument
106 ResultCode Delete(const std::vector<uint64_t> &templateIdList) override in Delete() argument
134 ResultCode GetProperty(const std::vector<uint64_t> &templateIdList, in GetProperty() argument
149 ResultCode SetCachedTemplates(const std::vector<uint64_t> &templateIdList) override in SetCachedTemplates() argument
314 std::vector<uint64_t> templateIdList; in FillIAttributes() local
315 FillFuzzUint64Vector(*parcel, templateIdList); in FillIAttributes()
316 attributes.GetUint64ArrayValue(Attributes::ATTR_TEMPLATE_ID_LIST, templateIdList); in FillIAttributes()
319 attributes.GetUint64ArrayValue(Attributes::ATTR_EXTRA_INFO, templateIdList); in FillIAttributes()
/base/useriam/user_auth_framework/services/ipc/src/
Dco_auth_service.cpp85 std::vector<uint64_t> templateIdList; in ExecutorRegister() local
88 …auto resourceNode = ResourceNode::MakeNewResource(info, executorCallback, templateIdList, fwkPubli… in ExecutorRegister()
99 executorCallback->OnMessengerReady(messenger, fwkPublicKey, templateIdList); in ExecutorRegister()
/base/useriam/fingerprint_auth/services/src/
Dfingerprint_auth_executor_hdi.cpp69 …esultCode FingerprintAuthExecutorHdi::OnRegisterFinish(const std::vector<uint64_t> &templateIdList, in OnRegisterFinish() argument
73 … int32_t status = executorProxy_->OnRegisterFinish(templateIdList, frameworkPublicKey, extraInfo); in OnRegisterFinish()
111 …int32_t status = executorProxy_->AuthenticateV1_1(scheduleId, param.templateIdList, param.endAfter… in Authenticate()
137 IamResultCode FingerprintAuthExecutorHdi::Delete(const std::vector<uint64_t> &templateIdList) in Delete() argument
140 int32_t status = executorProxy_->Delete(templateIdList); in Delete()
183 …th::ResultCode FingerprintAuthExecutorHdi::GetProperty(const std::vector<uint64_t> &templateIdList, in GetProperty() argument
193 int32_t status = executorProxy_->GetProperty(templateIdList, propertyTypes, hdiProperty); in GetProperty()
203 …ultCode FingerprintAuthExecutorHdi::SetCachedTemplates(const std::vector<uint64_t> &templateIdList) in SetCachedTemplates() argument
207 int32_t status = executorProxy_->SetCachedTemplates(templateIdList); in SetCachedTemplates()

12