Home
last modified time | relevance | path

Searched refs:StateMachine (Results 1 - 25 of 97) sorted by relevance

1234

/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_manage/wifi_sta/Mock/
H A Dmock_state_machine.cpp24 StateMachine::StateMachine(const std::string &name) in StateMachine() function in OHOS::Wifi::StateMachine
27 StateMachine::~StateMachine() in ~StateMachine()
29 void StateMachine::SendMessage(int msgName) in SendMessage()
31 WIFI_LOGD("StateMachine::SendMessage, msgName is %{public}d.", msgName); in SendMessage()
34 void StateMachine::SendMessage(int msgName, int param1) in SendMessage()
36 WIFI_LOGD("StateMachine::SendMessage, msgName is %{public}d, param1 is %{public}d.", msgName, param1); in SendMessage()
39 void StateMachine::SendMessage(int msgName, int param1, int param2) in SendMessage()
41 WIFI_LOGD("StateMachine in SendMessage()
[all...]
/foundation/communication/bluetooth_service/services/bluetooth/service/src/avrcp_ct/
H A Davrcp_ct_state_machine.cpp68 std::unique_ptr<StateMachine> stateMachine = in AddControlStateMachine()
69 std::make_unique<StateMachine>(StateMachine::Type::AVRC_CT_SM_TYPE_CONTROL, rawAddr); in AddControlStateMachine()
95 pair->second = std::make_unique<StateMachine>(StateMachine::Type::AVRC_CT_SM_TYPE_BROWSE, rawAddr); in AddBrowseStateMachine()
306 AvrcCtStateMachineManager::StateMachine::StateMachine(Type type, const RawAddress &rawAddr) in StateMachine() function in OHOS::bluetooth::AvrcCtStateMachineManager::StateMachine
312 void AvrcCtStateMachineManager::StateMachine::AddStates(void) in AddStates()
319 std::unique_ptr<utility::StateMachine::State> ctConnectingPtr = in AddStates()
324 std::unique_ptr<utility::StateMachine in AddStates()
[all...]
H A Davrcp_ct_state_machine.h294 class StateMachine : public utility::StateMachine { class in OHOS::bluetooth::AvrcCtStateMachineManager
306 * @brief A constructor used to create an <b>StateMachine</b> instance.
308 StateMachine(Type type, const RawAddress &rawAddr);
311 * @brief A destructor used to delete the <b>StateMachine</b> instance.
313 ~StateMachine() = default;
326 * @brief A constructor used to create an <b>StateMachine</b> instance.
328 StateMachine() = delete;
330 class State : public utility::StateMachine::State {
332 explicit State(const std::string &name, utility::StateMachine
[all...]
/foundation/communication/bluetooth_service/services/bluetooth/service/src/avrcp_tg/
H A Davrcp_tg_state_machine.cpp74 std::unique_ptr<StateMachine> statemachine = in AddControlStateMachine()
75 std::make_unique<StateMachine>(StateMachine::Type::AVRC_TG_SM_TYPE_CONTROL, rawAddr); in AddControlStateMachine()
100 pair->second = std::make_unique<StateMachine>(StateMachine::Type::AVRC_TG_SM_TYPE_BROWSE, rawAddr); in AddBrowseStateMachine()
276 AvrcTgStateMachineManager::StateMachine::StateMachine(Type type, const RawAddress &rawAddr) in StateMachine() function in OHOS::bluetooth::AvrcTgStateMachineManager::StateMachine
282 void AvrcTgStateMachineManager::StateMachine::AddStates(void) in AddStates()
288 std::unique_ptr<utility::StateMachine::State> ctConnectingPtr = in AddStates()
291 std::unique_ptr<utility::StateMachine in AddStates()
[all...]
H A Davrcp_tg_state_machine.h274 class StateMachine : public utility::StateMachine { class in OHOS::bluetooth::AvrcTgStateMachineManager
286 * @brief A constructor used to create an <b>StateMachine</b> instance.
288 StateMachine(Type type, const RawAddress &rawAddr);
291 * @brief A destructor used to delete the <b>StateMachine</b> instance.
293 ~StateMachine() = default;
307 * @brief A constructor used to create an <b>StateMachine</b> instance.
309 StateMachine() = delete;
311 class State : public utility::StateMachine::State {
313 explicit State(const std::string &name, utility::StateMachine
[all...]
/foundation/communication/wifi/wifi/base/state_machine/src/
H A Dstate_machine.cpp26 StateMachine::StateMachine(const std::string &name) : pStateMachineHandler(nullptr), mStateName(name) in StateMachine() function in OHOS::Wifi::StateMachine
29 StateMachine::~StateMachine() in ~StateMachine()
31 LOGD("StateMachine::~StateMachine"); in ~StateMachine()
38 bool StateMachine::InitialStateMachine(const std::string &name) in InitialStateMachine()
55 void StateMachine::StartStateMachine() in StartStateMachine()
66 void StateMachine::SetHandler(StateMachineHandler *handler) in SetHandler()
71 void StateMachine
[all...]
/foundation/communication/bluetooth_service/services/bluetooth/service/src/gavdp/
H A Da2dp_state_machine.h39 class A2dpStateIdle : public utility::StateMachine::State {
44 * @param stateMachine State is owned by which StateMachine.
47 A2dpStateIdle(const std::string &name, utility::StateMachine &stateMachine) in A2dpStateIdle()
48 : utility::StateMachine::State(name, stateMachine) in A2dpStateIdle()
153 class A2dpStateConfigure : public utility::StateMachine::State {
158 * @param stateMachine State is owned by which StateMachine.
161 A2dpStateConfigure(const std::string &name, utility::StateMachine &stateMachine) in A2dpStateConfigure()
162 : utility::StateMachine::State(name, stateMachine) in A2dpStateConfigure()
251 class A2dpStateOpening : public utility::StateMachine::State {
256 * @param stateMachine State is owned by which StateMachine
[all...]
H A Da2dp_service_state_machine.h34 class A2dpState : public utility::StateMachine::State {
39 * @param stateMachine State is owned by which StateMachine.
42 A2dpState(const std::string &name, utility::StateMachine &stateMachine) : State(name, stateMachine) in A2dpState()
57 * @param stateMachine State is owned by which StateMachine.
60 A2dpDisconnected(const std::string &name, utility::StateMachine &stateMachine) : A2dpState(name, stateMachine){}; in A2dpDisconnected()
88 * @param stateMachine State is owned by which StateMachine.
91 A2dpDisconnecting(const std::string &name, utility::StateMachine &stateMachine) : A2dpState(name, stateMachine) in A2dpDisconnecting()
121 * @param stateMachine State is owned by which StateMachine.
124 A2dpConnected(const std::string &name, utility::StateMachine &stateMachine) : A2dpState(name, stateMachine) in A2dpConnected()
163 * @param stateMachine State is owned by which StateMachine
[all...]
/foundation/multimedia/media_foundation/engine/scene/recorder/internal/
H A Dstate_machine.cpp16 #define HST_LOG_TAG "StateMachine"
25 StateMachine::StateMachine(RecorderExecutor& executor) in StateMachine() function in OHOS::Media::Record::StateMachine
26 : Task("StateMachine"), in StateMachine()
39 void StateMachine::Stop() in Stop()
49 void StateMachine::SetStateCallback(StateChangeCallback* callback) in SetStateCallback()
54 const std::string& StateMachine::GetCurrentState() const in GetCurrentState()
59 StateId StateMachine::GetCurrentStateId() const in GetCurrentStateId()
64 ErrorCode StateMachine::SendEvent(Intent intent, const Plugin::Any& param) const in SendEvent()
66 return const_cast<StateMachine*>(thi in SendEvent()
[all...]
/foundation/arkui/ace_engine_lite/frameworks/src/core/router/
H A Djs_page_state.h27 virtual void Handle(StateMachine& sm) = 0;
31 void Handle(StateMachine& sm) override;
35 void Handle(StateMachine& sm) override;
39 void Handle(StateMachine& sm) override;
43 void Handle(StateMachine& sm) override;
47 void Handle(StateMachine& sm) override;
H A Djs_page_state_machine.cpp36 StateMachine::StateMachine() in StateMachine() function in OHOS::ACELite::StateMachine
55 StateMachine::~StateMachine() in ~StateMachine()
82 void StateMachine::SetCurrentState(int8_t newState) in SetCurrentState()
91 int StateMachine::GenerateJsPagePath(const char * const uri) in GenerateJsPagePath()
138 void StateMachine::RegisterUriAndParamsToPage(const char * const uri, jerry_value_t params) in RegisterUriAndParamsToPage()
157 bool StateMachine::Init(jerry_value_t object, jerry_value_t &jsRes) in Init()
175 bool StateMachine::BindUri(jerry_value_t &jsRes) in BindUri()
234 bool StateMachine
[all...]
/foundation/communication/bluetooth_service/services/bluetooth/service/src/util/
H A Dstate_machine.h26 class StateMachine { class
33 * @param statemachine State is owned by which StateMachine.
37 explicit State(const std::string &name, StateMachine &statemachine) in State()
43 * @param statemachine State is owned by which StateMachine.
47 explicit State(const std::string &name, StateMachine &statemachine, State &parent) in State()
93 StateMachine &statemachine_;
96 friend class StateMachine;
104 StateMachine() {}; in StateMachine() function in utility::StateMachine
110 virtual ~StateMachine() {}; in ~StateMachine()
113 * @brief Move unique_ptr of state to StateMachine
[all...]
H A Dstate_machine.cpp19 void StateMachine::InitState(const std::string &name) in InitState()
28 void StateMachine::Move(std::unique_ptr<State> &state) in Move()
38 bool StateMachine::ProcessMessage(const Message &msg) const in ProcessMessage()
55 const StateMachine::State *StateMachine::GetState() const in GetState()
60 void StateMachine::Transition(const std::string &name) in Transition()
93 inline int StateMachine::GetStateDepth(State &state) in GetStateDepth()
/foundation/multimodalinput/input/intention/cooperate/plugin/src/
H A Dstate_machine.cpp34 #define LOG_TAG "StateMachine"
41 StateMachine::AppStateObserver::AppStateObserver(Channel<CooperateEvent>::Sender sender, int32_t clientPid) in AppStateObserver()
44 void StateMachine::AppStateObserver::OnProcessDied(const AppExecFwk::ProcessData &processData) in OnProcessDied()
60 void StateMachine::AppStateObserver::UpdateClientPid(int32_t clientPid) in UpdateClientPid()
65 StateMachine::StateMachine(IContext *env) in StateMachine() function in OHOS::Msdp::DeviceStatus::Cooperate::StateMachine
179 void StateMachine::OnEvent(Context &context, const CooperateEvent &event) in OnEvent()
188 void StateMachine::TransiteTo(Context &context, CooperateState state) in TransiteTo()
201 void StateMachine::AddHandler(CooperateEventType event, std::function<void(Context&, const CooperateEvent&)> handler) in AddHandler()
206 void StateMachine
[all...]
/foundation/multimedia/media_foundation/engine/scene/player/internal/
H A Dstate_machine.cpp16 #define HST_LOG_TAG "StateMachine"
32 StateMachine::StateMachine(PlayExecutor& executor) in StateMachine() function in OHOS::Media::StateMachine
33 : Task("StateMachine"), in StateMachine()
48 void StateMachine::Stop() in Stop()
50 MEDIA_LOG_I("StateMachine stop called."); in Stop()
58 void StateMachine::SetStateCallback(StateChangeCallback* callback) in SetStateCallback()
63 const std::string& StateMachine::GetCurrentState() const in GetCurrentState()
68 StateId StateMachine::GetCurrentStateId() const in GetCurrentStateId()
73 ErrorCode StateMachine
[all...]
/foundation/CastEngine/castengine_cast_plus_stream/src/utils/include/
H A Dstate_machine.h45 friend class StateMachine;
50 class StateMachine : public Handler { class
52 StateMachine() = default;
55 ~StateMachine() override = default;
64 DISALLOW_EVIL_CONSTRUCTORS(StateMachine);
/foundation/CastEngine/castengine_cast_framework/service/src/session/src/utils/include/
H A Dstate_machine.h45 friend class StateMachine;
50 class StateMachine : public Handler { class
52 StateMachine() = default;
55 ~StateMachine() override = default;
64 DISALLOW_EVIL_CONSTRUCTORS(StateMachine);
/foundation/communication/bluetooth_service/services/bluetooth/service/src/gatt/
H A Dgatt_connection_manager.h52 class StateMachine : public utility::StateMachine { class in OHOS::bluetooth::GattConnectionManager::Device
64 explicit StateMachine(GattConnectionManager::Device &device);
65 ~StateMachine();
68 class StateBase : public utility::StateMachine::State {
71 utility::StateMachine &stateMachine, GattConnectionManager::Device &device);
79 Idle(utility::StateMachine &stateMachine, GattConnectionManager::Device &device);
86 Connecting(utility::StateMachine &stateMachine, GattConnectionManager::Device &device);
93 Connected(utility::StateMachine &stateMachine, GattConnectionManager::Device &device);
100 Disconnecting(utility::StateMachine
[all...]
/foundation/communication/bluetooth_service/services/bluetooth/service/src/hfp_ag/
H A Dhfp_ag_statemachine.h33 class HfpAgStateMachine : public utility::StateMachine {
157 class HfpAgState : public utility::StateMachine::State {
160 HfpAgSmInfo(const std::string &name, utility::StateMachine& statemachine) in HfpAgSmInfo()
164 utility::StateMachine& sm_;
169 utility::StateMachine::State &parent) in HfpAgState()
177 HfpAgState(const std::string &name, utility::StateMachine &statemachine, HfpAgProfile &profile, in HfpAgState()
202 HfpAgDisconnected(const std::string &name, utility::StateMachine &statemachine, HfpAgProfile &profile, in HfpAgDisconnected()
217 HfpAgConnecting(const std::string &name, utility::StateMachine &statemachine, HfpAgProfile &profile, in HfpAgConnecting()
231 HfpAgDisconnecting(const std::string &name, utility::StateMachine &statemachine, HfpAgProfile &profile, in HfpAgDisconnecting()
243 HfpAgConnected(const std::string &name, utility::StateMachine
[all...]
/foundation/multimedia/av_codec/services/engine/codec/video/hcodec/
H A Dstate_machine.h36 friend class StateMachine;
41 class StateMachine : public MsgHandleLoop { class
43 StateMachine() = default;
46 virtual ~StateMachine() = default;
/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/include/hardware/imagecodec/
H A Dstate_machine.h36 friend class StateMachine;
41 class StateMachine : public MsgHandleLoop { class
43 StateMachine() = default;
46 virtual ~StateMachine() = default;
/foundation/communication/bluetooth_service/services/bluetooth/service/src/pan/
H A Dpan_statemachine.h37 class PanStateMachine : public utility::StateMachine {
121 class PanState : public utility::StateMachine::State {
123 PanState(const std::string &name, utility::StateMachine &statemachine, int stateInt, in PanState()
124 utility::StateMachine::State &parent) in PanState()
128 PanState(const std::string &name, utility::StateMachine &statemachine, int stateInt) in PanState()
146 PanDisconnectedState(const std::string &name, utility::StateMachine &statemachine) in PanDisconnectedState()
160 PanConnectingState(const std::string &name, utility::StateMachine &statemachine) in PanConnectingState()
173 PanDisconnectingState(const std::string &name, utility::StateMachine &statemachine) in PanDisconnectingState()
186 PanConnectedState(const std::string &name, utility::StateMachine &statemachine) in PanConnectedState()
/foundation/communication/bluetooth_service/services/bluetooth/service/src/hfp_hf/
H A Dhfp_hf_statemachine.h35 class HfpHfStateMachine : public utility::StateMachine {
396 class HfpHfState : public utility::StateMachine::State {
398 HfpHfState(const std::string &name, utility::StateMachine &statemachine, HfpHfProfile &profile, int stateInt, in HfpHfState()
399 utility::StateMachine::State &parent) in HfpHfState()
403 HfpHfState(const std::string &name, utility::StateMachine &statemachine, HfpHfProfile &profile, int stateInt) in HfpHfState()
422 HfpHfDisconnected(const std::string &name, utility::StateMachine &statemachine, HfpHfProfile &profile) in HfpHfDisconnected()
436 HfpHfConnecting(const std::string &name, utility::StateMachine &statemachine, HfpHfProfile &profile) in HfpHfConnecting()
447 HfpHfDisconnecting(const std::string &name, utility::StateMachine &statemachine, HfpHfProfile &profile) in HfpHfDisconnecting()
458 HfpHfConnected(const std::string &name, utility::StateMachine &statemachine, HfpHfProfile &profile) in HfpHfConnected()
470 HfpHfAudioConnecting(const std::string &name, utility::StateMachine
[all...]
/foundation/communication/bluetooth_service/services/bluetooth/service/src/common/
H A Dpower_state_machine.h36 class PowerStateMachine : public utility::StateMachine {
68 class PowerState : public utility::StateMachine::State {
84 PowerState(const std::string &name, PowerStateMachine &psm, PowerDevice &pd, utility::StateMachine::State &fstate) in PowerState()
103 * @param psm StateMachine.
144 * @param psm StateMachine.
149 PowerActiveActivingState(PowerStateMachine &psm, PowerDevice &pd, utility::StateMachine::State &fstate) in PowerActiveActivingState()
168 * @param psm StateMachine.
173 PowerActiveSniffingState(PowerStateMachine &psm, PowerDevice &pd, utility::StateMachine::State &fstate) in PowerActiveSniffingState()
192 * @param psm StateMachine.
214 * @param psm StateMachine
[all...]
/foundation/multimedia/av_codec/services/services/codec/server/post_processing/
H A Dstate_machine.cpp35 State StateMachine::Get() const in Get()
40 void StateMachine::Set(State state) in Set()
45 const char* StateMachine::Name() const in Name()

Completed in 17 milliseconds

1234