Home
last modified time | relevance | path

Searched refs:StateMachine (Results 1 – 17 of 17) sorted by relevance

/base/security/device_security_level/baselib/utils/include/
Dutils_state_machine.h29 typedef struct StateMachine StateMachine; typedef
31 typedef bool (*StateMachineProcessFunc)(const StateMachine *machine, uint32_t event, const void *pa…
41 typedef struct StateMachine { struct
47 } StateMachine; argument
49 void InitStateMachine(StateMachine *machine, uint32_t machineId, uint32_t initState);
51 void ScheduleMachine(const StateNode *nodes, uint32_t nodeCnt, StateMachine *machine, uint32_t even…
/base/security/device_security_level/services/dslm/
Ddslm_fsm_process.c59 static bool ProcessDeviceOnline(const StateMachine *machine, uint32_t event, const void *para);
60 static bool ProcessSendCredRequest(const StateMachine *machine, uint32_t event, const void *para);
61 static bool ProcessSdkRequest(const StateMachine *machine, uint32_t event, const void *para);
62 static bool ProcessSendRequestFailed(const StateMachine *machine, uint32_t event, const void *para);
63 static bool ProcessDeviceOffline(const StateMachine *machine, uint32_t event, const void *para);
64 static bool ProcessVerifyCredMessage(const StateMachine *machine, uint32_t event, const void *para);
65 static bool ProcessSdkTimeout(const StateMachine *machine, uint32_t event, const void *para);
187 static bool ProcessDeviceOnline(const StateMachine *machine, uint32_t event, const void *para) in ProcessDeviceOnline()
204 static bool ProcessSendCredRequest(const StateMachine *machine, uint32_t event, const void *para) in ProcessSendCredRequest()
211 static bool ProcessSdkRequest(const StateMachine *machine, uint32_t event, const void *para) in ProcessSdkRequest()
[all …]
Ddslm_core_defines.h40 StateMachine machine;
/base/security/device_security_level/baselib/utils/src/
Dutils_state_machine.c28 void InitStateMachine(StateMachine *machine, uint32_t machineId, uint32_t initState) in InitStateMachine()
51 static inline void PushPendingEvent(StateMachine *machine, uint32_t event, const void *para) in PushPendingEvent()
62 static inline bool PopPendingEvent(StateMachine *machine, uint32_t *event, const void **para) in PopPendingEvent()
76 void ScheduleMachine(const StateNode *nodes, uint32_t nodeCnt, StateMachine *machine, uint32_t even… in ScheduleMachine()
/base/powermgr/thermal_manager/services/native/src/thermal_observer/state_machine/
Dstate_machine.cpp22 bool StateMachine::Init() in Init()
41 void StateMachine::DumpState(std::string& result) in DumpState()
55 void StateMachine::DumpIdle(std::string& result) in DumpIdle()
/base/powermgr/thermal_manager/services/native/src/
Dthermal_mgr_dumper.cpp60 std::shared_ptr<StateMachine> state = tms->GetStateMachineObj(); in Dump()
72 std::shared_ptr<StateMachine> state = tms->GetStateMachineObj(); in Dump()
Dthermal_service.cpp123 state_ = std::make_shared<StateMachine>(); in CreateConfigModule()
/base/telephony/cellular_data/services/include/state_machine/
Dcellular_data_state_machine.h37 class CellularDataStateMachine : public StateMachine,
43 : StateMachine(runner), cdConnectionManager_(cdConnectionManager), in CellularDataStateMachine()
Dstate_machine.h185 class StateMachine {
187 explicit StateMachine(const std::shared_ptr<AppExecFwk::EventRunner> &runner) in StateMachine() function
196 virtual ~StateMachine() {} in ~StateMachine()
/base/powermgr/thermal_manager/services/native/include/thermal_observer/state_machine/
Dstate_machine.h37 class StateMachine {
/base/powermgr/thermal_manager/services/native/include/
Dthermal_service.h95 std::shared_ptr<StateMachine> GetStateMachineObj() const in GetStateMachineObj()
181 std::shared_ptr<StateMachine> state_ {nullptr};
/base/telephony/cellular_data/services/include/
Ddata_connection_manager.h29 class DataConnectionManager : public StateMachine, public RefBase {
/base/telephony/cellular_data/services/src/
Ddata_connection_manager.cpp31 : StateMachine(runner), slotId_(slotId) in DataConnectionManager()
39 StateMachine::SetOriginalState(ccmDefaultState_); in DataConnectionManager()
40 StateMachine::Start(); in DataConnectionManager()
/base/security/device_security_level/test/dslm_unit_test/
Ddslm_baselib_utils_test.cpp329 StateMachine *machine = nullptr;
340 StateMachine machine;
/base/telephony/cellular_data/services/src/state_machine/
Dcellular_data_state_machine.cpp172 StateMachine::SetOriginalState(inActiveState_); in Init()
173 StateMachine::Start(); in Init()
/base/powermgr/thermal_manager/test/unittest/src/
Dthermal_observer_test.cpp255 auto stateMachine = std::make_shared<StateMachine>();
/base/powermgr/thermal_manager/services/native/src/thermal_policy/
Dthermal_policy.cpp191StateMachine::StateMachineMap stateMachineMap = g_service->GetStateMachineObj()->GetStateCollectio… in StateMachineDecision()