Home
last modified time | relevance | path

Searched refs:P2pState (Results 1 - 25 of 49) sorted by relevance

12

/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_p2p/
H A Dp2p_enabling_state.cpp31 p2pStateMachine.BroadcastP2pStatusChanged(P2pState::P2P_STATE_STARTING); in GoInState()
49 p2pStateMachine.BroadcastP2pStatusChanged(P2pState::P2P_STATE_CLOSED); in ExecuteStateMsg()
58 p2pStateMachine.BroadcastP2pStatusChanged(P2pState::P2P_STATE_CLOSED); in ExecuteStateMsg()
H A Dp2p_disabling_state.cpp48 p2pStateMachine.BroadcastP2pStatusChanged(P2pState::P2P_STATE_IDLE); in ExecuteStateMsg()
58 p2pStateMachine.BroadcastP2pStatusChanged(P2pState::P2P_STATE_IDLE); in ExecuteStateMsg()
H A Dip2p_service_callbacks.h30 std::function<void(P2pState)> OnP2pStateChangedEvent;
/foundation/communication/wifi/wifi/test/wifi_standard/native/
H A Dwifi_c_p2p_test.cpp30 P2pState g_moded = P2pState::P2P_STATE_CLOSING;
38 void P2pCallback(P2pState state) in P2pCallback()
65 P2pState* state = &g_moded; in HWTEST_F()
/foundation/communication/wifi/wifi/interfaces/kits/c/
H A Dwifi_p2p_config.h66 typedef enum P2pState { enum
73 } P2pState; typedef
H A Dwifi_p2p.h27 typedef void (*P2pStateChangedCallback)(P2pState state);
53 WifiErrorCode GetP2pEnableStatus(P2pState* state);
/foundation/CastEngine/castengine_wifi_display/services/impl/scene/wfd/
H A Dwfd_source_scene.cpp41 switch (static_cast<Wifi::P2pState>(state)) { in OnP2pStateChanged()
42 case Wifi::P2pState::P2P_STATE_NONE: in OnP2pStateChanged()
44 case Wifi::P2pState::P2P_STATE_IDLE: in OnP2pStateChanged()
46 case Wifi::P2pState::P2P_STATE_STARTING: in OnP2pStateChanged()
48 case Wifi::P2pState::P2P_STATE_STARTED: in OnP2pStateChanged()
53 case Wifi::P2pState::P2P_STATE_CLOSING: in OnP2pStateChanged()
55 case Wifi::P2pState::P2P_STATE_CLOSED: in OnP2pStateChanged()
420 switch (static_cast<Wifi::P2pState>(status)) { in HandleStartDiscovery()
421 case Wifi::P2pState::P2P_STATE_NONE: // fall-through in HandleStartDiscovery()
422 case Wifi::P2pState in HandleStartDiscovery()
[all...]
H A Dwfd_sink_scene.cpp37 case (int32_t)Wifi::P2pState::P2P_STATE_NONE: in OnP2pStateChanged()
39 case (int32_t)Wifi::P2pState::P2P_STATE_IDLE: in OnP2pStateChanged()
41 case (int32_t)Wifi::P2pState::P2P_STATE_STARTING: in OnP2pStateChanged()
43 case (int32_t)Wifi::P2pState::P2P_STATE_STARTED: in OnP2pStateChanged()
48 case (int32_t)Wifi::P2pState::P2P_STATE_CLOSING: in OnP2pStateChanged()
50 case (int32_t)Wifi::P2pState::P2P_STATE_CLOSED: in OnP2pStateChanged()
422 case (int32_t)Wifi::P2pState::P2P_STATE_NONE: in HandleStart()
423 case (int32_t)Wifi::P2pState::P2P_STATE_IDLE: in HandleStart()
424 case (int32_t)Wifi::P2pState::P2P_STATE_STARTING: in HandleStart()
425 case (int32_t)Wifi::P2pState in HandleStart()
[all...]
/foundation/communication/dsoftbus/tests/core/bus_center/mock_common/include/
H A Dwifi_mock.h44 virtual WifiErrorCode GetP2pEnableStatus(P2pState *state) = 0;
62 MOCK_METHOD1(GetP2pEnableStatus, WifiErrorCode(P2pState *));
/foundation/CastEngine/castengine_wifi_display/tests/unittest/impl/scene/
H A Dwfd_source_scene_test.cpp77 .WillOnce(DoAll(SetArgReferee<0>(static_cast<int32_t>(Wifi::P2pState::P2P_STATE_NONE)), in HWTEST_F()
93 .WillOnce(DoAll(SetArgReferee<0>(static_cast<int32_t>(Wifi::P2pState::P2P_STATE_IDLE)), in HWTEST_F()
109 .WillOnce(DoAll(SetArgReferee<0>(static_cast<int32_t>(Wifi::P2pState::P2P_STATE_STARTING)), in HWTEST_F()
125 .WillOnce(DoAll(SetArgReferee<0>(static_cast<int32_t>(Wifi::P2pState::P2P_STATE_CLOSING)), in HWTEST_F()
141 .WillOnce(DoAll(SetArgReferee<0>(static_cast<int32_t>(Wifi::P2pState::P2P_STATE_STARTED)), in HWTEST_F()
161 wfdP2pCallback->OnP2pStateChanged(static_cast<int32_t>(Wifi::P2pState::P2P_STATE_NONE)); in HWTEST_F()
170 wfdP2pCallback->OnP2pStateChanged(static_cast<int32_t>(Wifi::P2pState::P2P_STATE_IDLE)); in HWTEST_F()
179 wfdP2pCallback->OnP2pStateChanged(static_cast<int32_t>(Wifi::P2pState::P2P_STATE_STARTING)); in HWTEST_F()
195 wfdP2pCallback->OnP2pStateChanged(static_cast<int32_t>(Wifi::P2pState::P2P_STATE_STARTED)); in HWTEST_F()
204 wfdP2pCallback->OnP2pStateChanged(static_cast<int32_t>(Wifi::P2pState in HWTEST_F()
[all...]
H A Dwfd_sink_scene_test.cpp81 sinkScene_->wfdP2pCallback_->OnP2pStateChanged(static_cast<int32_t>(Wifi::P2pState::P2P_STATE_NONE)); in HWTEST_F()
89 sinkScene_->wfdP2pCallback_->OnP2pStateChanged(static_cast<int32_t>(Wifi::P2pState::P2P_STATE_IDLE)); in HWTEST_F()
97 sinkScene_->wfdP2pCallback_->OnP2pStateChanged(static_cast<int32_t>(Wifi::P2pState::P2P_STATE_STARTING)); in HWTEST_F()
117 sinkScene_->wfdP2pCallback_->OnP2pStateChanged(static_cast<int32_t>(Wifi::P2pState::P2P_STATE_STARTED)); in HWTEST_F()
125 sinkScene_->wfdP2pCallback_->OnP2pStateChanged(static_cast<int32_t>(Wifi::P2pState::P2P_STATE_CLOSING)); in HWTEST_F()
147 sinkScene_->wfdP2pCallback_->OnP2pStateChanged(static_cast<int32_t>(Wifi::P2pState::P2P_STATE_CLOSED)); in HWTEST_F()
155 .WillOnce(DoAll(SetArgReferee<0>(static_cast<int32_t>(Wifi::P2pState::P2P_STATE_NONE)), in HWTEST_F()
171 .WillOnce(DoAll(SetArgReferee<0>(static_cast<int32_t>(Wifi::P2pState::P2P_STATE_IDLE)), in HWTEST_F()
187 .WillOnce(DoAll(SetArgReferee<0>(static_cast<int32_t>(Wifi::P2pState::P2P_STATE_STARTING)), in HWTEST_F()
203 .WillOnce(DoAll(SetArgReferee<0>(static_cast<int32_t>(Wifi::P2pState in HWTEST_F()
[all...]
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_sub_manage/
H A Dwifi_p2p_manager.cpp193 WifiConfigCenter::GetInstance().SetP2pState(static_cast<int>(P2pState::P2P_STATE_CLOSED)); in CloseP2pService()
196 cbMsg.msgData = static_cast<int>(P2pState::P2P_STATE_CLOSED); in CloseP2pService()
227 mP2pCallback.OnP2pStateChangedEvent = [this](P2pState state) { this->DealP2pStateChanged(state); }; in InitP2pCallback()
259 void WifiP2pManager::DealP2pStateChanged(P2pState state) in DealP2pStateChanged()
266 if (state == P2pState::P2P_STATE_IDLE) { in DealP2pStateChanged()
270 if (state == P2pState::P2P_STATE_STARTED) { in DealP2pStateChanged()
279 if (state == P2pState::P2P_STATE_CLOSED) { in DealP2pStateChanged()
H A Dwifi_p2p_manager.h42 void DealP2pStateChanged(P2pState bState);
/foundation/communication/dsoftbus/core/connection/wifi_direct_cpp/entity/
H A Dp2p_entity.h76 void OnP2pStateChangeEvent(P2pState state);
90 void UpdateInterfaceManagerWhenStateChanged(P2pState state);
H A Dp2p_create_group_state.h35 void OnP2pStateChangeEvent(P2pState state) override;
H A Dp2p_destroy_group_state.h35 void OnP2pStateChangeEvent(P2pState state) override;
H A Dp2p_broadcast_receiver.h41 P2pState p2pState;
H A Dp2p_available_state.h35 void OnP2pStateChangeEvent(P2pState state) override;
H A Dp2p_unavailable_state.cpp63 void P2pUnavailableState::OnP2pStateChangeEvent(P2pState state) in OnP2pStateChangeEvent()
H A Dp2p_unavailable_state.h36 void OnP2pStateChangeEvent(P2pState state) override;
H A Dp2p_connect_state.h35 void OnP2pStateChangeEvent(P2pState state) override;
H A Dp2p_entity_state.h42 virtual void OnP2pStateChangeEvent(P2pState state) = 0;
/foundation/communication/dsoftbus/tests/core/bus_center/mock_common/src/
H A Dwifi_mock.cpp96 WifiErrorCode GetP2pEnableStatus(P2pState *state) in GetP2pEnableStatus()
/foundation/communication/dsoftbus/tests/core/connection/wifi_direct_cpp/
H A Dwifi_direct_mock.cpp42 WifiErrorCode GetP2pEnableStatus(P2pState *state) in GetP2pEnableStatus()
375 P2pState state = P2P_STATE_STARTED; in CreateGroupSuccessAction()
411 P2pState state = P2P_STATE_STARTED; in ConnectSuccessAction()
449 P2pState state = P2P_STATE_STARTED; in DestroyGroupSuccessAction()
/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_manage/wifi_p2p/test/Mock/
H A Dmock_p2p_state_machine.h43 MOCK_CONST_METHOD1(BroadcastP2pStatusChanged, void(P2pState state));

Completed in 11 milliseconds

12