Home
last modified time | relevance | path

Searched refs:apState (Results 1 – 7 of 7) sorted by relevance

/ohos5.0/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_manage/wifi_controller/
H A Dwifi_service_scheduler_test.cpp93 WifiOprMidState apState = WifiConfigCenter::GetInstance().GetApMidState(0); in AutoStartApServiceTest() local
94 WifiConfigCenter::GetInstance().SetApMidState(apState, WifiOprMidState::CLOSING, 0); in AutoStartApServiceTest()
97 apState = WifiConfigCenter::GetInstance().GetApMidState(0); in AutoStartApServiceTest()
98 WifiConfigCenter::GetInstance().SetApMidState(apState, WifiOprMidState::RUNNING, 0); in AutoStartApServiceTest()
104 WifiOprMidState apState = WifiConfigCenter::GetInstance().GetApMidState(0); in AutoStopApServiceTest() local
105 WifiConfigCenter::GetInstance().SetApMidState(apState, WifiOprMidState::OPENING, 0); in AutoStopApServiceTest()
108 apState = WifiConfigCenter::GetInstance().GetApMidState(0); in AutoStopApServiceTest()
109 WifiConfigCenter::GetInstance().SetApMidState(apState, WifiOprMidState::CLOSED, 0); in AutoStopApServiceTest()
H A Dsoftap_manager_state_machine_test.cpp100 WifiOprMidState apState = WifiConfigCenter::GetInstance().GetApMidState(0); in HandleStartInIdleStateTest() local
101 WifiConfigCenter::GetInstance().SetApMidState(apState, WifiOprMidState::RUNNING, 0); in HandleStartInIdleStateTest()
110 WifiOprMidState apState = WifiConfigCenter::GetInstance().GetApMidState(0); in StopSoftapTest() local
111 WifiConfigCenter::GetInstance().SetApMidState(apState, WifiOprMidState::CLOSED, 0); in StopSoftapTest()
120 apState = WifiConfigCenter::GetInstance().GetApMidState(0); in StopSoftapTest()
121 WifiConfigCenter::GetInstance().SetApMidState(apState, WifiOprMidState::CLOSING, 0); in StopSoftapTest()
123 apState = WifiConfigCenter::GetInstance().GetApMidState(0); in StopSoftapTest()
124 WifiConfigCenter::GetInstance().SetApMidState(apState, WifiOprMidState::RUNNING, 0); in StopSoftapTest()
/ohos5.0/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_controller/
H A Dsoftap_manager_state_machine.cpp215 WifiOprMidState apState = WifiConfigCenter::GetInstance().GetApMidState(mid); in StopSoftap() local
216 if (apState == WifiOprMidState::CLOSING || apState == WifiOprMidState::OPENING) { in StopSoftap()
H A Dwifi_service_scheduler.cpp752 WifiOprMidState apState = WifiConfigCenter::GetInstance().GetApMidState(instId); in AutoStartApService() local
753 WIFI_LOGE("AutoStartApService, current ap state:%{public}d", apState); in AutoStartApService()
755 if (apState != WifiOprMidState::CLOSED) { in AutoStartApService()
756 if (apState == WifiOprMidState::CLOSING) { in AutoStartApService()
778 if (!WifiConfigCenter::GetInstance().SetApMidState(apState, WifiOprMidState::OPENING, 0)) { in AutoStartApService()
794 WifiOprMidState apState = WifiConfigCenter::GetInstance().GetApMidState(instId); in AutoStopApService() local
795 WIFI_LOGE("AutoStopApService, current ap state:%{public}d", apState); in AutoStopApService()
797 if (apState != WifiOprMidState::RUNNING) { in AutoStopApService()
798 if (apState == WifiOprMidState::OPENING) { in AutoStopApService()
805 if (!WifiConfigCenter::GetInstance().SetApMidState(apState, WifiOprMidState::CLOSING, instId)) { in AutoStopApService()
H A Dwifi_controller_state_machine.cpp856 WifiOprMidState apState = WifiConfigCenter::GetInstance().GetApMidState(id); in HandleSoftapToggleChangeInEnabledState() local
857 if (apState == WifiOprMidState::CLOSING || apState == WifiOprMidState::OPENING) { in HandleSoftapToggleChangeInEnabledState()
858 WIFI_LOGI("Current ap state is %{public}d, return", apState); in HandleSoftapToggleChangeInEnabledState()
/ohos5.0/foundation/communication/wifi/wifi/utils/src/
H A Dwifi_hisysevent.cpp116 void WriteWifiOpenAndCloseFailedHiSysEvent(int operateType, std::string failReason, int apState) in WriteWifiOpenAndCloseFailedHiSysEvent() argument
122 root["AP_STATE"] = apState; in WriteWifiOpenAndCloseFailedHiSysEvent()
/ohos5.0/foundation/communication/wifi/wifi/utils/inc/
H A Dwifi_hisysevent.h89 void WriteWifiOpenAndCloseFailedHiSysEvent(int operateType, std::string failReason, int apState);