Home
last modified time | relevance | path

Searched refs:urlRedirect (Results 1 - 23 of 23) sorted by relevance

/foundation/communication/netmanager_base/frameworks/native/netconnclient/src/proxy/
H A Dnet_detection_callback_stub.cpp53 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 Dnetwork_test.cpp40 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 Dnet_monitor_test.cpp34 inline void OnHandleNetMonitorResult(NetDetectionStatus netDetectionState, const std::string &urlRedirect) override
37 (void)urlRedirect; variable
H A Dnet_conn_hievent_test.cpp40 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 Dnet_detection_callback_proxy.cpp29 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 Dnet_detection_callback_test.cpp41 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 Dnet_detection_callback_test.h31 NetDetectionResultCode detectionResult, const std::string &urlRedirect) override;
H A Dnet_detection_callback_stub_test.cpp30 int32_t OnNetDetectionResultChanged(NetDetectionResultCode detectionResult, const std::string &urlRedirect) override
H A Dnet_conn_manager_test.cpp374 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 Dnetwork.h68 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 Di_net_monitor_callback.h28 virtual void OnHandleNetMonitorResult(NetDetectionStatus netDetectionState, const std::string &urlRedirect) = 0;
H A Dnet_conn_types.h48 const std::string &urlRedirect)>;
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_common/
H A Dwifi_net_observer.cpp71 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 Dwifi_net_observer.h68 * @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 Di_net_detection_callback.h34 NetDetectionResultCode detectionResult, const std::string &urlRedirect) = 0;
H A Dnet_detection_callback_stub.h36 const std::string &urlRedirect) override;
/foundation/communication/netmanager_base/services/netconnmanager/include/stub/
H A Dnet_detection_callback_proxy.h32 NetDetectionResultCode detectionResult, const std::string &urlRedirect) override;
/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_manage/wifi_sta/Mock/
H A Dnet_detection_cakkback_stub.cpp37 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 Dwifi_net_observer_test.cpp57 [](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 Dnetwork.cpp588 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 Dnet_conn_manager_test.cpp374 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 Dnet_conn_service_proxy_test.cpp161 int32_t OnNetDetectionResultChanged(NetDetectionResultCode resultCode, const std::string &urlRedirect) override
/foundation/communication/netmanager_base/test/fuzztest/netconnclient_fuzzer/
H A Dnet_conn_client_fuzzer.cpp87 virtual int32_t OnNetDetectionResultChanged(NetDetectionResultCode detectionResult, const std::string &urlRedirect) in OnNetDetectionResultChanged() argument

Completed in 16 milliseconds