/ohos5.0/drivers/peripheral/user_auth/test/unittest/user_auth_test/ |
H A D | context_manager_test.cpp | 185 context.scheduleList = nullptr; 188 EXPECT_NE(context.scheduleList, nullptr); 200 context.scheduleList->insert(context.scheduleList, static_cast<void *>(&schedule)); 220 context.scheduleList->insert(context.scheduleList, nullptr); 232 context.scheduleList->insert(context.scheduleList, static_cast<void *>(&schedule)); 252 context.scheduleList = nullptr; 279 context.scheduleList = nullptr; 283 context.scheduleList->insert(context.scheduleList, nullptr); 308 context->scheduleList->insert(context->scheduleList, static_cast<void *>(schedule)); 334 context->scheduleList->insert(context->scheduleList, static_cast<void *>(schedule)); [all …]
|
/ohos5.0/base/useriam/user_auth_framework/test/unittest/services/src/ |
H A D | enrollment_impl_test.cpp | 70 std::vector<std::shared_ptr<ScheduleNode>> scheduleList; variable 71 EXPECT_FALSE(enrollment->Start(scheduleList, nullptr)); 86 std::vector<std::shared_ptr<ScheduleNode>> scheduleList; variable 87 EXPECT_FALSE(enroll->Start(scheduleList, nullptr)); 224 std::vector<std::shared_ptr<ScheduleNode>> scheduleList; variable 227 EXPECT_TRUE(enroll->Start(scheduleList, callback)); 230 EXPECT_TRUE(enroll->Start(scheduleList, callback)); 264 EXPECT_FALSE(enroll->Start(scheduleList, callback)); 267 EXPECT_FALSE(enroll->Start(scheduleList, callback)); 271 EXPECT_FALSE(enroll->Start(scheduleList, callback)); [all …]
|
H A D | identification_impl_test.cpp | 66 std::vector<std::shared_ptr<ScheduleNode>> scheduleList; variable 67 EXPECT_FALSE(identification->Start(scheduleList, nullptr)); 77 std::vector<std::shared_ptr<ScheduleNode>> scheduleList; variable 78 EXPECT_FALSE(enrollment->Start(scheduleList, nullptr)); 152 std::vector<std::shared_ptr<ScheduleNode>> scheduleList; variable 155 EXPECT_TRUE(identification->Start(scheduleList, callback)); 158 EXPECT_TRUE(identification->Start(scheduleList, callback));
|
H A D | authentication_impl_test.cpp | 77 std::vector<std::shared_ptr<ScheduleNode>> scheduleList; variable 78 EXPECT_FALSE(authentication->Start(scheduleList, nullptr)); 95 std::vector<std::shared_ptr<ScheduleNode>> scheduleList; variable 96 EXPECT_FALSE(authentication->Start(scheduleList, nullptr)); 133 std::vector<std::shared_ptr<ScheduleNode>> scheduleList; variable 134 EXPECT_FALSE(authentication->Start(scheduleList, nullptr)); 285 std::vector<std::shared_ptr<ScheduleNode>> scheduleList; variable 288 EXPECT_FALSE(authentication->Start(scheduleList, callback)); 291 EXPECT_FALSE(authentication->Start(scheduleList, callback));
|
H A D | simple_auth_context_test.cpp | 173 scheduleList.push_back(Common::MakeShared<MockScheduleNode>()); in __anon10a2daf30302() 174 scheduleList.push_back(Common::MakeShared<MockScheduleNode>()); in __anon10a2daf30302() 197 scheduleList.push_back(scheduleNode); in __anon10a2daf30402() 219 EXPECT_EQ(scheduleList.size(), 0U); in __anon10a2daf30502() 223 scheduleList.push_back(scheduleNode); in __anon10a2daf30502() 279 [](std::vector<std::shared_ptr<ScheduleNode>> &scheduleList, 281 scheduleList.push_back(nullptr); in __anon10a2daf30802() 305 [](std::vector<std::shared_ptr<ScheduleNode>> &scheduleList, 311 scheduleList.push_back(scheduleNode); in __anon10a2daf30a02() 580 EXPECT_EQ(scheduleList.size(), 0U); in __anon10a2daf31502() [all …]
|
H A D | enroll_context_test.cpp | 128 .WillOnce([](std::vector<std::shared_ptr<ScheduleNode>> &scheduleList, 148 .WillOnce([](std::vector<std::shared_ptr<ScheduleNode>> &scheduleList, argument 171 scheduleList.push_back(Common::MakeShared<MockScheduleNode>()); in __anon57dbc4040302() 172 scheduleList.push_back(Common::MakeShared<MockScheduleNode>()); in __anon57dbc4040302() 197 scheduleList.push_back(scheduleNode); in __anon57dbc4040402() 219 EXPECT_EQ(scheduleList.size(), 0U); in __anon57dbc4040502() 224 scheduleList.push_back(scheduleNode); in __anon57dbc4040502() 279 [](std::vector<std::shared_ptr<ScheduleNode>> &scheduleList, 281 scheduleList.push_back(nullptr); in __anon57dbc4040802() 305 [](std::vector<std::shared_ptr<ScheduleNode>> &scheduleList, [all …]
|
H A D | identify_context_test.cpp | 126 .WillOnce([](std::vector<std::shared_ptr<ScheduleNode>> &scheduleList, 147 .WillOnce([](std::vector<std::shared_ptr<ScheduleNode>> &scheduleList, argument 168 .WillOnce([](std::vector<std::shared_ptr<ScheduleNode>> &scheduleList, argument 171 scheduleList.push_back(Common::MakeShared<MockScheduleNode>()); in __anon978235340302() 172 scheduleList.push_back(Common::MakeShared<MockScheduleNode>()); in __anon978235340302() 191 .WillOnce([](std::vector<std::shared_ptr<ScheduleNode>> &scheduleList, argument 196 scheduleList.push_back(scheduleNode); in __anon978235340402() 216 .WillOnce([](std::vector<std::shared_ptr<ScheduleNode>> &scheduleList, 219 EXPECT_EQ(scheduleList.size(), 0U); in __anon978235340502() 223 scheduleList.push_back(scheduleNode); in __anon978235340502()
|
/ohos5.0/drivers/peripheral/user_auth/hdi_service/user_auth/src/ |
H A D | context_manager.c | 96 if (context->scheduleList == NULL) { in InitAuthContext() 214 if (context->scheduleList == NULL) { in InitIdentifyContext() 279 LinkedList *scheduleList = context->scheduleList; in InsertScheduleToContext() local 280 return scheduleList->insert(scheduleList, schedule); in InsertScheduleToContext() 476 LinkedList *scheduleList = context->scheduleList; in CopySchedules() local 477 uint32_t scheduleNum = scheduleList->getSize(scheduleList); in CopySchedules() 492 LinkedListNode *temp = scheduleList->head; in CopySchedules() 533 if (context == NULL || context->scheduleList == NULL) { in ScheduleOnceFinish() 538 return context->scheduleList->remove(context->scheduleList, &scheduleId, MatchSchedule, true); in ScheduleOnceFinish() 597 if (context->scheduleList == NULL) { in GetCoAuthScheduleFromContext() [all …]
|
/ohos5.0/base/useriam/user_auth_framework/services/core/src/ |
H A D | enrollment_impl.cpp | 90 bool EnrollmentImpl::Start(std::vector<std::shared_ptr<ScheduleNode>> &scheduleList, in Start() argument 130 return StartSchedule(enrollPara_.userId, info, scheduleList, callback); in Start() 269 …std::vector<std::shared_ptr<ScheduleNode>> &scheduleList, std::shared_ptr<ScheduleNodeCallback> ca… in StartSchedule() argument 279 if (!ScheduleNodeHelper::BuildFromHdi(infos, callback, scheduleList, para)) { in StartSchedule() 283 if (scheduleList.size() == 0 || scheduleList[0] == nullptr) { in StartSchedule() 288 scheduleId_ = scheduleList[0]->GetScheduleId(); in StartSchedule()
|
H A D | enrollment_impl.h | 40 bool Start(std::vector<std::shared_ptr<ScheduleNode>> &scheduleList, 58 …std::vector<std::shared_ptr<ScheduleNode>> &scheduleList, std::shared_ptr<ScheduleNodeCallback> ca…
|
H A D | identification_impl.cpp | 69 bool IdentificationImpl::Start(std::vector<std::shared_ptr<ScheduleNode>> &scheduleList, in Start() argument 94 if (!ScheduleNodeHelper::BuildFromHdi(infos, callback, scheduleList, para)) { in Start()
|
H A D | authentication_impl.cpp | 93 bool AuthenticationImpl::Start(std::vector<std::shared_ptr<ScheduleNode>> &scheduleList, in Start() argument 138 if (!ScheduleNodeHelper::BuildFromHdi(infos, callback, scheduleList, para)) { in Start()
|
H A D | identification_impl.h | 37 bool Start(std::vector<std::shared_ptr<ScheduleNode>> &scheduleList,
|
H A D | authentication_impl.h | 39 bool Start(std::vector<std::shared_ptr<ScheduleNode>> &scheduleList,
|
/ohos5.0/base/useriam/user_auth_framework/test/unittest/services/mocks/ |
H A D | mock_identification.h | 32 …bool(std::vector<std::shared_ptr<ScheduleNode>> &scheduleList, std::shared_ptr<ScheduleNodeCallbac…
|
H A D | mock_authentication.h | 35 …bool(std::vector<std::shared_ptr<ScheduleNode>> &scheduleList, std::shared_ptr<ScheduleNodeCallbac…
|
H A D | mock_enrollment.h | 34 …bool(std::vector<std::shared_ptr<ScheduleNode>> &scheduleList, std::shared_ptr<ScheduleNodeCallbac…
|
/ohos5.0/base/useriam/user_auth_framework/services/core/inc/ |
H A D | identification.h | 46 virtual bool Start(std::vector<std::shared_ptr<ScheduleNode>> &scheduleList,
|
H A D | enrollment.h | 51 virtual bool Start(std::vector<std::shared_ptr<ScheduleNode>> &scheduleList,
|
H A D | authentication.h | 72 virtual bool Start(std::vector<std::shared_ptr<ScheduleNode>> &scheduleList,
|
/ohos5.0/base/useriam/user_auth_framework/test/fuzztest/dummy/ |
H A D | dummy_authentication.h | 35 bool Start(std::vector<std::shared_ptr<ScheduleNode>> &scheduleList, in Start() argument
|
/ohos5.0/drivers/peripheral/user_auth/hdi_service/user_auth/inc/ |
H A D | context_manager.h | 36 LinkedList *scheduleList; member
|