/foundation/communication/netmanager_base/frameworks/native/netconnclient/src/proxy/ |
H A D | net_detection_callback_stub.cpp | 53 std::string urlRedirect; in OnNetDetectionResult() local 54 if (!data.ReadString(urlRedirect)) { in OnNetDetectionResult() 63 int32_t ret = OnNetDetectionResultChanged(static_cast<NetDetectionResultCode>(netDetectionResult), urlRedirect); in OnNetDetectionResult() 73 const std::string &urlRedirect) in OnNetDetectionResultChanged() 72 OnNetDetectionResultChanged(NetDetectionResultCode detectionResult, const std::string &urlRedirect) OnNetDetectionResultChanged() argument
|
/foundation/communication/netmanager_base/test/netconnmanager/unittest/net_conn_multi_test/ |
H A D | network_test.cpp | 40 const std::string &urlRedirect) override 167 std::string urlRedirect = "test_redirect"; in HWTEST_F() local 168 instance_->OnHandleNetMonitorResult(NetDetectionStatus::INVALID_DETECTION_STATE, urlRedirect); in HWTEST_F() 173 std::string urlRedirect = "test_redirect"; in HWTEST_F() local 174 instance_->OnHandleNetMonitorResult(NetDetectionStatus::INVALID_DETECTION_STATE, urlRedirect); in HWTEST_F() 176 instance_->OnHandleNetMonitorResult(NetDetectionStatus::VERIFICATION_STATE, urlRedirect); in HWTEST_F()
|
H A D | net_monitor_test.cpp | 34 inline void OnHandleNetMonitorResult(NetDetectionStatus netDetectionState, const std::string &urlRedirect) override 37 (void)urlRedirect; variable
|
H A D | net_conn_hievent_test.cpp | 40 void HandleNetMonitorResult(NetDetectionStatus netDetectionState, const std::string &urlRedirect); 99 void NetConnHiEventTest::HandleNetMonitorResult(NetDetectionStatus netDetectionState, const std::string &urlRedirect) {} in HandleNetMonitorResult() argument
|
/foundation/communication/netmanager_base/services/netconnmanager/src/stub/ |
H A D | net_detection_callback_proxy.cpp | 29 const std::string &urlRedirect) in OnNetDetectionResultChanged() 37 if (!dataParcel.WriteString(urlRedirect)) { in OnNetDetectionResultChanged() 28 OnNetDetectionResultChanged(NetDetectionResultCode detectionResult, const std::string &urlRedirect) OnNetDetectionResultChanged() argument
|
/foundation/communication/netmanager_base/test/netconnmanager/unittest/net_conn_manager_test/ |
H A D | net_detection_callback_test.cpp | 41 NetDetectionResultCode detectionResult, const std::string &urlRedirect) in OnNetDetectionResultChanged() 44 urlRedirect_ = urlRedirect; in OnNetDetectionResultChanged() 59 netDetectionResult_ << " urlRedirect:" << urlRedirect_ << std::endl; in OnNetDetectionResultChanged() 40 OnNetDetectionResultChanged( NetDetectionResultCode detectionResult, const std::string &urlRedirect) OnNetDetectionResultChanged() argument
|
H A D | net_detection_callback_test.h | 31 NetDetectionResultCode detectionResult, const std::string &urlRedirect) override;
|
H A D | net_detection_callback_stub_test.cpp | 30 int32_t OnNetDetectionResultChanged(NetDetectionResultCode detectionResult, const std::string &urlRedirect) override
|
H A D | net_conn_manager_test.cpp | 374 std::string urlRedirect = detectionCallback->GetUrlRedirect(); in HWTEST_F() local 375 std::cout << "RegisterNetDetectionCallback urlRedirect:" << urlRedirect << std::endl; in HWTEST_F() 387 urlRedirect = detectionCallback->GetUrlRedirect(); in HWTEST_F() 388 ASSERT_TRUE(urlRedirect.empty()); in HWTEST_F() 389 std::cout << "RegisterNetDetectionCallback urlRedirect:" << urlRedirect << std::endl; in HWTEST_F()
|
/foundation/communication/netmanager_base/services/netconnmanager/include/ |
H A D | network.h | 68 void OnHandleNetMonitorResult(NetDetectionStatus netDetectionState, const std::string &urlRedirect) override; 83 void HandleNetMonitorResult(NetDetectionStatus netDetectionState, const std::string &urlRedirect); 84 void NotifyNetDetectionResult(NetDetectionResultCode detectionResult, const std::string &urlRedirect);
|
H A D | i_net_monitor_callback.h | 28 virtual void OnHandleNetMonitorResult(NetDetectionStatus netDetectionState, const std::string &urlRedirect) = 0;
|
H A D | net_conn_types.h | 48 const std::string &urlRedirect)>;
|
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_common/ |
H A D | wifi_net_observer.cpp | 71 NetManagerStandard::NetDetectionResultCode detectionResult, const std::string &urlRedirect) in OnNetDetectionResultChanged() 73 WIFI_LOGD("OnNetDetectionResultChanged nettype:%{public}d, url:%{private}s", detectionResult, urlRedirect.c_str()); in OnNetDetectionResultChanged() 76 m_callback(SystemNetWorkState::NETWORK_IS_PORTAL, urlRedirect); in OnNetDetectionResultChanged() 70 OnNetDetectionResultChanged( NetManagerStandard::NetDetectionResultCode detectionResult, const std::string &urlRedirect) OnNetDetectionResultChanged() argument
|
H A D | wifi_net_observer.h | 68 * @param urlRedirect - portal network redirection address 72 NetManagerStandard::NetDetectionResultCode detectionResult, const std::string &urlRedirect) override;
|
/foundation/communication/netmanager_base/interfaces/innerkits/netconnclient/include/proxy/ |
H A D | i_net_detection_callback.h | 34 NetDetectionResultCode detectionResult, const std::string &urlRedirect) = 0;
|
H A D | net_detection_callback_stub.h | 36 const std::string &urlRedirect) override;
|
/foundation/communication/netmanager_base/services/netconnmanager/include/stub/ |
H A D | net_detection_callback_proxy.h | 32 NetDetectionResultCode detectionResult, const std::string &urlRedirect) override;
|
/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_manage/wifi_sta/Mock/ |
H A D | net_detection_cakkback_stub.cpp | 37 const std::string &urlRedirect) in OnNetDetectionResultChanged() 36 OnNetDetectionResultChanged(NetDetectionResultCode detectionResult, const std::string &urlRedirect) OnNetDetectionResultChanged() argument
|
/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_manage/unittest/common/ |
H A D | wifi_net_observer_test.cpp | 57 [](SystemNetWorkState netState, std::string urlRedirect) { in HWTEST_F() 85 [this, &result](SystemNetWorkState netState, std::string urlRedirect) { in HWTEST_F()
|
/foundation/communication/netmanager_base/services/netconnmanager/src/ |
H A D | network.cpp | 588 void Network::HandleNetMonitorResult(NetDetectionStatus netDetectionState, const std::string &urlRedirect) in HandleNetMonitorResult() argument 592 NotifyNetDetectionResult(NetDetectionResultConvert(static_cast<int32_t>(netDetectionState)), urlRedirect); in HandleNetMonitorResult() 599 void Network::NotifyNetDetectionResult(NetDetectionResultCode detectionResult, const std::string &urlRedirect) in NotifyNetDetectionResult() argument 604 callback->OnNetDetectionResultChanged(detectionResult, urlRedirect); in NotifyNetDetectionResult() 722 void Network::OnHandleNetMonitorResult(NetDetectionStatus netDetectionState, const std::string &urlRedirect) in OnHandleNetMonitorResult() argument 726 eventHandler_->PostAsyncTask([netDetectionState, urlRedirect, in OnHandleNetMonitorResult() 727 network]() { network->HandleNetMonitorResult(netDetectionState, urlRedirect); }, in OnHandleNetMonitorResult()
|
/foundation/communication/netmanager_ext/test/vpnmanager/unittest/conn_vpn_manager_test/ |
H A D | net_conn_manager_test.cpp | 374 std::string urlRedirect = detectionCallback->GetUrlRedirect(); in HWTEST_F() local 375 std::cout << "RegisterNetDetectionCallback urlRedirect:" << urlRedirect << std::endl; in HWTEST_F() 387 urlRedirect = detectionCallback->GetUrlRedirect(); in HWTEST_F() 388 ASSERT_TRUE(urlRedirect.empty()); in HWTEST_F() 389 std::cout << "RegisterNetDetectionCallback urlRedirect:" << urlRedirect << std::endl; in HWTEST_F()
|
/foundation/communication/netmanager_base/test/netconnmanager/unittest/net_conn_service_test/ |
H A D | net_conn_service_proxy_test.cpp | 161 int32_t OnNetDetectionResultChanged(NetDetectionResultCode resultCode, const std::string &urlRedirect) override
|
/foundation/communication/netmanager_base/test/fuzztest/netconnclient_fuzzer/ |
H A D | net_conn_client_fuzzer.cpp | 87 virtual int32_t OnNetDetectionResultChanged(NetDetectionResultCode detectionResult, const std::string &urlRedirect) in OnNetDetectionResultChanged() argument
|