Home
last modified time | relevance | path

Searched refs:GetConnectionType (Results 1 – 25 of 26) sorted by relevance

12

/external/cronet/base/android/
Dradio_utils_unittest.cc16 EXPECT_EQ(RadioConnectionType::kUnknown, RadioUtils::GetConnectionType()); in TEST()
19 EXPECT_EQ(RadioConnectionType::kCell, RadioUtils::GetConnectionType()); in TEST()
22 EXPECT_EQ(RadioConnectionType::kWifi, RadioUtils::GetConnectionType()); in TEST()
Dradio_utils.h51 RadioConnectionType GetConnectionType() { return connection_type_; } in GetConnectionType() function
57 static RadioConnectionType GetConnectionType();
Dradio_utils.cc38 RadioConnectionType RadioUtils::GetConnectionType() { in GetConnectionType() function in base::android::RadioUtils
41 return g_overrider_for_tests->GetConnectionType(); in GetConnectionType()
/external/cronet/net/socket/
Dssl_connect_job.cc72 SSLSocketParams::ConnectionType SSLSocketParams::GetConnectionType() const { in GetConnectionType() function in net::SSLSocketParams
90 DCHECK_EQ(GetConnectionType(), DIRECT); in GetDirectConnectionParams()
96 DCHECK_EQ(GetConnectionType(), SOCKS_PROXY); in GetSocksProxyConnectionParams()
102 DCHECK_EQ(GetConnectionType(), HTTP_PROXY); in GetHttpProxyConnectionParams()
409 DCHECK_EQ(params_->GetConnectionType(), SSLSocketParams::DIRECT); in DoSSLConnect()
443 next_state_ = GetInitialState(params_->GetConnectionType()); in DoSSLConnectComplete()
475 next_state_ = GetInitialState(params_->GetConnectionType()); in DoSSLConnectComplete()
619 next_state_ = GetInitialState(params_->GetConnectionType()); in ConnectInternal()
Dconnect_job_factory_unittest.cc259 ASSERT_EQ(params.GetConnectionType(), SSLSocketParams::DIRECT); in TEST_F()
287 ASSERT_EQ(params.GetConnectionType(), SSLSocketParams::DIRECT); in TEST_F()
369 ASSERT_EQ(params.GetConnectionType(), SSLSocketParams::HTTP_PROXY); in TEST_F()
403 ASSERT_EQ(params.GetConnectionType(), SSLSocketParams::HTTP_PROXY); in TEST_F()
442 ASSERT_EQ(ssl_params.GetConnectionType(), SSLSocketParams::DIRECT); in TEST_F()
475 ASSERT_EQ(ssl_params.GetConnectionType(), SSLSocketParams::DIRECT); in TEST_F()
Dssl_connect_job.h58 ConnectionType GetConnectionType() const;
/external/cronet/net/base/fuchsia/
Dnetwork_interface_cache_unittest.cc94 EXPECT_EQ(cache.GetConnectionType(), in TEST_F()
113 EXPECT_EQ(cache.GetConnectionType(), NetworkChangeNotifier::CONNECTION_NONE); in TEST_F()
138 EXPECT_EQ(cache.GetConnectionType(), NetworkChangeNotifier::CONNECTION_NONE); in TEST_F()
Dnetwork_interface_cache.h87 NetworkChangeNotifier::ConnectionType GetConnectionType() const;
Dnetwork_interface_cache.cc204 NetworkChangeNotifier::ConnectionType NetworkInterfaceCache::GetConnectionType() in GetConnectionType() function in net::internal::NetworkInterfaceCache
/external/cronet/components/metrics/net/
Dnetwork_metrics_provider.cc99 network_connection_tracker_->GetConnectionType( in SetNetworkConnectionTracker()
114 network->set_connection_type(GetConnectionType()); in ProvideSystemProfileMetrics()
133 network_connection_tracker_->GetConnectionType(&connection_type_, in ProvideSystemProfileMetrics()
182 NetworkMetricsProvider::GetConnectionType() const { in GetConnectionType() function in metrics::NetworkMetricsProvider
Dcellular_logic_helper.cc40 net::NetworkChangeNotifier::GetConnectionType()); in ShouldUseCellularUploadInterval()
Dnetwork_metrics_provider.h84 SystemProfileProto::Network::ConnectionType GetConnectionType() const;
/external/cronet/net/quic/
Dnetwork_connection.cc24 OnConnectionTypeChanged(NetworkChangeNotifier::GetConnectionType()); in OnIPAddressChanged()
/external/cronet/net/base/
Dnetwork_change_notifier_unittest.cc278 NetworkChangeNotifier::GetConnectionType())); in TEST_F()
285 NetworkChangeNotifier::GetConnectionType())); in TEST_F()
Dnetwork_change_notifier.cc126 pending_connection_type_ = GetConnectionType(); in OnIPAddressChanged()
348 NetworkChangeNotifier::GetConnectionType() { in GetConnectionType() function in net::NetworkChangeNotifier
544 return GetConnectionType() == CONNECTION_NONE; in IsOffline()
960 GetConnectionType()); in NotifyObserversOfConnectionTypeChange()
Dnetwork_change_notifier_fuchsia.cc64 return cache_.GetConnectionType(); in GetCurrentConnectionType()
Dnetwork_change_notifier.h386 static ConnectionType GetConnectionType();
/external/cronet/net/android/
Dnetwork_change_notifier_delegate_android.h79 jint GetConnectionType(JNIEnv* env, jobject obj) const;
Dnetwork_change_notifier_delegate_android.cc248 jint NetworkChangeNotifierDelegateAndroid::GetConnectionType(JNIEnv*, in GetConnectionType() function in net::NetworkChangeNotifierDelegateAndroid
Dnetwork_change_notifier_android_unittest.cc385 base::BindRepeating(&NetworkChangeNotifier::GetConnectionType)); in TEST_F()
/external/cronet/net/tools/net_watcher/
Dnet_watcher.cc201 net::NetworkChangeNotifier::GetConnectionType()); in main()
/external/cronet/net/dns/
Dresolve_context.cc80 NetworkChangeNotifier::GetConnectionType(); in GetDefaultFallbackPeriod()
87 NetworkChangeNotifier::GetConnectionType(); in GetMaxFallbackPeriod()
/external/cronet/net/http/
Dhttp_proxy_connect_job.cc292 params.ssl_params()->GetConnectionType() == SSLSocketParams::DIRECT); in AlternateNestedConnectionTimeout()
/external/cronet/net/nqe/
Dnetwork_quality_estimator.cc84 NetworkChangeNotifier::GetConnectionType(), std::string(), INT32_MIN); in DoGetCurrentNetworkID()
/external/cronet/third_party/metrics_proto/
Dsystem_profile.proto511 // through NetworkMetricsProvider::GetConnectionType.
552 // translated through NetworkMetricsProvider::GetConnectionType.

12