Home
last modified time | relevance | path

Searched refs:PowerStateMachine (Results 1 - 3 of 3) sorted by relevance

/foundation/communication/bluetooth_service/services/bluetooth/service/src/common/
H A Dpower_state_machine.cpp23 void PowerStateMachine::Init(PowerDevice &pd) in Init()
61 case PowerStateMachine::MSG_PM_MODE_CHANGE_SNIFF: { in Dispatch()
66 case PowerStateMachine::MSG_PM_SET_SNIFF: { in Dispatch()
91 case PowerStateMachine::MSG_PM_MODE_CHANGE_ACTIVE: { in Dispatch()
96 case PowerStateMachine::MSG_PM_MODE_CHANGE_SNIFF: { in Dispatch()
100 case PowerStateMachine::MSG_PM_SET_ACTIVE: { in Dispatch()
104 case PowerStateMachine::MSG_PM_SET_SNIFF: { in Dispatch()
137 case PowerStateMachine::MSG_PM_MODE_CHANGE_ACTIVE: { in Dispatch()
142 case PowerStateMachine::MSG_PM_MODE_CHANGE_SNIFF: { in Dispatch()
146 case PowerStateMachine in Dispatch()
[all...]
H A Dpower_state_machine.h36 class PowerStateMachine : public utility::StateMachine { class
46 * @brief A constructor used to create an <b>PowerStateMachine</b> instance.
50 PowerStateMachine(){}; in PowerStateMachine() function in OHOS::bluetooth::PowerStateMachine
53 * @brief A destructor used to delete the <b>PowerStateMachine</b> instance.
57 ~PowerStateMachine() = default;
60 * @brief A constructor used to create an <b>PowerStateMachine</b> instance.
76 PowerState(const std::string &name, PowerStateMachine &psm, PowerDevice &pd) : State(name, psm), pd_(pd){}; in PowerState()
84 PowerState(const std::string &name, PowerStateMachine &psm, PowerDevice &pd, utility::StateMachine::State &fstate) in PowerState()
107 PowerActiveState(PowerStateMachine &psm, PowerDevice &pd) : PowerState(ACTIVE_STATE, psm, pd){}; in PowerActiveState()
149 PowerActiveActivingState(PowerStateMachine
[all...]
H A Dpower_device.cpp35 std::unique_ptr<PowerStateMachine> psm_ = nullptr;
51 pimpl->psm_ = std::make_unique<PowerStateMachine>(); in PowerDevice()
96 utility::Message msg(PowerStateMachine::MSG_PM_SET_ACTIVE); in SetActiveMode()
146 utility::Message msg(PowerStateMachine::MSG_PM_MODE_CHANGE_ACTIVE); in ModeChangeCallBack()
156 utility::Message msg(PowerStateMachine::MSG_PM_MODE_CHANGE_SNIFF); in ModeChangeCallBack()
169 utility::Message msg(PowerStateMachine::MSG_PM_SET_SUBRATING_COMPLETE); in SniffSubratingCompleteCallback()
282 utility::Message msg(PowerStateMachine::MSG_PM_SET_SNIFF); in DelayTimeoutCallback()

Completed in 2 milliseconds