/base/useriam/fingerprint_auth/test/unittest/mock/ |
D | mock_iexecutor.h | 33 …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/ |
D | fingerprint_auth_executor_hdi_fuzzer.cpp | 65 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/ |
D | face_auth_executor_hdi_fuzzer.cpp | 70 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/ |
D | resource_node_test.cpp | 55 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/ |
D | mock_iexecutor.h | 35 …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/ |
D | iam_executor_iauth_executor_hdi.h | 66 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/ |
D | mock_iauth_executor_hdi.h | 35 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/ |
D | pin_auth_executor_hdi.h | 38 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/ |
D | mock_iexecutor.h | 33 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/ |
D | framework_executor_callback.cpp | 214 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/ |
D | pin_auth_executor_hdi_unit_test.cpp | 237 …[&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/ |
D | resource_node_impl.cpp | 56 … 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()
|
D | schedule_node_builder.cpp | 61 …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/ |
D | pin_auth_executor_hdi.cpp | 61 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/ |
D | face_auth_executor_hdi.h | 44 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/ |
D | fingerprint_auth_executor_hdi.h | 42 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/ |
D | executor_callback_service.cpp | 33 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/ |
D | resource_node_fuzzer.cpp | 32 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/ |
D | auth_command.cpp | 46 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/ |
D | face_auth_executor_hdi_unit_test.cpp | 239 …[&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/ |
D | fingerprint_auth_executor_hdi_unit_test.cpp | 246 …[&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/ |
D | executor_callback_proxy_test.cpp | 49 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/ |
D | user_auth_executor_fuzzer.cpp | 66 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/ |
D | co_auth_service.cpp | 85 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/ |
D | fingerprint_auth_executor_hdi.cpp | 69 …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()
|