Searched refs:AdapterStateMachine (Results 1 - 3 of 3) sorted by relevance
/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() 64 AdapterTurningOnState::AdapterTurningOnState(AdapterStateMachine &stateMachine, IAdapter &adapter) in AdapterTurningOnState() 69 &utility::StateMachine::ProcessMessage, &stateMachine, AdapterStateMachine::MSG_ADAPTER_ENABLE_TIME_OUT)); in AdapterTurningOnState() 73 &utility::StateMachine::ProcessMessage, &stateMachine, AdapterStateMachine::MSG_PROFILE_ENABLE_TIME_OUT)); in AdapterTurningOnState() 82 LOG_DEBUG("AdapterStateMachine::Timer enable adapter start transport is %{public}d", transport); in Entry() 92 case AdapterStateMachine::MSG_ADAPTER_ENABLE_CMP: in Dispatch() 93 LOG_DEBUG("AdapterStateMachine::Timer enable adapter stop transport is %{public}d", transport); in Dispatch() 96 LOG_DEBUG("AdapterStateMachine in Dispatch() [all...] |
H A D | adapter_state_machine.h | 38 class AdapterStateMachine : public utility::StateMachine { class 55 * @brief A constructor used to create an <b>AdapterStateMachine</b> instance. 60 explicit AdapterStateMachine(utility::Dispatcher &dispatch) : dispatch_(dispatch){}; in AdapterStateMachine() function in OHOS::bluetooth::AdapterStateMachine 63 * @brief A destructor used to delete the <b>AdapterStateMachine</b> instance. 67 ~AdapterStateMachine() = default; 70 * @brief A constructor used to create an <b>AdapterStateMachine</b> instance. 87 AdapterStateMachine() = delete; 105 AdapterState(const std::string &name, AdapterStateMachine &stateMachine, IAdapter &adapter) in AdapterState() 116 AdapterStateMachine &adapterStateMachine_; 128 AdapterTurningOnState(AdapterStateMachine [all...] |
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()
|
Completed in 2 milliseconds