Home
last modified time | relevance | path

Searched refs:pStaStateMachine (Results 1 – 20 of 20) sorted by relevance

/ohos5.0/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_manage/wifi_sta/
H A Dsta_state_machine_test.cpp85 pStaStateMachine.reset(); in TearDown()
1138 pStaStateMachine->isRoam = true; in GetIpStateStateGoInStateSuccess2()
1150 pStaStateMachine->isRoam = false; in GetIpStateStateGoInStateSuccess3()
1203 pStaStateMachine->isRoam = false; in ConfigStaticIpAddressSuccess1()
1220 pStaStateMachine->isRoam = false; in ConfigStaticIpAddressSuccess2()
1236 pStaStateMachine->isRoam = false; in ConfigStaticIpAddressSuccess3()
1251 pStaStateMachine->isRoam = false; in ConfigStaticIpAddressFail()
1484 pStaStateMachine->isRoam = false; in DhcpResultNotifyOnSuccessTest()
1525 pStaStateMachine->isRoam = false; in DhcpResultNotifyOnFailedTest2()
1540 pStaStateMachine->isRoam = true; in DhcpResultNotifyOnFailedTest3()
[all …]
H A Dsta_monitor_test.cpp41 pStaMonitor->pStaStateMachine = new StaStateMachine(); in SetUp()
107 pStaMonitor->SetStateMachine(pStaMonitor->pStaStateMachine); in UnInitStaMonitorFail()
156 pStaMonitor->pStaStateMachine = nullptr; in OnConnectChangedCallBackFail1()
185 pStaMonitor->pStaStateMachine = nullptr; in OnWpaStateChangedCallBackFail1()
196 pStaMonitor->pStaStateMachine = nullptr; in OnWpaSsidWrongKeyCallBackFail()
209 pStaMonitor->pStaStateMachine = nullptr; in OnWpsPbcOverlapCallBackFail1()
222 pStaMonitor->pStaStateMachine = nullptr; in OnWpsTimeOutCallBackFail1()
237 pStaMonitor->pStaStateMachine = nullptr; in OnBssidChangedCallBackFail()
275 pStaMonitor->pStaStateMachine = nullptr; in OnWpaConnectionFullCallBackFail()
288 pStaMonitor->pStaStateMachine = nullptr; in OnWpaConnectionRejectCallBackFail()
[all …]
H A Dsta_auto_connect_service_test.cpp56 pStaStateMachine = new (std::nothrow) StaStateMachine(); in SetUp()
57 pStaAutoConnectService = new (std::nothrow) StaAutoConnectService(pStaStateMachine); in SetUp()
63 if (pStaStateMachine != nullptr) { in TearDown()
64 delete pStaStateMachine; in TearDown()
65 pStaStateMachine = nullptr; in TearDown()
80 StaStateMachine *pStaStateMachine; member in OHOS::Wifi::StaAutoConnectServiceTest
H A Dsta_service_test.cpp56 pStaService->pStaStateMachine = new StaStateMachine(); in SetUp()
57 …pStaService->pStaAutoConnectService = new MockStaAutoConnectService(pStaService->pStaStateMachine); in SetUp()
665 pStaService->pStaStateMachine = nullptr; in StaServiceStartPortalCertificationTest()
/ohos5.0/foundation/communication/wifi/wifi/test/wifi_standard/precompiled_macro/
H A Dsta_state_machine_test.cpp85 pStaStateMachine.reset(); in TearDown()
94 pStaStateMachine->getIpSucNum = 1; in ConfigStaticIpAddressSuccess1()
95 pStaStateMachine->isRoam = false; in ConfigStaticIpAddressSuccess1()
101 pStaStateMachine->pDhcpResultNotify->pStaStateMachine = nullptr; in ConfigStaticIpAddressSuccess1()
111 pStaStateMachine->getIpSucNum = 1; in ConfigStaticIpAddressSuccess2()
112 pStaStateMachine->isRoam = false; in ConfigStaticIpAddressSuccess2()
117 pStaStateMachine->pDhcpResultNotify->pStaStateMachine = nullptr; in ConfigStaticIpAddressSuccess2()
126 pStaStateMachine->getIpSucNum = 1; in ConfigStaticIpAddressSuccess3()
127 pStaStateMachine->isRoam = false; in ConfigStaticIpAddressSuccess3()
133 pStaStateMachine->pDhcpResultNotify->pStaStateMachine = nullptr; in ConfigStaticIpAddressSuccess3()
[all …]
H A Dsta_state_machine_test1.cpp62 pStaStateMachine->InitStaStateMachine(); in SetUp()
63 pStaStateMachine->InitWifiLinkedInfo(); in SetUp()
68 pStaStateMachine.reset(); in TearDown()
78 pStaStateMachine->StartWpsMode(msg); in StartWpsModeSuccess1()
89 pStaStateMachine->StartWpsMode(msg); in StartWpsModeSuccess2()
100 pStaStateMachine->StartWpsMode(msg); in StartWpsModeSuccess3()
110 pStaStateMachine->StartWpsMode(msg); in StartWpsModeSuccess4()
128 pStaStateMachine->DealStartRoamCmd(msg); in DealStartRoamCmdSuccess()
193 pStaStateMachine->SetRandomMac(0, ""); in SetRandomMacSuccess1()
210 pStaStateMachine->SetRandomMac(0, ""); in SetRandomMacFail1()
[all …]
/ohos5.0/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_sta/
H A Dsta_monitor.cpp95 if (pStaStateMachine == nullptr) { in OnReportDisConnectReasonCallBack()
108 pStaStateMachine->SendMessage(msg); in OnReportDisConnectReasonCallBack()
115 if (pStaStateMachine == nullptr) { in OnConnectChangedCallBack()
135 pStaStateMachine->OnNetworkAssocEvent(status, bssid, pStaStateMachine); in OnConnectChangedCallBack()
188 if (pStaStateMachine == nullptr) { in OnBssidChangedCallBack()
205 if (pStaStateMachine == nullptr) { in OnWpaStateChangedCallBack()
217 if (pStaStateMachine == nullptr) { in OnWpaSsidWrongKeyCallBack()
229 if (pStaStateMachine == nullptr) { in OnWpaConnectionFullCallBack()
241 if (pStaStateMachine == nullptr) { in OnWpaConnectionRejectCallBack()
253 if (pStaStateMachine == nullptr) { in OnWpsPbcOverlapCallBack()
[all …]
H A Dsta_service.cpp62 : pStaStateMachine(nullptr), in StaService()
85 if (pStaStateMachine != nullptr) { in ~StaService()
86 delete pStaStateMachine; in ~StaService()
87 pStaStateMachine = nullptr; in ~StaService()
102 if (pStaStateMachine == nullptr) { in InitStaService()
694 pStaStateMachine->SendMessage(msg); in StartWps()
733 if (pStaStateMachine == nullptr) { in RegisterStaServiceCallback()
745 if (pStaStateMachine == nullptr) { in UnRegisterStaServiceCallback()
849 if (pStaStateMachine == nullptr) { in HandleScreenStatusChanged()
926 if (pStaStateMachine == nullptr) { in StartPortalCertification()
[all …]
H A Dsta_state_machine.cpp764 pStaStateMachine->SwitchState(pStaStateMachine->pSeparatedState); in GoInState()
766 pStaStateMachine->SwitchState(pStaStateMachine->pWpaStoppingState); in GoInState()
860 pStaStateMachine->SwitchState(pStaStateMachine->pInitState); in GoInState()
2825 pStaStateMachine->linkedInfo, pStaStateMachine->GetInstanceId()); in HandleNetWorkConnectionEvent()
2949 pStaStateMachine->SwitchState(pStaStateMachine->pGetIpState); in ExecuteStateMsg()
3063pStaStateMachine->currentTpType, dhcpRet, pStaStateMachine->isRoam, pStaStateMachine->GetInstanceI… in GoInState()
3195pStaStateMachine->linkedInfo.rssi, pStaStateMachine->linkedInfo.band, pStaStateMachine->GetInstanc… in IsProhibitUseCacheIp()
3977 pStaStateMachine->SwitchState(pStaStateMachine->pLinkedState); in HandleNetworkConnectionEvent()
4505 pStaStateMachine->getIpSucNum, pStaStateMachine->isRoam); in TryToCloseDhcpClient()
4543 pStaStateMachine->currentTpType, pStaStateMachine->getIpSucNum, in DealDhcpResultFailed()
[all …]
H A Dsta_state_machine.h177 StaStateMachine *pStaStateMachine;
193 StaStateMachine *pStaStateMachine;
208 StaStateMachine *pStaStateMachine;
223 StaStateMachine *pStaStateMachine;
238 StaStateMachine *pStaStateMachine;
265 StaStateMachine *pStaStateMachine;
284 StaStateMachine *pStaStateMachine;
299 StaStateMachine *pStaStateMachine;
316 StaStateMachine *pStaStateMachine; variable
336 StaStateMachine *pStaStateMachine; variable
[all …]
H A Dsta_auto_connect_service.cpp27 : pStaStateMachine(staStateMachine), in StaAutoConnectService()
105 auto message = pStaStateMachine->CreateMessage(WIFI_SVR_CMD_STA_CONNECT_SAVED_NETWORK); in OnScanInfosReadyHandler()
109 pStaStateMachine->SendMessage(message); in OnScanInfosReadyHandler()
240 pStaStateMachine->StartRoamToNetwork(electedDevice.bssid); in ConnectElectedDevice()
248 pStaStateMachine->SendMessage(WIFI_SVR_CMD_STA_CONNECT_SAVED_NETWORK, in ConnectElectedDevice()
H A Dsta_monitor.h148 StaStateMachine *pStaStateMachine;
H A Dsta_auto_connect_service.h131 StaStateMachine *pStaStateMachine;
H A Dsta_service.h408 StaStateMachine *pStaStateMachine; variable
/ohos5.0/foundation/communication/dhcp/services/dhcp_client/src/
H A Ddhcp_client_service_impl.cpp110 if ((iter->second).pStaStateMachine != nullptr) { in ~DhcpClientServiceImpl()
111 delete (iter->second).pStaStateMachine; in ~DhcpClientServiceImpl()
112 (iter->second).pStaStateMachine = nullptr; in ~DhcpClientServiceImpl()
268 if (dhcpClient.pStaStateMachine == nullptr) { in StartOldClient()
272 dhcpClient.pStaStateMachine->SetConfiguration(m_routerCfg); in StartOldClient()
327 client.pStaStateMachine = pStaState; in StartNewClient()
357 if ((iter2->second).pStaStateMachine != nullptr) { in StopDhcpClient()
360 (iter2->second).pStaStateMachine->StopIpv4(); in StopDhcpClient()
361 (iter2->second).pStaStateMachine->CloseAllRenewTimer(); in StopDhcpClient()
473 action = (iterlient->second).pStaStateMachine->GetAction(); in DhcpIpv4ResultFail()
[all …]
/ohos5.0/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_manage/wifi_sta_new/
H A Dsta_auto_connect_service_test.cpp53 pStaStateMachine = new (std::nothrow) StaStateMachine(); in SetUp()
54 pStaAutoConnectService = new (std::nothrow) StaAutoConnectService(pStaStateMachine); in SetUp()
58 if (pStaStateMachine != nullptr) { in TearDown()
59 delete pStaStateMachine; in TearDown()
60 pStaStateMachine = nullptr; in TearDown()
71 StaStateMachine *pStaStateMachine; member in OHOS::Wifi::StaAutoConnectServiceTest
H A Dsta_monitor_test.cpp42 pStaMonitor->pStaStateMachine = new StaStateMachine(); in SetUp()
87 pStaMonitor->pStaStateMachine = nullptr;
/ohos5.0/foundation/communication/dhcp/services/dhcp_client/include/
H A Ddhcp_client_state_machine.h165 DhcpClientStateMachine *pStaStateMachine; member
/ohos5.0/foundation/communication/wifi/wifi/test/fuzztest/wifi_sta/wifistaserver_fuzzer/
H A Dwifistaserver_fuzzer.cpp65 pStaService->pStaStateMachine = new MockStaStateMachine(); in InitParam()
66 … pStaService->pStaAutoConnectService = new StaAutoConnectService(pStaService->pStaStateMachine); in InitParam()
68 … pStaAutoConnectService = std::make_unique<StaAutoConnectService>(pStaService->pStaStateMachine); in InitParam()
/ohos5.0/foundation/communication/dhcp/test/unittest/services/dhcp_client/
H A Ddhcp_client_service_impl_test.cpp93 client.pStaStateMachine = new DhcpClientStateMachine(client.ifName);