Home
last modified time | relevance | path

Searched refs:networkInfo (Results 1 – 20 of 20) sorted by relevance

/external/webrtc/talk/app/webrtc/java/android/org/webrtc/
DNetworkMonitorAutoDetect.java142 NetworkState getNetworkState(NetworkInfo networkInfo) { in getNetworkState() argument
143 if (networkInfo == null || !networkInfo.isConnected()) { in getNetworkState()
146 return new NetworkState(true, networkInfo.getType(), networkInfo.getSubtype()); in getNetworkState()
185 final NetworkInfo networkInfo = connectivityManager.getNetworkInfo(network); in getDefaultNetId() local
186 if (networkInfo != null && networkInfo.getType() == defaultNetworkInfo.getType()) { in getDefaultNetId()
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DNetworkInfoTest.java18 NetworkInfo networkInfo = Robolectric.newInstanceOf(NetworkInfo.class); in getDetailedState_shouldReturnTheAssignedState() local
19 shadowOf(networkInfo).setDetailedState(NetworkInfo.DetailedState.SCANNING); in getDetailedState_shouldReturnTheAssignedState()
20 assertThat(networkInfo.getDetailedState(), equalTo(NetworkInfo.DetailedState.SCANNING)); in getDetailedState_shouldReturnTheAssignedState()
DConnectivityManagerTest.java48 … NetworkInfo networkInfo = ShadowNetworkInfo.newInstance(NetworkInfo.DetailedState.CONNECTING); in getNetworkInfoShouldReturnAssignedValue() local
49 shadowConnectivityManager.setNetworkInfo(ConnectivityManager.TYPE_WIFI, networkInfo); in getNetworkInfoShouldReturnAssignedValue()
51 assertThat(actual, sameInstance(networkInfo)); in getNetworkInfoShouldReturnAssignedValue()
/external/glide/library/src/main/java/com/bumptech/glide/manager/
DDefaultConnectivityMonitor.java55 NetworkInfo networkInfo = connectivityManager.getActiveNetworkInfo(); in isConnected() local
56 return networkInfo != null && networkInfo.isConnected(); in isConnected()
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowNetworkInfo.java34 NetworkInfo networkInfo = Robolectric.newInstanceOf(NetworkInfo.class); in newInstance() local
35 final ShadowNetworkInfo info = shadowOf(networkInfo); in newInstance()
41 return networkInfo; in newInstance()
DShadowConnectivityManager.java48 public void setNetworkInfo(int networkType, NetworkInfo networkInfo) { in setNetworkInfo() argument
49 networkTypeToNetworkInfo.put(networkType, networkInfo); in setNetworkInfo()
/external/autotest/client/cros/networking/chrome_testing/network_test_ext/
Dbackground.js115 chrome.networkingPrivate.getProperties(networkId, function(networkInfo) { argument
116 self._setResult("getNetworkInfo", networkInfo);
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/wifi/
DWifiP2pManagerFacade.java247 NetworkInfo networkInfo = intent in onReceive() local
250 if (networkInfo.isConnected()) { in onReceive()
/external/robolectric/v3/runtime/
Dshadows-core-3.1-SNAPSHOT-22.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/ ...
Dshadows-core-3.1-SNAPSHOT-19.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/ ...
Dshadows-core-3.1-SNAPSHOT-16.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/ ...
Dshadows-core-3.1-SNAPSHOT-21.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/ ...
Dshadows-core-3.1-SNAPSHOT-18.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/ ...
Dshadows-core-3.1-SNAPSHOT-17.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/ ...
Dandroid-all-4.3_r2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/ ...
Dandroid-all-4.2.2_r1.2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/ ...
Dandroid-all-5.0.0_r2-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
Dandroid-all-4.4_r1-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
Dandroid-all-5.1.1_r9-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
Dandroid-all-4.1.2_r1-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/ ...