/ohos5.0/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_manage/wifi_controller/ |
H A D | concrete_manager_state_machine_test.cpp | 140 EXPECT_TRUE(pConcreteManagerMachine->pIdleState->ExecuteStateMsg(msg)); in HandleSwitchToConnectOrMixModeTest() 150 EXPECT_TRUE(pConcreteManagerMachine->pIdleState->ExecuteStateMsg(msg)); in HandleSwitchToScanOnlyModeTest() 164 EXPECT_TRUE(pConcreteManagerMachine->pIdleState->ExecuteStateMsg(msg)); in HandleStartInIdleStateTest() 166 EXPECT_TRUE(pConcreteManagerMachine->pIdleState->ExecuteStateMsg(msg)); in HandleStartInIdleStateTest() 170 EXPECT_TRUE(pConcreteManagerMachine->pIdleState->ExecuteStateMsg(msg)); in HandleStartInIdleStateTest() 174 EXPECT_TRUE(pConcreteManagerMachine->pIdleState->ExecuteStateMsg(msg)); in HandleStartInIdleStateTest() 184 EXPECT_TRUE(pConcreteManagerMachine->pIdleState->ExecuteStateMsg(msg)); in HandleSwitchToSemiActiveModeTest() 261 EXPECT_TRUE(pConcreteManagerMachine->pIdleState->ExecuteStateMsg(msg)); in HandleStaStopTest1() 269 EXPECT_TRUE(pConcreteManagerMachine->pIdleState->ExecuteStateMsg(msg)); in HandleStaStopTest1() 275 EXPECT_TRUE(pConcreteManagerMachine->pIdleState->ExecuteStateMsg(msg)); in HandleStaStopTest1() [all …]
|
H A D | wifi_controller_state_machine_test.cpp | 96 EXPECT_TRUE(pWifiControllerMachine->pEnableState->ExecuteStateMsg(msg)); in WifiToggledTest1() 97 EXPECT_TRUE(pWifiControllerMachine->pDisableState->ExecuteStateMsg(msg)); in WifiToggledTest1() 114 EXPECT_TRUE(pWifiControllerMachine->pEnableState->ExecuteStateMsg(msg)); in WifiToggledTest2() 115 EXPECT_TRUE(pWifiControllerMachine->pDisableState->ExecuteStateMsg(msg)); in WifiToggledTest2() 118 EXPECT_TRUE(pWifiControllerMachine->pEnableState->ExecuteStateMsg(msg)); in WifiToggledTest2() 119 EXPECT_TRUE(pWifiControllerMachine->pDisableState->ExecuteStateMsg(msg)); in WifiToggledTest2() 120 EXPECT_TRUE(pWifiControllerMachine->pDefaultState->ExecuteStateMsg(msg)); in WifiToggledTest2() 132 EXPECT_TRUE(pWifiControllerMachine->pEnableState->ExecuteStateMsg(msg)); in HandleStaStartFail() 136 EXPECT_TRUE(pWifiControllerMachine->pEnableState->ExecuteStateMsg(msg)); in HandleStaStartFail() 140 EXPECT_TRUE(pWifiControllerMachine->pEnableState->ExecuteStateMsg(msg)); in HandleStaStartFail() [all …]
|
H A D | softap_manager_state_machine_test.cpp | 104 EXPECT_TRUE(pSoftapManagerMachine->pIdleState->ExecuteStateMsg(msg)); in HandleStartInIdleStateTest() 114 EXPECT_TRUE(pSoftapManagerMachine->pDefaultState->ExecuteStateMsg(msg)); in StopSoftapTest() 115 EXPECT_TRUE(pSoftapManagerMachine->pIdleState->ExecuteStateMsg(msg)); in StopSoftapTest() 116 EXPECT_TRUE(pSoftapManagerMachine->pStartedState->ExecuteStateMsg(msg)); in StopSoftapTest() 117 EXPECT_FALSE(pSoftapManagerMachine->pDefaultState->ExecuteStateMsg(nullptr)); in StopSoftapTest() 118 EXPECT_FALSE(pSoftapManagerMachine->pIdleState->ExecuteStateMsg(nullptr)); in StopSoftapTest() 119 EXPECT_FALSE(pSoftapManagerMachine->pStartedState->ExecuteStateMsg(nullptr)); in StopSoftapTest() 122 EXPECT_TRUE(pSoftapManagerMachine->pStartedState->ExecuteStateMsg(msg)); in StopSoftapTest() 125 EXPECT_TRUE(pSoftapManagerMachine->pStartedState->ExecuteStateMsg(msg)); in StopSoftapTest() 127 EXPECT_TRUE(pSoftapManagerMachine->pIdleState->ExecuteStateMsg(msg)); in StopSoftapTest() [all …]
|
/ohos5.0/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_manage/wifi_p2p/test/ |
H A D | p2p_enabled_state_test.cpp | 155 pP2pEnabledState->ExecuteStateMsg(msg); 156 pP2pEnabledState->ExecuteStateMsg(msg); 164 pP2pEnabledState->ExecuteStateMsg(msg); 174 pP2pEnabledState->ExecuteStateMsg(msg); 175 pP2pEnabledState->ExecuteStateMsg(msg); 184 pP2pEnabledState->ExecuteStateMsg(msg); 195 pP2pEnabledState->ExecuteStateMsg(msg); 204 pP2pEnabledState->ExecuteStateMsg(msg); 209 pP2pEnabledState->ExecuteStateMsg(msg); 216 pP2pEnabledState->ExecuteStateMsg(msg); [all …]
|
H A D | group_formed_state_test.cpp | 109 EXPECT_TRUE(pGroupFormedState->ExecuteStateMsg(msg)); 119 EXPECT_TRUE(pGroupFormedState->ExecuteStateMsg(msg)); 130 EXPECT_TRUE(pGroupFormedState->ExecuteStateMsg(msg)); 141 EXPECT_TRUE(pGroupFormedState->ExecuteStateMsg(msg)); 152 EXPECT_TRUE(pGroupFormedState->ExecuteStateMsg(msg)); 161 EXPECT_TRUE(pGroupFormedState->ExecuteStateMsg(msg)); 168 EXPECT_TRUE(pGroupFormedState->ExecuteStateMsg(msg)); 177 EXPECT_TRUE(pGroupFormedState->ExecuteStateMsg(msg)); 188 EXPECT_TRUE(pGroupFormedState->ExecuteStateMsg(msg)); 190 EXPECT_TRUE(pGroupFormedState->ExecuteStateMsg(msg)); [all …]
|
H A D | provision_discovery_state_test.cpp | 65 pGroupFormedState->ExecuteStateMsg(msg); in AddSaveP2pConfig1() 77 pGroupFormedState->ExecuteStateMsg(msg); in AddSaveP2pConfig2() 89 pGroupFormedState->ExecuteStateMsg(msg); in AddSaveP2pConfig3() 114 EXPECT_TRUE(pProvisionDiscoveryState->ExecuteStateMsg(msg)); 123 EXPECT_TRUE(pProvisionDiscoveryState->ExecuteStateMsg(msg)); 126 EXPECT_TRUE(pProvisionDiscoveryState->ExecuteStateMsg(msg)); 136 EXPECT_TRUE(pProvisionDiscoveryState->ExecuteStateMsg(msg)); 143 EXPECT_TRUE(pProvisionDiscoveryState->ExecuteStateMsg(msg)); 148 EXPECT_TRUE(pProvisionDiscoveryState->ExecuteStateMsg(msg)); 158 EXPECT_TRUE(pProvisionDiscoveryState->ExecuteStateMsg(msg)); [all …]
|
H A D | p2p_idle_state_test.cpp | 133 EXPECT_TRUE(pP2pIdleState->ExecuteStateMsg(msg)); 138 EXPECT_TRUE(pP2pIdleState->ExecuteStateMsg(msg)); 147 EXPECT_TRUE(pP2pIdleState->ExecuteStateMsg(msg)); 154 EXPECT_TRUE(pP2pIdleState->ExecuteStateMsg(msg)); 168 EXPECT_TRUE(pP2pIdleState->ExecuteStateMsg(msg)); 182 EXPECT_TRUE(pP2pIdleState->ExecuteStateMsg(msg)); 194 EXPECT_TRUE(pP2pIdleState->ExecuteStateMsg(msg)); 205 EXPECT_TRUE(pP2pIdleState->ExecuteStateMsg(msg)); 217 EXPECT_TRUE(pP2pIdleState->ExecuteStateMsg(msg)); 229 EXPECT_TRUE(pP2pIdleState->ExecuteStateMsg(msg)); [all …]
|
H A D | group_negotiation_state_test.cpp | 91 EXPECT_TRUE(pGroupNegotiationState->ExecuteStateMsg(msg)); 102 EXPECT_TRUE(pGroupNegotiationState->ExecuteStateMsg(msg)); 121 EXPECT_TRUE(pGroupNegotiationState->ExecuteStateMsg(msg)); 136 EXPECT_TRUE(pGroupNegotiationState->ExecuteStateMsg(msg)); 143 EXPECT_TRUE(pGroupNegotiationState->ExecuteStateMsg(msg)); 151 EXPECT_TRUE(pGroupNegotiationState->ExecuteStateMsg(msg)); 159 EXPECT_TRUE(pGroupNegotiationState->ExecuteStateMsg(msg)); 167 EXPECT_TRUE(pGroupNegotiationState->ExecuteStateMsg(msg)); 175 EXPECT_TRUE(pGroupNegotiationState->ExecuteStateMsg(msg)); 183 EXPECT_TRUE(pGroupNegotiationState->ExecuteStateMsg(msg)); [all …]
|
H A D | p2p_group_operating_state_test.cpp | 97 EXPECT_TRUE(pP2pGroupOperatingState->ExecuteStateMsg(msg)); 110 EXPECT_TRUE(pP2pGroupOperatingState->ExecuteStateMsg(msg)); 124 EXPECT_TRUE(pP2pGroupOperatingState->ExecuteStateMsg(msg)); 136 EXPECT_TRUE(pP2pGroupOperatingState->ExecuteStateMsg(msg)); 144 EXPECT_TRUE(pP2pGroupOperatingState->ExecuteStateMsg(msg)); 147 EXPECT_TRUE(pP2pGroupOperatingState->ExecuteStateMsg(msg)); 159 EXPECT_TRUE(pP2pGroupOperatingState->ExecuteStateMsg(msg)); 174 EXPECT_TRUE(pP2pGroupOperatingState->ExecuteStateMsg(msg)); 181 EXPECT_TRUE(pP2pGroupOperatingState->ExecuteStateMsg(msg)); 189 EXPECT_TRUE(pP2pGroupOperatingState->ExecuteStateMsg(msg)); [all …]
|
H A D | p2p_group_join_state_test.cpp | 64 pGroupFormedState->ExecuteStateMsg(msg); in AddSaveP2pConfig1() 77 pGroupFormedState->ExecuteStateMsg(msg); in AddSaveP2pConfig2() 96 HWTEST_F(P2pGroupJoinStateTest, ExecuteStateMsg, TestSize.Level1) 100 pP2pGroupJoinState->ExecuteStateMsg(msg); 113 pP2pGroupJoinState->ExecuteStateMsg(msg); 115 pP2pGroupJoinState->ExecuteStateMsg(msg); 117 pP2pGroupJoinState->ExecuteStateMsg(msg); 124 pP2pGroupJoinState->ExecuteStateMsg(msg);
|
H A D | authorizing_negotiation_request_state_test.cpp | 61 pGroupFormedState->ExecuteStateMsg(msg); in AddSaveP2pConfig() 82 HWTEST_F(AuthorizingNegotiationRequestStateTest, ExecuteStateMsg, TestSize.Level1) 90 pAuthorizingNegotlationRequestState->ExecuteStateMsg(msg); 101 pAuthorizingNegotlationRequestState->ExecuteStateMsg(msg); 108 pAuthorizingNegotlationRequestState->ExecuteStateMsg(msg); 117 pAuthorizingNegotlationRequestState->ExecuteStateMsg(msg); 124 pAuthorizingNegotlationRequestState->ExecuteStateMsg(msg);
|
H A D | p2p_inviting_state_test.cpp | 66 HWTEST_F(P2pInvitingStateTest, ExecuteStateMsg, TestSize.Level1) 70 pP2pInvitingState->ExecuteStateMsg(msg); 73 pP2pInvitingState->ExecuteStateMsg(msg); 76 pP2pInvitingState->ExecuteStateMsg(msg); 82 pP2pInvitingState->ExecuteStateMsg(msg);
|
H A D | p2p_group_formation_state_test.cpp | 66 HWTEST_F(P2pGroupFormationStateTest, ExecuteStateMsg, TestSize.Level1) 71 pP2pGroupFormationState->ExecuteStateMsg(msg); 73 pP2pGroupFormationState->ExecuteStateMsg(msg); 75 pP2pGroupFormationState->ExecuteStateMsg(msg); 80 pP2pGroupFormationState->ExecuteStateMsg(msg);
|
H A D | p2p_disabling_state_test.cpp | 66 HWTEST_F(P2pDisablingStateTest, ExecuteStateMsg, TestSize.Level1) 71 pP2pDisablingState->ExecuteStateMsg(msg); 74 pP2pDisablingState->ExecuteStateMsg(msg); 84 pP2pDisablingState->ExecuteStateMsg(msg); 94 EXPECT_TRUE(pP2pDisablingState->ExecuteStateMsg(msg));
|
H A D | invitation_request_state_test.cpp | 80 EXPECT_TRUE(pInvitationRequestState->ExecuteStateMsg(msg)); 88 EXPECT_TRUE(pInvitationRequestState->ExecuteStateMsg(msg)); 99 EXPECT_TRUE(pInvitationRequestState->ExecuteStateMsg(msg)); 106 EXPECT_TRUE(pInvitationRequestState->ExecuteStateMsg(msg)); 113 EXPECT_FALSE(pInvitationRequestState->ExecuteStateMsg(msg));
|
H A D | p2p_enabling_state_test.cpp | 66 HWTEST_F(P2pEnablingStateTest, ExecuteStateMsg, TestSize.Level1) 70 pP2pEnablingState->ExecuteStateMsg(msg); 74 pP2pEnablingState->ExecuteStateMsg(msg); 76 pP2pEnablingState->ExecuteStateMsg(msg);
|
H A D | invitation_recelved_state_test.cpp | 60 pGroupFormedState->ExecuteStateMsg(msg); in AddSaveP2pConfig() 87 pInvitationReceivedState->ExecuteStateMsg(msg); 94 pInvitationReceivedState->ExecuteStateMsg(msg); 101 pInvitationReceivedState->ExecuteStateMsg(msg);
|
/ohos5.0/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_manage/wifi_scan/ |
H A D | scan_state_machine_test.cpp | 81 EXPECT_TRUE(pScanStateMachine->initState->ExecuteStateMsg(msg) == true); in InitExeMsgSuccess1() 88 EXPECT_TRUE(pScanStateMachine->initState->ExecuteStateMsg(msg) == true); in InitExeMsgSuccess2() 95 EXPECT_TRUE(pScanStateMachine->initState->ExecuteStateMsg(msg) == true); in InitExeMsgSuccess3() 102 EXPECT_TRUE(pScanStateMachine->initState->ExecuteStateMsg(msg) == true); in InitExeMsgSuccess4() 109 EXPECT_TRUE(pScanStateMachine->initState->ExecuteStateMsg(msg) == true); in InitExeMsgSuccess5() 116 EXPECT_TRUE(pScanStateMachine->initState->ExecuteStateMsg(msg) == true); in InitExeMsgSuccess6() 123 EXPECT_TRUE(pScanStateMachine->initState->ExecuteStateMsg(msg) == true); in InitExeMsgSuccess7() 130 EXPECT_TRUE(pScanStateMachine->initState->ExecuteStateMsg(msg) == true); in InitExeMsgSuccess8() 137 EXPECT_TRUE(pScanStateMachine->initState->ExecuteStateMsg(msg) == true); in InitExeMsgSuccess9() 151 EXPECT_TRUE(pScanStateMachine->initState->ExecuteStateMsg(msg) == true); in InitExeMsgSuccess11() [all …]
|
/ohos5.0/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_scan/ |
H A D | scan_state_machine.h | 77 bool ExecuteStateMsg(InternalMessagePtr msg); 105 bool ExecuteStateMsg(InternalMessagePtr msg); 121 bool ExecuteStateMsg(InternalMessagePtr msg); 137 bool ExecuteStateMsg(InternalMessagePtr msg); 153 bool ExecuteStateMsg(InternalMessagePtr msg); 169 bool ExecuteStateMsg(InternalMessagePtr msg); 185 bool ExecuteStateMsg(InternalMessagePtr msg); 201 bool ExecuteStateMsg(InternalMessagePtr msg); 217 bool ExecuteStateMsg(InternalMessagePtr msg); 233 bool ExecuteStateMsg(InternalMessagePtr msg); [all …]
|
/ohos5.0/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_manage/wifi_ap/ |
H A D | ap_idle_state_test.cpp | 83 EXPECT_TRUE(pApIdleState->ExecuteStateMsg(msg)); 87 EXPECT_TRUE(pApIdleState->ExecuteStateMsg(msg)); 96 EXPECT_FALSE(pApIdleState->ExecuteStateMsg(msg)); 100 EXPECT_FALSE(pApIdleState->ExecuteStateMsg(msg)); 102 EXPECT_FALSE(pApIdleState->ExecuteStateMsg(nullptr));
|
H A D | ap_root_state_test.cpp | 57 EXPECT_TRUE(pApRootState->ExecuteStateMsg(msg)); 60 EXPECT_TRUE(pApRootState->ExecuteStateMsg(msg)); 63 EXPECT_TRUE(pApRootState->ExecuteStateMsg(msg)); 69 EXPECT_FALSE(pApRootState->ExecuteStateMsg(nullptr));
|
/ohos5.0/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_pro/ |
H A D | wifi_pro_state_machine.h | 45 bool ExecuteStateMsg(InternalMessagePtr msg) override; 62 bool ExecuteStateMsg(InternalMessagePtr msg) override; 79 bool ExecuteStateMsg(InternalMessagePtr msg) override; 95 bool ExecuteStateMsg(InternalMessagePtr msg) override; 113 bool ExecuteStateMsg(InternalMessagePtr msg) override; 129 bool ExecuteStateMsg(InternalMessagePtr msg) override; 167 bool ExecuteStateMsg(InternalMessagePtr msg) override; 179 bool ExecuteStateMsg(InternalMessagePtr msg) override;
|
/ohos5.0/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_controller/ |
H A D | concrete_manager_state_machine.h | 43 bool ExecuteStateMsg(InternalMessagePtr msg) override; 59 bool ExecuteStateMsg(InternalMessagePtr msg) override; 71 bool ExecuteStateMsg(InternalMessagePtr msg) override; 85 bool ExecuteStateMsg(InternalMessagePtr msg) override; 99 bool ExecuteStateMsg(InternalMessagePtr msg) override;
|
/ohos5.0/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_sta/ |
H A D | sta_state_machine.h | 162 bool ExecuteStateMsg(InternalMessagePtr msg) override; 174 bool ExecuteStateMsg(InternalMessagePtr msg) override; 190 bool ExecuteStateMsg(InternalMessagePtr msg) override; 205 bool ExecuteStateMsg(InternalMessagePtr msg) override; 220 bool ExecuteStateMsg(InternalMessagePtr msg) override; 235 bool ExecuteStateMsg(InternalMessagePtr msg) override; 250 bool ExecuteStateMsg(InternalMessagePtr msg) override; 262 bool ExecuteStateMsg(InternalMessagePtr msg) override; 277 bool ExecuteStateMsg(InternalMessagePtr msg) override; 296 bool ExecuteStateMsg(InternalMessagePtr msg) override; [all …]
|
/ohos5.0/foundation/communication/wifi/wifi/test/fuzztest/fuzz_common_func/ |
H A D | mock_wifi_ap_service.cpp | 34 bool MockApRootState::ExecuteStateMsg(InternalMessagePtr msg) in ExecuteStateMsg() function in OHOS::Wifi::MockApRootState 49 bool MockApIdleState::ExecuteStateMsg(InternalMessagePtr msg) in ExecuteStateMsg() function in OHOS::Wifi::MockApIdleState 64 bool MockApStartedState::ExecuteStateMsg(InternalMessagePtr msg) in ExecuteStateMsg() function in OHOS::Wifi::MockApStartedState
|