Searched refs:AdapterStateMachine (Results 1 – 3 of 3) sorted by relevance
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/common/ |
H A D | adapter_state_machine.cpp | 28 void AdapterStateMachine::Init(IAdapter &adapter) in Init() 41 utility::Dispatcher &AdapterStateMachine::GetDispatch() const in GetDispatch() 56 case AdapterStateMachine::MSG_USER_ENABLE_REQ: in Dispatch() 92 case AdapterStateMachine::MSG_ADAPTER_ENABLE_CMP: in Dispatch() 106 case AdapterStateMachine::MSG_PROFILE_ENABLE_CMP: in Dispatch() 116 case AdapterStateMachine::MSG_ADAPTER_ENABLE_TIME_OUT: in Dispatch() 122 case AdapterStateMachine::MSG_PROFILE_ENABLE_TIME_OUT: in Dispatch() 146 case AdapterStateMachine::MSG_USER_DISABLE_REQ: in Dispatch() 182 case AdapterStateMachine::MSG_PROFILE_DISABLE_CMP: in Dispatch() 192 case AdapterStateMachine::MSG_ADAPTER_DISABLE_CMP: in Dispatch() [all …]
|
H A D | adapter_state_machine.h | 38 class AdapterStateMachine : public utility::StateMachine { 60 explicit AdapterStateMachine(utility::Dispatcher &dispatch) : dispatch_(dispatch){}; in AdapterStateMachine() function 67 ~AdapterStateMachine() = default; 87 AdapterStateMachine() = delete; 105 AdapterState(const std::string &name, AdapterStateMachine &stateMachine, IAdapter &adapter) in AdapterState() 116 AdapterStateMachine &adapterStateMachine_; 128 AdapterTurningOnState(AdapterStateMachine &stateMachine, IAdapter &adapter); 176 AdapterTurnOnState(AdapterStateMachine &stateMachine, IAdapter &adapter) in AdapterTurnOnState() 219 AdapterTurningOffState(AdapterStateMachine &stateMachine, IAdapter &adapter); 268 AdapterTurnOffState(AdapterStateMachine &stateMachine, IAdapter &adapter) in AdapterTurnOffState()
|
H A D | adapter_manager.cpp | 51 AdapterInfo(std::shared_ptr<T> instance, std::unique_ptr<AdapterStateMachine> stateMachine) in AdapterInfo() 59 std::unique_ptr<AdapterStateMachine> stateMachine = nullptr; 149 utility::Message msg(AdapterStateMachine::MSG_ADAPTER_ENABLE_CMP, ret ? true : false); in OnEnable() 166 utility::Message msg(AdapterStateMachine::MSG_ADAPTER_DISABLE_CMP, ret ? true : false); in OnDisable() 370 utility::Message msg(AdapterStateMachine::MSG_USER_ENABLE_REQ); in Enable() 404 utility::Message msg(AdapterStateMachine::MSG_USER_DISABLE_REQ); in Disable() 636 utility::Message msg(AdapterStateMachine::MSG_PROFILE_ENABLE_CMP, ret ? true : false); in OnProfileServicesEnableComplete() 644 utility::Message msg(AdapterStateMachine::MSG_PROFILE_DISABLE_CMP, ret ? true : false); in OnProfileServicesDisableComplete() 683 auto stateMachine = std::make_unique<AdapterStateMachine>(dispatcher); in CreateAdapter()
|