Home
last modified time | relevance | path

Searched refs:CONNECTION_NONE (Results 1 – 25 of 48) sorted by relevance

12

/external/chromium_org/net/base/
Dnetwork_change_notifier.cc148 case NetworkChangeNotifier::CONNECTION_NONE: in OnConnectionTypeChanged()
187 case NetworkChangeNotifier::CONNECTION_NONE: in OnConnectionTypeChanged()
222 case NetworkChangeNotifier::CONNECTION_NONE: in OnConnectionTypeChanged()
232 if (type != NetworkChangeNotifier::CONNECTION_NONE) { in OnConnectionTypeChanged()
275 if (type != NetworkChangeNotifier::CONNECTION_NONE) { in OnNetworkChanged()
312 if (last_connection_type_ != NetworkChangeNotifier::CONNECTION_NONE) in NotifyDataReceived()
327 NetworkChangeNotifier::CONNECTION_NONE) { in NotifyDataReceived()
415 last_announced_connection_type_(CONNECTION_NONE), in NetworkChangeCalculator()
416 pending_connection_type_(CONNECTION_NONE) {} in NetworkChangeCalculator()
435 base::TimeDelta delay = last_announced_connection_type_ == CONNECTION_NONE in OnIPAddressChanged()
[all …]
Dnetwork_change_notifier_win.cc62 last_computed_connection_type_ == CONNECTION_NONE) { in NetworkChangeNotifierWin()
205 NetworkChangeNotifier::CONNECTION_NONE; in RecomputeCurrentConnectionType()
Dnetwork_change_notifier.h45 CONNECTION_NONE = 6, // No connection. enumerator
Dnetwork_change_notifier_mac.cc36 return NetworkChangeNotifier::CONNECTION_NONE; in CalculateConnectionType()
/external/chromium_org/net/android/java/src/org/chromium/net/
DNetworkChangeNotifier.java43 public static final int CONNECTION_NONE = 6; field in NetworkChangeNotifier
158 boolean connectionCurrentlyExists = mCurrentConnectionType != CONNECTION_NONE; in forceConnectivityStateInternal()
160 updateCurrentConnectionType(forceOnline ? CONNECTION_UNKNOWN : CONNECTION_NONE); in forceConnectivityStateInternal()
216 return connectionType != CONNECTION_UNKNOWN && connectionType != CONNECTION_NONE; in isOnline()
DNetworkChangeNotifierAutoDetect.java156 return NetworkChangeNotifier.CONNECTION_NONE; in getCurrentConnectionType()
/external/chromium_org/chrome/browser/web_resource/
Dresource_request_allowed_notifier_unittest.cc131 net::NetworkChangeNotifier::CONNECTION_NONE); in DisableEulaAndNetwork()
159 SimulateNetworkConnectionChange(net::NetworkChangeNotifier::CONNECTION_NONE); in TEST_F()
205 net::NetworkChangeNotifier::CONNECTION_NONE); in TEST_F()
221 net::NetworkChangeNotifier::CONNECTION_NONE); in TEST_F()
238 net::NetworkChangeNotifier::CONNECTION_NONE); in TEST_F()
Dresource_request_allowed_notifier.cc109 type != net::NetworkChangeNotifier::CONNECTION_NONE) { in OnConnectionTypeChanged()
114 type == net::NetworkChangeNotifier::CONNECTION_NONE) { in OnConnectionTypeChanged()
/external/chromium_org/net/android/
Dnetwork_change_notifier_android_unittest.cc76 EXPECT_EQ(NetworkChangeNotifier::CONNECTION_NONE, in RunTest()
83 EXPECT_EQ(NetworkChangeNotifier::CONNECTION_NONE, in RunTest()
117 ASSERT_EQ(NetworkChangeNotifier::CONNECTION_NONE, in TEST_F()
123 EXPECT_EQ(NetworkChangeNotifier::CONNECTION_NONE, in TEST_F()
Dnetwork_change_notifier_delegate_android.cc25 case NetworkChangeNotifier::CONNECTION_NONE: in ConvertConnectionType()
/external/chromium_org/chromeos/network/
Dnetwork_change_notifier_chromeos.cc55 connection_type_(CONNECTION_NONE) { in NetworkChangeNotifierChromeos()
122 if (connection_type_ != CONNECTION_NONE) { in UpdateState()
127 connection_type_ = CONNECTION_NONE; in UpdateState()
162 connection_type_ != CONNECTION_NONE); in UpdateState()
Dnetwork_change_notifier_chromeos_unittest.cc163 { NetworkChangeNotifier::CONNECTION_NONE, "", "", "" },
167 { NetworkChangeNotifier::CONNECTION_NONE, "", "", "" },
170 { NetworkChangeNotifier::CONNECTION_NONE, "", "", "" },
174 { NetworkChangeNotifier::CONNECTION_NONE, "", "", "" },
/external/chromium_org/components/metrics/net/
Dnetwork_metrics_provider.cc76 if (type == net::NetworkChangeNotifier::CONNECTION_NONE) in OnConnectionTypeChanged()
79 connection_type_ != net::NetworkChangeNotifier::CONNECTION_NONE) { in OnConnectionTypeChanged()
90 case net::NetworkChangeNotifier::CONNECTION_NONE: in GetConnectionType()
/external/chromium_org/net/android/javatests/src/org/chromium/net/
DNetworkChangeNotifierTest.java59 return getNetworkType() != NetworkChangeNotifier.CONNECTION_NONE; in isConnected()
159 connectivityDelegate.setNetworkType(NetworkChangeNotifier.CONNECTION_NONE); in testNetworkChangeNotifierJavaObservers()
/external/chromium_org/chromecast/net/
Dnetwork_change_notifier_cast.cc17 return net::NetworkChangeNotifier::CONNECTION_NONE; in GetCurrentConnectionType()
/external/chromium_org/content/renderer/
Dnet_info_helper.cc19 case net::NetworkChangeNotifier::CONNECTION_NONE: in NetConnectionTypeToWebConnectionType()
/external/chromium_org/net/socket_stream/
Dsocket_stream_metrics.h29 CONNECTION_NONE, enumerator
/external/chromium_org/content/browser/
Dnet_info_browsertest.cc76 SetConnectionType(net::NetworkChangeNotifier::CONNECTION_NONE); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/content/public/common/
Dweb_preferences.cc73 connection_type(net::NetworkChangeNotifier::CONNECTION_NONE), in WebPreferences()
/external/chromium_org/remoting/host/
Dsignaling_connector.cc81 if (type != net::NetworkChangeNotifier::CONNECTION_NONE && in OnConnectionTypeChanged()
/external/chromium_org/chrome/browser/extensions/api/dial/
Ddial_registry_unittest.cc302 registry_->OnNetworkChanged(net::NetworkChangeNotifier::CONNECTION_NONE); in TEST_F()
346 registry_->OnNetworkChanged(net::NetworkChangeNotifier::CONNECTION_NONE); in TEST_F()
/external/chromium_org/chrome/browser/chromeos/offline/
Doffline_load_page.cc155 const bool online = type != net::NetworkChangeNotifier::CONNECTION_NONE; in OnConnectionTypeChanged()
/external/chromium_org/net/tools/net_watcher/
Dnet_watcher.cc51 case net::NetworkChangeNotifier::CONNECTION_NONE: in ConnectionTypeToString()
/external/chromium_org/chrome/browser/chromeos/policy/
Dauto_enrollment_client_unittest.cc377 client_->OnNetworkChanged(net::NetworkChangeNotifier::CONNECTION_NONE); in TEST_F()
391 client_->OnNetworkChanged(net::NetworkChangeNotifier::CONNECTION_NONE); in TEST_F()
/external/chromium_org/chrome/browser/local_discovery/
Dprivet_traffic_detector.cc93 if (type != net::NetworkChangeNotifier::CONNECTION_NONE) in OnNetworkChanged()

12