Home
last modified time | relevance | path

Searched refs:ConnectionType (Results 1 – 8 of 8) sorted by relevance

/external/webrtc/talk/app/webrtc/java/android/org/webrtc/
DNetworkMonitor.java30 import static org.webrtc.NetworkMonitorAutoDetect.ConnectionType;
51 public void onConnectionTypeChanged(ConnectionType connectionType); in onConnectionTypeChanged()
67 private ConnectionType currentConnectionType = ConnectionType.CONNECTION_UNKNOWN;
132 private ConnectionType getCurrentConnectionType() { in getCurrentConnectionType()
156 public void onConnectionTypeChanged(ConnectionType newConnectionType) { in setAutoDetectConnectivityStateInternal()
167 private void updateCurrentConnectionType(ConnectionType newConnectionType) { in updateCurrentConnectionType()
175 private void notifyObserversOfConnectionTypeChange(ConnectionType newConnectionType) { in notifyObserversOfConnectionTypeChange()
210 ConnectionType connectionType = getInstance().getCurrentConnectionType(); in isOnline()
211 return connectionType != ConnectionType.CONNECTION_UNKNOWN in isOnline()
212 && connectionType != ConnectionType.CONNECTION_NONE; in isOnline()
DNetworkMonitorAutoDetect.java58 public static enum ConnectionType { enum in NetworkMonitorAutoDetect
272 private ConnectionType connectionType;
282 public void onConnectionTypeChanged(ConnectionType newConnectionType); in onConnectionTypeChanged()
364 public ConnectionType getCurrentConnectionType(NetworkState networkState) { in getCurrentConnectionType()
366 return ConnectionType.CONNECTION_NONE; in getCurrentConnectionType()
371 return ConnectionType.CONNECTION_ETHERNET; in getCurrentConnectionType()
373 return ConnectionType.CONNECTION_WIFI; in getCurrentConnectionType()
375 return ConnectionType.CONNECTION_4G; in getCurrentConnectionType()
377 return ConnectionType.CONNECTION_BLUETOOTH; in getCurrentConnectionType()
386 return ConnectionType.CONNECTION_2G; in getCurrentConnectionType()
[all …]
/external/libbrillo/brillo/glib/
Ddbus.h277 typedef MonitorConnection<void(A1)> ConnectionType; in Monitor() typedef
279 ConnectionType* result = new ConnectionType(proxy, name, monitor, object); in Monitor()
284 proxy.gproxy(), name, G_CALLBACK(&ConnectionType::Run), result, nullptr); in Monitor()
293 typedef MonitorConnection<void(A1, A2)> ConnectionType; in Monitor() typedef
295 ConnectionType* result = new ConnectionType(proxy, name, monitor, object); in Monitor()
303 proxy.gproxy(), name, G_CALLBACK(&ConnectionType::Run), result, nullptr); in Monitor()
312 typedef MonitorConnection<void(A1, A2, A3)> ConnectionType; in Monitor() typedef
314 ConnectionType* result = new ConnectionType(proxy, name, monitor, object); in Monitor()
323 proxy.gproxy(), name, G_CALLBACK(&ConnectionType::Run), result, nullptr); in Monitor()
333 typedef MonitorConnection<void(A1, A2, A3, A4)> ConnectionType; in Monitor() typedef
[all …]
/external/webrtc/talk/app/webrtc/androidtests/src/org/webrtc/
DNetworkMonitorTest.java29 import static org.webrtc.NetworkMonitorAutoDetect.ConnectionType;
62 public void onConnectionTypeChanged(ConnectionType connectionType) { in onConnectionTypeChanged()
140 public void onConnectionTypeChanged(ConnectionType newConnectionType) {} in onConnectionTypeChanged()
178 private NetworkMonitorAutoDetect.ConnectionType getCurrentConnectionType() { in getCurrentConnectionType()
/external/python/cpython2/Modules/_multiprocessing/
Dmultiprocessing.c271 if (PyType_Ready(&ConnectionType) < 0) in init_multiprocessing()
273 Py_INCREF(&ConnectionType); in init_multiprocessing()
274 PyModule_AddObject(module, "Connection", (PyObject*)&ConnectionType); in init_multiprocessing()
Dmultiprocessing.h138 extern PyTypeObject ConnectionType;
Dsocket_connection.c275 #define CONNECTION_TYPE ConnectionType
/external/libchrome/dbus/
Dbus.h158 enum ConnectionType { enum
192 ConnectionType connection_type; // PRIVATE by default.
690 const ConnectionType connection_type_;