Home
last modified time | relevance | path

Searched refs:SoftApManager (Results 1 – 6 of 6) sorted by relevance

/ohos5.0/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_controller/
H A Dsoftap_manager.cpp23 SoftApManager::SoftApManager(SoftApManager::Role role, int id) : mid(id), curRole(role), pSoftapMan… in SoftApManager() function in OHOS::Wifi::SoftApManager
26 SoftApManager::~SoftApManager() in ~SoftApManager()
35 ErrCode SoftApManager::InitSoftapManager() in InitSoftapManager()
51 ErrCode SoftApManager::RegisterCallback(const SoftApModeCallback &callbacks) in RegisterCallback()
57 SoftapManagerMachine *SoftApManager::GetSoftapMachine() in GetSoftapMachine()
62 void SoftApManager::SetRole(Role role) in SetRole()
67 SoftApManager::Role SoftApManager::GetRole() in GetRole()
H A Dsoftap_manager.h26 class SoftApManager {
35 explicit SoftApManager(SoftApManager::Role role, int id);
36 ~SoftApManager();
44 SoftApManager::Role curRole;
H A Dwifi_controller_state_machine.cpp130 pWifiControllerMachine->MakeSoftapManager(SoftApManager::Role::ROLE_SOFTAP, id); in ExecuteStateMsg()
369 SoftApManager *WifiControllerMachine::GetSoftApManager(int id) in GetSoftApManager()
486 void WifiControllerMachine::MakeSoftapManager(SoftApManager::Role role, int id) in MakeSoftapManager()
489 SoftApManager *softapmode = new (std::nothrow) SoftApManager(role, id); in MakeSoftapManager()
717 SoftApManager *softapManager = nullptr; in RmoveSoftapManager()
963 SoftApManager *softap = pWifiControllerMachine->GetSoftApManager(msg->GetParam2()); in HandleApRemoved()
965 softap->SetRole(SoftApManager::Role::ROLE_HAS_REMOVED); in HandleApRemoved()
987 MakeSoftapManager(SoftApManager::Role::ROLE_SOFTAP, mApidStopWifi); in HandleConcreteStop()
1017 SoftApManager *softap = GetSoftApManager(id); in HandleSoftapStop()
1018 if (softap != nullptr && softap->GetRole() == SoftApManager::Role::ROLE_HAS_REMOVED) { in HandleSoftapStop()
[all …]
H A Dwifi_controller_state_machine.h138 void MakeSoftapManager(SoftApManager::Role role, int id);
142 SoftApManager *GetSoftApManager(int id);
168 std::vector<SoftApManager *> softapManagers;
/ohos5.0/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_manage/wifi_controller/
H A Dsoftap_manager_test.cpp39 pSoftApManager = std::make_unique<SoftApManager>(SoftApManager::Role::ROLE_SOFTAP, 0); in SetUp()
44 static_cast<int>(SoftApManager::Role::ROLE_UNKNOW), 0); in SetUp()
55 std::unique_ptr<SoftApManager> pSoftApManager;
60 pSoftApManager->SetRole(SoftApManager::Role::ROLE_UNKNOW); in SetRoleTest()
61 EXPECT_TRUE(pSoftApManager->GetRole() == SoftApManager::Role::ROLE_UNKNOW); in SetRoleTest()
H A Dwifi_controller_state_machine_test.cpp201SoftApManager *softapmode = new (std::nothrow) SoftApManager(SoftApManager::Role::ROLE_SOFTAP, 0); in SoftapToggledTest1()
238SoftApManager *softapmode = new (std::nothrow) SoftApManager(SoftApManager::Role::ROLE_HAS_REMOVED… in ApStartFailureTest()
242SoftApManager *softapmodeBack = new (std::nothrow) SoftApManager(SoftApManager::Role::ROLE_HAS_REM… in ApStartFailureTest()
284SoftApManager *softapmode = new (std::nothrow) SoftApManager(SoftApManager::Role::ROLE_SOFTAP, 0); in SoftApIdExistTest()