Home
last modified time | relevance | path

Searched refs:scheduleList (Results 1 – 22 of 22) sorted by relevance

/ohos5.0/drivers/peripheral/user_auth/test/unittest/user_auth_test/
H A Dcontext_manager_test.cpp185 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 Denrollment_impl_test.cpp70 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 Didentification_impl_test.cpp66 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 Dauthentication_impl_test.cpp77 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 Dsimple_auth_context_test.cpp173 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 Denroll_context_test.cpp128 .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 Didentify_context_test.cpp126 .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 Dcontext_manager.c96 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 Denrollment_impl.cpp90 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 Denrollment_impl.h40 bool Start(std::vector<std::shared_ptr<ScheduleNode>> &scheduleList,
58 …std::vector<std::shared_ptr<ScheduleNode>> &scheduleList, std::shared_ptr<ScheduleNodeCallback> ca…
H A Didentification_impl.cpp69 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 Dauthentication_impl.cpp93 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 Didentification_impl.h37 bool Start(std::vector<std::shared_ptr<ScheduleNode>> &scheduleList,
H A Dauthentication_impl.h39 bool Start(std::vector<std::shared_ptr<ScheduleNode>> &scheduleList,
/ohos5.0/base/useriam/user_auth_framework/test/unittest/services/mocks/
H A Dmock_identification.h32 …bool(std::vector<std::shared_ptr<ScheduleNode>> &scheduleList, std::shared_ptr<ScheduleNodeCallbac…
H A Dmock_authentication.h35 …bool(std::vector<std::shared_ptr<ScheduleNode>> &scheduleList, std::shared_ptr<ScheduleNodeCallbac…
H A Dmock_enrollment.h34 …bool(std::vector<std::shared_ptr<ScheduleNode>> &scheduleList, std::shared_ptr<ScheduleNodeCallbac…
/ohos5.0/base/useriam/user_auth_framework/services/core/inc/
H A Didentification.h46 virtual bool Start(std::vector<std::shared_ptr<ScheduleNode>> &scheduleList,
H A Denrollment.h51 virtual bool Start(std::vector<std::shared_ptr<ScheduleNode>> &scheduleList,
H A Dauthentication.h72 virtual bool Start(std::vector<std::shared_ptr<ScheduleNode>> &scheduleList,
/ohos5.0/base/useriam/user_auth_framework/test/fuzztest/dummy/
H A Ddummy_authentication.h35 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 Dcontext_manager.h36 LinkedList *scheduleList; member