Home
last modified time | relevance | path

Searched refs:machine (Results 1 - 25 of 40) sorted by relevance

12

/base/useriam/face_auth/test/unittest/
H A Dstate_machine_test.cpp116 auto machine = machineBuilder->Build(); in HWTEST_F() local
117 EXPECT_EQ(machine, nullptr); in HWTEST_F()
127 auto machine = machineBuilder->Build(); in HWTEST_F() local
128 ASSERT_NE(machine, nullptr); in HWTEST_F()
129 EXPECT_EQ(machine->GetCurrentState(), STATE_COLLECT_STOPPING); in HWTEST_F()
139 auto machine = machineBuilder->Build(); in HWTEST_F() local
140 ASSERT_NE(machine, nullptr); in HWTEST_F()
141 EXPECT_EQ(machine->GetMachineName(), "testMachine4"); in HWTEST_F()
153 auto machine = machineBuilder->Build(); in HWTEST_F() local
154 ASSERT_NE(machine, nullpt in HWTEST_F()
187 auto machine = machineBuilder->Build(); HWTEST_F() local
229 auto machine = machineBuilder->Build(); HWTEST_F() local
253 auto machine = machineBuilder->Build(); HWTEST_F() local
271 auto machine = machineBuilder->Build(); HWTEST_F() local
291 auto machine = machineBuilder->Build(); HWTEST_F() local
314 auto machine = machineBuilder->Build(); HWTEST_F() local
342 auto machine = machineBuilder->Build(); HWTEST_F() local
355 GetTestMachine(std::shared_ptr<FiniteStateMachine> &machine, MockFunction<void(FiniteStateMachine &machine, uint32_t event)> &action, MockFunction<void(FiniteStateMachine &machine, uint32_t event)> &enter, MockFunction<void(FiniteStateMachine &machine, uint32_t event)> &leave) GetTestMachine() argument
426 std::shared_ptr<FiniteStateMachine> machine; HWTEST_F() local
[all...]
/base/useriam/user_auth_framework/test/unittest/services/src/
H A Dstate_machine_test.cpp110 auto machine = machineBuilder->Build(); in HWTEST_F() local
111 EXPECT_EQ(machine, nullptr); in HWTEST_F()
121 auto machine = machineBuilder->Build(); in HWTEST_F() local
122 ASSERT_NE(machine, nullptr); in HWTEST_F()
123 EXPECT_EQ(machine->GetCurrentState(), STATE_COLLECT_STOPPING); in HWTEST_F()
133 auto machine = machineBuilder->Build(); in HWTEST_F() local
134 ASSERT_NE(machine, nullptr); in HWTEST_F()
135 EXPECT_EQ(machine->GetMachineName(), "testMachine4"); in HWTEST_F()
147 auto machine = machineBuilder->Build(); in HWTEST_F() local
148 ASSERT_NE(machine, nullpt in HWTEST_F()
181 auto machine = machineBuilder->Build(); HWTEST_F() local
223 auto machine = machineBuilder->Build(); HWTEST_F() local
247 auto machine = machineBuilder->Build(); HWTEST_F() local
265 auto machine = machineBuilder->Build(); HWTEST_F() local
286 auto machine = machineBuilder->Build(); HWTEST_F() local
309 auto machine = machineBuilder->Build(); HWTEST_F() local
337 auto machine = machineBuilder->Build(); HWTEST_F() local
350 MakeTestMachine(std::shared_ptr<FiniteStateMachine::Builder> &machineBuilder, MockFunction<void(FiniteStateMachine & machine, uint32_t event)> &action, MockFunction<void(FiniteStateMachine & machine, uint32_t event)> &enter, MockFunction<void(FiniteStateMachine & machine, uint32_t event)> &leave) MakeTestMachine() argument
421 auto machine = machineBuilder->Build(); HWTEST_F() local
[all...]
/base/telephony/cellular_data/test/fuzztest/updateincalldatamachine_fuzzer/
H A Dupdateincalldatamachine_fuzzer.cpp38 std::shared_ptr<IncallDataStateMachine> machine = fuzzer->CreateIncallDataStateMachine(slotId); in IdleStateMachineFuzz() local
39 if (machine == nullptr) { in IdleStateMachineFuzz()
43 machine->Init(intValue); in IdleStateMachineFuzz()
44 if (machine->idleState_ == nullptr) { in IdleStateMachineFuzz()
47 auto idleState = static_cast<IdleState *>(machine->idleState_.GetRefPtr()); in IdleStateMachineFuzz()
48 machine->GetCurrentState(); in IdleStateMachineFuzz()
49 machine->CanActiveDataByRadioTech(); in IdleStateMachineFuzz()
50 machine->IsSecondaryCanActiveData(); in IdleStateMachineFuzz()
51 machine->IsIncallDataSwitchOn(); in IdleStateMachineFuzz()
52 machine in IdleStateMachineFuzz()
75 std::shared_ptr<IncallDataStateMachine> machine = fuzzer->CreateIncallDataStateMachine(slotId); ActivatingSecondaryStateMachineFuzz() local
116 std::shared_ptr<IncallDataStateMachine> machine = fuzzer->CreateIncallDataStateMachine(slotId); ActivatedSecondaryStateMachineFuzz() local
158 std::shared_ptr<IncallDataStateMachine> machine = fuzzer->CreateIncallDataStateMachine(slotId); DeactivatingSecondaryStateMachineFuzz() local
[all...]
/base/security/device_security_level/baselib/utils/src/
H A Dutils_state_machine.c28 void InitStateMachine(StateMachine *machine, uint32_t machineId, uint32_t initState) in InitStateMachine() argument
30 if (machine == NULL) { in InitStateMachine()
33 machine->machineId = machineId; in InitStateMachine()
34 machine->isScheduling = false; in InitStateMachine()
35 machine->currState = initState; in InitStateMachine()
36 InitListHead(&machine->pendingEventList); in InitStateMachine()
37 InitRecursiveMutex(&machine->mutex); in InitStateMachine()
51 static inline void PushPendingEvent(StateMachine *machine, uint32_t event, const void *para) in PushPendingEvent() argument
59 AddListNodeBefore(&pending->link, &machine->pendingEventList); in PushPendingEvent()
62 static inline bool PopPendingEvent(StateMachine *machine, uint32_ argument
76 ScheduleMachine(const StateNode *nodes, uint32_t nodeCnt, StateMachine *machine, uint32_t event, const void *para) ScheduleMachine() argument
[all...]
/base/useriam/user_auth_framework/services/core/src/
H A Dwidget_schedule_node_impl.cpp52 [this](FiniteStateMachine &machine, uint32_t event) { OnStartSchedule(machine, event); }); in MakeFiniteStateMachine()
54 [this](FiniteStateMachine &machine, uint32_t event) { OnStartAuth(machine, event); }); in MakeFiniteStateMachine()
56 [this](FiniteStateMachine &machine, uint32_t event) { OnStopSchedule(machine, event); }); in MakeFiniteStateMachine()
58 [this](FiniteStateMachine &machine, uint32_t event) { OnNaviPinAuth(machine, event); }); in MakeFiniteStateMachine()
60 [this](FiniteStateMachine &machine, uint32_t event) { OnSuccessAuth(machine, even in MakeFiniteStateMachine()
169 OnStartSchedule(FiniteStateMachine &machine, uint32_t event) OnStartSchedule() argument
179 OnStopSchedule(FiniteStateMachine &machine, uint32_t event) OnStopSchedule() argument
187 OnStartAuth(FiniteStateMachine &machine, uint32_t event) OnStartAuth() argument
200 OnStopAuthList(FiniteStateMachine &machine, uint32_t event) OnStopAuthList() argument
210 OnSuccessAuth(FiniteStateMachine &machine, uint32_t event) OnSuccessAuth() argument
218 OnNaviPinAuth(FiniteStateMachine &machine, uint32_t event) OnNaviPinAuth() argument
225 OnWidgetParaInvalid(FiniteStateMachine &machine, uint32_t event) OnWidgetParaInvalid() argument
232 OnWidgetReloadInit(FiniteStateMachine &machine, uint32_t event) OnWidgetReloadInit() argument
240 OnWidgetReload(FiniteStateMachine &machine, uint32_t event) OnWidgetReload() argument
[all...]
H A Dschedule_node_impl.cpp234 [this](FiniteStateMachine &machine, uint32_t event) { ProcessBeginVerifier(machine, event); }); in MakeFiniteStateMachine()
238 [this](FiniteStateMachine &machine, uint32_t event) { ProcessBeginCollector(machine, event); }); in MakeFiniteStateMachine()
240 [this](FiniteStateMachine &machine, uint32_t event) { ProcessVerifierBeginFailed(machine, event); }); in MakeFiniteStateMachine()
243 [this](FiniteStateMachine &machine, uint32_t event) { ProcessEndVerifier(machine, event); }); in MakeFiniteStateMachine()
245 [this](FiniteStateMachine &machine, uint32_t event) { ProcessEndVerifier(machine, even in MakeFiniteStateMachine()
345 ProcessBeginVerifier(FiniteStateMachine &machine, uint32_t event) ProcessBeginVerifier() argument
369 ProcessBeginCollector(FiniteStateMachine &machine, uint32_t event) ProcessBeginCollector() argument
419 ProcessVerifierBeginFailed(FiniteStateMachine &machine, uint32_t event) ProcessVerifierBeginFailed() argument
424 ProcessCollectorBeginFailed(FiniteStateMachine &machine, uint32_t event) ProcessCollectorBeginFailed() argument
429 ProcessScheduleResultReceived(FiniteStateMachine &machine, uint32_t event) const ProcessScheduleResultReceived() argument
434 ProcessEndCollector(FiniteStateMachine &machine, uint32_t event) ProcessEndCollector() argument
459 ProcessEndVerifier(FiniteStateMachine &machine, uint32_t event) ProcessEndVerifier() argument
478 OnScheduleProcessing(FiniteStateMachine &machine, uint32_t event) OnScheduleProcessing() argument
487 OnScheduleFinished(FiniteStateMachine &machine, uint32_t event) OnScheduleFinished() argument
[all...]
H A Dwidget_schedule_node_impl.h53 void OnStartSchedule(FiniteStateMachine &machine, uint32_t event);
54 void OnStopSchedule(FiniteStateMachine &machine, uint32_t event);
55 void OnStartAuth(FiniteStateMachine &machine, uint32_t event);
56 void OnStopAuthList(FiniteStateMachine &machine, uint32_t event);
57 void OnSuccessAuth(FiniteStateMachine &machine, uint32_t event);
58 void OnNaviPinAuth(FiniteStateMachine &machine, uint32_t event);
59 void OnWidgetParaInvalid(FiniteStateMachine &machine, uint32_t event);
60 void OnWidgetReload(FiniteStateMachine &machine, uint32_t event);
61 void OnWidgetReloadInit(FiniteStateMachine &machine, uint32_t event);
H A Dschedule_node_impl.h90 void ProcessBeginVerifier(FiniteStateMachine &machine, uint32_t event);
91 void ProcessBeginCollector(FiniteStateMachine &machine, uint32_t event);
93 void ProcessVerifierBeginFailed(FiniteStateMachine &machine, uint32_t event);
94 void ProcessCollectorBeginFailed(FiniteStateMachine &machine, uint32_t event);
96 void ProcessScheduleResultReceived(FiniteStateMachine &machine, uint32_t event) const;
98 void ProcessEndCollector(FiniteStateMachine &machine, uint32_t event);
99 void ProcessEndVerifier(FiniteStateMachine &machine, uint32_t event);
101 void OnScheduleProcessing(FiniteStateMachine &machine, uint32_t event);
102 void OnScheduleFinished(FiniteStateMachine &machine, uint32_t event);
/base/hiviewdfx/faultloggerd/interfaces/innerkits/unwinder/
H A Darch_util.cpp44 ArchType GetArchFromUname(const std::string& machine) in GetArchFromUname() argument
46 if (StartsWith(machine, "arm")) { in GetArchFromUname()
47 if (machine == "armv8l") { in GetArchFromUname()
51 } else if (machine == "aarch64") { in GetArchFromUname()
53 } else if (machine == "riscv64") { in GetArchFromUname()
55 } else if (machine == "x86_64") { in GetArchFromUname()
57 } else if (machine == "x86" || machine == "i686") { in GetArchFromUname()
H A Ddfx_elf_parser.cpp93 auto machine = ehdr.e_machine; in ParseElfHeaders() local
94 if (machine == EM_ARM) { in ParseElfHeaders()
96 } else if (machine == EM_386) { in ParseElfHeaders()
98 } else if (machine == EM_AARCH64) { in ParseElfHeaders()
100 } else if (machine == EM_RISCV) { in ParseElfHeaders()
102 } else if (machine == EM_X86_64) { in ParseElfHeaders()
105 DFXLOGW("Failed the machine = %{public}d", machine); in ParseElfHeaders()
/base/security/device_security_level/services/dslm/
H A Ddslm_fsm_process.c61 static bool ProcessDeviceOnline(const StateMachine *machine, uint32_t event, const void *para);
62 static bool ProcessSendCredRequest(const StateMachine *machine, uint32_t event, const void *para);
63 static bool ProcessSdkRequest(const StateMachine *machine, uint32_t event, const void *para);
64 static bool ProcessSendRequestFailed(const StateMachine *machine, uint32_t event, const void *para);
65 static bool ProcessDeviceOffline(const StateMachine *machine, uint32_t event, const void *para);
66 static bool ProcessVerifyCredMessage(const StateMachine *machine, uint32_t event, const void *para);
67 static bool ProcessSdkTimeout(const StateMachine *machine, uint32_t event, const void *para);
128 DslmStartProcessTraceAsync("SendCredRequest", info->machine.machineId, info->queryTimes + 1); in CheckTimesAndSendCredRequest()
150 SECURITY_LOG_DEBUG("ProcessSendDeviceInfoCallback for device %{public}x.", info->machine.machineId); in ProcessSendDeviceInfoCallback()
160 result, info->machine in ProcessSendDeviceInfoCallback()
193 ProcessDeviceOnline(const StateMachine *machine, uint32_t event, const void *para) ProcessDeviceOnline() argument
222 ProcessSendCredRequest(const StateMachine *machine, uint32_t event, const void *para) ProcessSendCredRequest() argument
229 ProcessSdkRequest(const StateMachine *machine, uint32_t event, const void *para) ProcessSdkRequest() argument
271 ProcessSendRequestFailed(const StateMachine *machine, uint32_t event, const void *para) ProcessSendRequestFailed() argument
291 ProcessDeviceOffline(const StateMachine *machine, uint32_t event, const void *para) ProcessDeviceOffline() argument
302 ProcessVerifyCredMessage(const StateMachine *machine, uint32_t event, const void *para) ProcessVerifyCredMessage() argument
323 ProcessSdkTimeout(const StateMachine *machine, uint32_t event, const void *para) ProcessSdkTimeout() argument
[all...]
/base/telephony/cellular_data/test/
H A Dcellualr_data_branch_test.cpp89 std::shared_ptr<CellularMachineTest> machine = std::make_shared<CellularMachineTest>(); in HWTEST_F() local
90 cellularMachine = machine->CreateCellularDataConnect(0); in HWTEST_F()
107 std::shared_ptr<CellularMachineTest> machine = std::make_shared<CellularMachineTest>(); in HWTEST_F() local
108 cellularMachine = machine->CreateCellularDataConnect(0); in HWTEST_F()
125 std::shared_ptr<CellularMachineTest> machine = std::make_shared<CellularMachineTest>(); in HWTEST_F() local
126 cellularMachine = machine->CreateCellularDataConnect(0); in HWTEST_F()
161 std::shared_ptr<CellularMachineTest> machine = std::make_shared<CellularMachineTest>(); in HWTEST_F() local
162 cellularMachine = machine->CreateCellularDataConnect(0); in HWTEST_F()
181 std::shared_ptr<CellularMachineTest> machine = std::make_shared<CellularMachineTest>(); in HWTEST_F() local
182 cellularMachine = machine in HWTEST_F()
202 std::shared_ptr<CellularMachineTest> machine = std::make_shared<CellularMachineTest>(); HWTEST_F() local
223 std::shared_ptr<CellularMachineTest> machine = std::make_shared<CellularMachineTest>(); HWTEST_F() local
247 std::shared_ptr<CellularMachineTest> machine = std::make_shared<CellularMachineTest>(); HWTEST_F() local
265 std::shared_ptr<CellularMachineTest> machine = std::make_shared<CellularMachineTest>(); HWTEST_F() local
285 std::shared_ptr<CellularMachineTest> machine = std::make_shared<CellularMachineTest>(); HWTEST_F() local
305 std::shared_ptr<CellularMachineTest> machine = std::make_shared<CellularMachineTest>(); HWTEST_F() local
324 std::shared_ptr<CellularMachineTest> machine = std::make_shared<CellularMachineTest>(); HWTEST_F() local
343 std::shared_ptr<CellularMachineTest> machine = std::make_shared<CellularMachineTest>(); HWTEST_F() local
364 std::shared_ptr<CellularMachineTest> machine = std::make_shared<CellularMachineTest>(); HWTEST_F() local
385 std::shared_ptr<CellularMachineTest> machine = std::make_shared<CellularMachineTest>(); HWTEST_F() local
415 std::shared_ptr<CellularMachineTest> machine = std::make_shared<CellularMachineTest>(); HWTEST_F() local
435 std::shared_ptr<CellularMachineTest> machine = std::make_shared<CellularMachineTest>(); HWTEST_F() local
462 std::shared_ptr<CellularMachineTest> machine = std::make_shared<CellularMachineTest>(); HWTEST_F() local
483 std::shared_ptr<CellularMachineTest> machine = std::make_shared<CellularMachineTest>(); HWTEST_F() local
503 std::shared_ptr<CellularMachineTest> machine = std::make_shared<CellularMachineTest>(); HWTEST_F() local
523 std::shared_ptr<CellularMachineTest> machine = std::make_shared<CellularMachineTest>(); HWTEST_F() local
545 std::shared_ptr<CellularMachineTest> machine = std::make_shared<CellularMachineTest>(); HWTEST_F() local
568 std::shared_ptr<CellularMachineTest> machine = std::make_shared<CellularMachineTest>(); HWTEST_F() local
592 std::shared_ptr<CellularMachineTest> machine = std::make_shared<CellularMachineTest>(); HWTEST_F() local
617 std::shared_ptr<CellularMachineTest> machine = std::make_shared<CellularMachineTest>(); HWTEST_F() local
639 std::shared_ptr<CellularMachineTest> machine = std::make_shared<CellularMachineTest>(); HWTEST_F() local
662 std::shared_ptr<CellularMachineTest> machine = std::make_shared<CellularMachineTest>(); HWTEST_F() local
685 std::shared_ptr<CellularMachineTest> machine = std::make_shared<CellularMachineTest>(); HWTEST_F() local
708 std::shared_ptr<CellularMachineTest> machine = std::make_shared<CellularMachineTest>(); HWTEST_F() local
728 std::shared_ptr<CellularMachineTest> machine = std::make_shared<CellularMachineTest>(); HWTEST_F() local
[all...]
H A Dcellular_state_machine_test.cpp546 std::shared_ptr<CellularMachineTest> machine = std::make_shared<CellularMachineTest>(); in HWTEST_F() local
547 cellularMachine = machine->CreateCellularDataConnect(0); in HWTEST_F()
568 std::shared_ptr<CellularMachineTest> machine = std::make_shared<CellularMachineTest>(); in HWTEST_F() local
569 cellularMachine = machine->CreateCellularDataConnect(0); in HWTEST_F()
587 std::shared_ptr<CellularMachineTest> machine = std::make_shared<CellularMachineTest>(); in HWTEST_F() local
588 cellularMachine = machine->CreateCellularDataConnect(0); in HWTEST_F()
606 std::shared_ptr<CellularMachineTest> machine = std::make_shared<CellularMachineTest>(); in HWTEST_F() local
607 cellularMachine = machine->CreateCellularDataConnect(0); in HWTEST_F()
627 std::shared_ptr<CellularMachineTest> machine = std::make_shared<CellularMachineTest>(); in HWTEST_F() local
628 cellularMachine = machine in HWTEST_F()
647 std::shared_ptr<CellularMachineTest> machine = std::make_shared<CellularMachineTest>(); HWTEST_F() local
668 std::shared_ptr<CellularMachineTest> machine = std::make_shared<CellularMachineTest>(); HWTEST_F() local
688 std::shared_ptr<CellularMachineTest> machine = std::make_shared<CellularMachineTest>(); HWTEST_F() local
709 std::shared_ptr<CellularMachineTest> machine = std::make_shared<CellularMachineTest>(); HWTEST_F() local
728 std::shared_ptr<CellularMachineTest> machine = std::make_shared<CellularMachineTest>(); HWTEST_F() local
748 std::shared_ptr<CellularMachineTest> machine = std::make_shared<CellularMachineTest>(); HWTEST_F() local
768 std::shared_ptr<CellularMachineTest> machine = std::make_shared<CellularMachineTest>(); HWTEST_F() local
788 std::shared_ptr<CellularMachineTest> machine = std::make_shared<CellularMachineTest>(); HWTEST_F() local
808 std::shared_ptr<CellularMachineTest> machine = std::make_shared<CellularMachineTest>(); HWTEST_F() local
828 std::shared_ptr<CellularMachineTest> machine = std::make_shared<CellularMachineTest>(); HWTEST_F() local
847 std::shared_ptr<CellularMachineTest> machine = std::make_shared<CellularMachineTest>(); HWTEST_F() local
866 std::shared_ptr<CellularMachineTest> machine = std::make_shared<CellularMachineTest>(); HWTEST_F() local
885 std::shared_ptr<CellularMachineTest> machine = std::make_shared<CellularMachineTest>(); HWTEST_F() local
905 std::shared_ptr<CellularMachineTest> machine = std::make_shared<CellularMachineTest>(); HWTEST_F() local
925 std::shared_ptr<CellularMachineTest> machine = std::make_shared<CellularMachineTest>(); HWTEST_F() local
944 std::shared_ptr<CellularMachineTest> machine = std::make_shared<CellularMachineTest>(); HWTEST_F() local
964 std::shared_ptr<CellularMachineTest> machine = std::make_shared<CellularMachineTest>(); HWTEST_F() local
983 std::shared_ptr<CellularMachineTest> machine = std::make_shared<CellularMachineTest>(); HWTEST_F() local
1005 std::shared_ptr<CellularMachineTest> machine = std::make_shared<CellularMachineTest>(); HWTEST_F() local
1027 std::shared_ptr<CellularMachineTest> machine = std::make_shared<CellularMachineTest>(); HWTEST_F() local
1046 std::shared_ptr<CellularMachineTest> machine = std::make_shared<CellularMachineTest>(); HWTEST_F() local
1067 std::shared_ptr<CellularMachineTest> machine = std::make_shared<CellularMachineTest>(); HWTEST_F() local
1088 std::shared_ptr<CellularMachineTest> machine = std::make_shared<CellularMachineTest>(); HWTEST_F() local
1110 std::shared_ptr<CellularMachineTest> machine = std::make_shared<CellularMachineTest>(); HWTEST_F() local
1132 std::shared_ptr<CellularMachineTest> machine = std::make_shared<CellularMachineTest>(); HWTEST_F() local
1151 std::shared_ptr<CellularMachineTest> machine = std::make_shared<CellularMachineTest>(); HWTEST_F() local
1172 std::shared_ptr<CellularMachineTest> machine = std::make_shared<CellularMachineTest>(); HWTEST_F() local
1192 std::shared_ptr<CellularMachineTest> machine = std::make_shared<CellularMachineTest>(); HWTEST_F() local
1213 std::shared_ptr<CellularMachineTest> machine = std::make_shared<CellularMachineTest>(); HWTEST_F() local
1232 std::shared_ptr<CellularMachineTest> machine = std::make_shared<CellularMachineTest>(); HWTEST_F() local
1252 std::shared_ptr<CellularMachineTest> machine = std::make_shared<CellularMachineTest>(); HWTEST_F() local
1272 std::shared_ptr<CellularMachineTest> machine = std::make_shared<CellularMachineTest>(); HWTEST_F() local
1292 std::shared_ptr<CellularMachineTest> machine = std::make_shared<CellularMachineTest>(); HWTEST_F() local
1312 std::shared_ptr<CellularMachineTest> machine = std::make_shared<CellularMachineTest>(); HWTEST_F() local
1331 std::shared_ptr<CellularMachineTest> machine = std::make_shared<CellularMachineTest>(); HWTEST_F() local
1350 std::shared_ptr<CellularMachineTest> machine = std::make_shared<CellularMachineTest>(); HWTEST_F() local
1368 std::shared_ptr<CellularMachineTest> machine = std::make_shared<CellularMachineTest>(); HWTEST_F() local
1382 std::shared_ptr<CellularMachineTest> machine = std::make_shared<CellularMachineTest>(); HWTEST_F() local
1407 std::shared_ptr<CellularMachineTest> machine = std::make_shared<CellularMachineTest>(); HWTEST_F() local
1432 std::shared_ptr<CellularMachineTest> machine = std::make_shared<CellularMachineTest>(); HWTEST_F() local
1455 std::shared_ptr<CellularMachineTest> machine = std::make_shared<CellularMachineTest>(); HWTEST_F() local
1475 std::shared_ptr<CellularMachineTest> machine = std::make_shared<CellularMachineTest>(); HWTEST_F() local
1495 std::shared_ptr<CellularMachineTest> machine = std::make_shared<CellularMachineTest>(); HWTEST_F() local
1512 std::shared_ptr<CellularMachineTest> machine = std::make_shared<CellularMachineTest>(); HWTEST_F() local
1534 std::shared_ptr<CellularMachineTest> machine = std::make_shared<CellularMachineTest>(); HWTEST_F() local
1554 std::shared_ptr<CellularMachineTest> machine = std::make_shared<CellularMachineTest>(); HWTEST_F() local
1574 std::shared_ptr<CellularMachineTest> machine = std::make_shared<CellularMachineTest>(); HWTEST_F() local
1593 std::shared_ptr<CellularMachineTest> machine = std::make_shared<CellularMachineTest>(); HWTEST_F() local
1609 std::shared_ptr<CellularMachineTest> machine = std::make_shared<CellularMachineTest>(); HWTEST_F() local
1626 std::shared_ptr<CellularMachineTest> machine = std::make_shared<CellularMachineTest>(); HWTEST_F() local
1643 std::shared_ptr<CellularMachineTest> machine = std::make_shared<CellularMachineTest>(); HWTEST_F() local
1665 std::shared_ptr<CellularMachineTest> machine = std::make_shared<CellularMachineTest>(); HWTEST_F() local
1692 std::shared_ptr<CellularMachineTest> machine = std::make_shared<CellularMachineTest>(); HWTEST_F() local
1708 std::shared_ptr<CellularMachineTest> machine = std::make_shared<CellularMachineTest>(); HWTEST_F() local
1723 std::shared_ptr<CellularMachineTest> machine = std::make_shared<CellularMachineTest>(); HWTEST_F() local
1740 std::shared_ptr<CellularMachineTest> machine = std::make_shared<CellularMachineTest>(); HWTEST_F() local
1757 std::shared_ptr<CellularMachineTest> machine = std::make_shared<CellularMachineTest>(); HWTEST_F() local
2035 std::shared_ptr<CellularMachineTest> machine = std::make_shared<CellularMachineTest>(); HWTEST_F() local
2056 std::shared_ptr<CellularMachineTest> machine = std::make_shared<CellularMachineTest>(); HWTEST_F() local
2077 std::shared_ptr<CellularMachineTest> machine = std::make_shared<CellularMachineTest>(); HWTEST_F() local
2098 std::shared_ptr<CellularMachineTest> machine = std::make_shared<CellularMachineTest>(); HWTEST_F() local
2119 std::shared_ptr<CellularMachineTest> machine = std::make_shared<CellularMachineTest>(); HWTEST_F() local
2138 std::shared_ptr<CellularMachineTest> machine = std::make_shared<CellularMachineTest>(); HWTEST_F() local
2156 std::shared_ptr<CellularMachineTest> machine = std::make_shared<CellularMachineTest>(); HWTEST_F() local
[all...]
H A Dapn_manager_test.cpp335 std::shared_ptr<StateMachineTest> machine = std::make_shared<StateMachineTest>(); in HWTEST_F() local
336 auto stateMachine = machine->CreateCellularDataStateMachine(0); in HWTEST_F()
349 std::shared_ptr<StateMachineTest> machine = std::make_shared<StateMachineTest>(); in HWTEST_F() local
350 auto stateMachine = machine->CreateCellularDataStateMachine(0); in HWTEST_F()
366 std::shared_ptr<StateMachineTest> machine = std::make_shared<StateMachineTest>(); in HWTEST_F() local
367 auto stateMachine = machine->CreateCellularDataStateMachine(0); in HWTEST_F()
383 std::shared_ptr<StateMachineTest> machine = std::make_shared<StateMachineTest>(); in HWTEST_F() local
384 auto stateMachine = machine->CreateCellularDataStateMachine(0); in HWTEST_F()
389 machine->cellularDataStateMachine_ = nullptr; in HWTEST_F()
390 auto stateMachine_1 = machine in HWTEST_F()
541 std::shared_ptr<StateMachineTest> machine = std::make_shared<StateMachineTest>(); HWTEST_F() local
[all...]
/base/useriam/face_auth/services_ex/src/
H A Dfinite_state_machine_impl.cpp47 IAM_LOGE("machine %{public}s 's threadHandler not set", GetMachineName().c_str()); in Schedule()
53 if (auto machine = self.lock(); machine != nullptr) { in Schedule()
54 Inner inner(machine); in Schedule()
60 void FiniteStateMachineImpl::ScheduleInner(FiniteStateMachine &machine) in ScheduleInner() argument
76 invoker(machine, event); in ScheduleInner()
81 DealWithStateLeaveAndEnter(machine, oldState, currentState_); in ScheduleInner()
94 void FiniteStateMachineImpl::DealWithStateLeaveAndEnter(FiniteStateMachine &machine, uint32_t oldState, in DealWithStateLeaveAndEnter() argument
102 invoker(machine, oldState); in DealWithStateLeaveAndEnter()
108 invoker(machine, currentState in DealWithStateLeaveAndEnter()
137 Inner(std::shared_ptr<FiniteStateMachineImpl> &machine) Inner() argument
[all...]
/base/useriam/user_auth_framework/services/base/src/
H A Dfinite_state_machine_impl.cpp47 IAM_LOGE("machine %{public}s 's threadHandler not set", GetMachineName().c_str()); in Schedule()
53 if (auto machine = self.lock(); machine != nullptr) { in Schedule()
54 Inner inner(machine); in Schedule()
60 void FiniteStateMachineImpl::ScheduleInner(FiniteStateMachine &machine) in ScheduleInner() argument
76 invoker(machine, event); in ScheduleInner()
81 DealWithStateLeaveAndEnter(machine, oldState, currentState_); in ScheduleInner()
92 void FiniteStateMachineImpl::DealWithStateLeaveAndEnter(FiniteStateMachine &machine, uint32_t oldState, in DealWithStateLeaveAndEnter() argument
100 invoker(machine, oldState); in DealWithStateLeaveAndEnter()
106 invoker(machine, currentState in DealWithStateLeaveAndEnter()
135 Inner(std::shared_ptr<FiniteStateMachineImpl> &machine) Inner() argument
[all...]
H A Dfinite_state_machine_impl.h62 void ScheduleInner(FiniteStateMachine &machine);
63 void DealWithStateLeaveAndEnter(FiniteStateMachine &machine, uint32_t oldState, uint32_t newState);
78 explicit Inner(std::shared_ptr<FiniteStateMachineImpl> &machine);
/base/hiviewdfx/faultloggerd/test/unittest/unwind/
H A Darch_util_test.cpp51 ASSERT_EQ(GetArchFromUname(systemName.machine), ArchType::ARCH_ARM); in HWTEST_F()
56 ASSERT_EQ(GetArchFromUname(systemName.machine), ArchType::ARCH_ARM64); in HWTEST_F()
61 ASSERT_EQ(GetArchFromUname(systemName.machine), ArchType::ARCH_X86); in HWTEST_F()
66 ASSERT_EQ(GetArchFromUname(systemName.machine), ArchType::ARCH_X86_64); in HWTEST_F()
71 ASSERT_EQ(GetArchFromUname(systemName.machine), ArchType::ARCH_UNKNOWN); in HWTEST_F()
106 std::string machine = "test"; in HWTEST_F() local
107 ArchType archType = GetArchFromUname(machine); in HWTEST_F()
/base/security/device_security_level/baselib/utils/include/
H A Dutils_state_machine.h31 typedef bool (*StateMachineProcessFunc)(const StateMachine *machine, uint32_t event, const void *para);
49 void InitStateMachine(StateMachine *machine, uint32_t machineId, uint32_t initState);
51 void ScheduleMachine(const StateNode *nodes, uint32_t nodeCnt, StateMachine *machine, uint32_t event, const void *para);
/base/telephony/cellular_data/test/fuzztest/updatedisconnectmachine_fuzzer/
H A Dupdatedisconnectmachine_fuzzer.cpp35 std::shared_ptr<StateMachineFuzzer> machine = std::make_shared<StateMachineFuzzer>(); in UpdateDisconnectMachineFuzz() local
36 if (machine == nullptr) { in UpdateDisconnectMachineFuzz()
40 std::shared_ptr<CellularDataStateMachine> cellularMachine = machine->CreateCellularDataConnect(slotId); in UpdateDisconnectMachineFuzz()
/base/telephony/cellular_data/test/fuzztest/updateactivemachine_fuzzer/
H A Dupdateactivemachine_fuzzer.cpp34 std::shared_ptr<StateMachineFuzzer> machine = std::make_shared<StateMachineFuzzer>(); in UpdateActiveMachineFuzz() local
35 if (machine == nullptr) { in UpdateActiveMachineFuzz()
39 std::shared_ptr<CellularDataStateMachine> cellularMachine = machine->CreateCellularDataConnect(slotId); in UpdateActiveMachineFuzz()
/base/telephony/cellular_data/test/fuzztest/updateinactivemachine_fuzzer/
H A Dupdateinactivemachine_fuzzer.cpp35 std::shared_ptr<StateMachineFuzzer> machine = std::make_shared<StateMachineFuzzer>(); in UpdateInActiveMachineFuzz() local
36 if (machine == nullptr) { in UpdateInActiveMachineFuzz()
40 std::shared_ptr<CellularDataStateMachine> cellularMachine = machine->CreateCellularDataConnect(slotId); in UpdateInActiveMachineFuzz()
/base/useriam/face_auth/services_ex/inc/
H A Dfinite_state_machine_impl.h62 void ScheduleInner(FiniteStateMachine &machine);
63 void DealWithStateLeaveAndEnter(FiniteStateMachine &machine, uint32_t oldState, uint32_t newState);
78 explicit Inner(std::shared_ptr<FiniteStateMachineImpl> &machine);
/base/hiviewdfx/faultloggerd/interfaces/innerkits/unwinder/include/
H A Darch_util.h28 ArchType GetArchFromUname(const std::string& machine);
/base/security/device_security_level/test/dslm_unit_test/
H A Ddslm_baselib_utils_test.cpp442 StateMachine *machine = nullptr; in HWTEST_F() local
446 InitStateMachine(machine, machineId, initState); in HWTEST_F()
447 EXPECT_EQ(nullptr, machine); in HWTEST_F()
453 StateMachine machine; in HWTEST_F() local
456 ScheduleMachine(node, nodeCnt, &machine, event, nullptr); in HWTEST_F()
463 StateMachine machine; in HWTEST_F() local
466 ScheduleMachine(&node, nodeCnt, &machine, event, nullptr); in HWTEST_F()

Completed in 14 milliseconds

12