Home
last modified time | relevance | path

Searched refs:networkState (Results 1 – 3 of 3) sorted by relevance

/external/webrtc/talk/app/webrtc/java/android/org/webrtc/
DNetworkMonitorAutoDetect.java294 final NetworkState networkState = connectivityManagerDelegate.getNetworkState(); in NetworkMonitorAutoDetect() local
295 connectionType = getCurrentConnectionType(networkState); in NetworkMonitorAutoDetect()
296 wifiSSID = getCurrentWifiSSID(networkState); in NetworkMonitorAutoDetect()
364 public ConnectionType getCurrentConnectionType(NetworkState networkState) { in getCurrentConnectionType() argument
365 if (!networkState.isConnected()) { in getCurrentConnectionType()
369 switch (networkState.getNetworkType()) { in getCurrentConnectionType()
380 switch (networkState.getNetworkSubType()) { in getCurrentConnectionType()
407 private String getCurrentWifiSSID(NetworkState networkState) { in getCurrentWifiSSID() argument
408 if (getCurrentConnectionType(networkState) != ConnectionType.CONNECTION_WIFI) return ""; in getCurrentWifiSSID()
415 final NetworkState networkState = getCurrentNetworkState(); in onReceive() local
[all …]
DNetworkMonitor.java161 final NetworkMonitorAutoDetect.NetworkState networkState = in setAutoDetectConnectivityStateInternal() local
163 updateCurrentConnectionType(autoDetector.getCurrentConnectionType(networkState)); in setAutoDetectConnectivityStateInternal()
/external/webrtc/talk/app/webrtc/androidtests/src/org/webrtc/
DNetworkMonitorTest.java179 final NetworkMonitorAutoDetect.NetworkState networkState = in getCurrentConnectionType() local
181 return receiver.getCurrentConnectionType(networkState); in getCurrentConnectionType()