Home
last modified time | relevance | path

Searched refs:getActiveNetworkInfo (Results 1 – 5 of 5) sorted by relevance

/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
DConnectivityManagerTest.java29 shadowOfActiveNetworkInfo = shadowOf(connectivityManager.getActiveNetworkInfo()); in setUp()
35 assertNotNull(connectivityManager.getActiveNetworkInfo()); in getConnectivityManagerShouldNotBeNull()
42 assertTrue(connectivityManager.getActiveNetworkInfo().isConnectedOrConnecting()); in networkInfoShouldReturnTrueCorrectly()
43 assertTrue(connectivityManager.getActiveNetworkInfo().isConnected()); in networkInfoShouldReturnTrueCorrectly()
59 assertFalse(connectivityManager.getActiveNetworkInfo().isConnectedOrConnecting()); in networkInfoShouldReturnFalseCorrectly()
60 assertFalse(connectivityManager.getActiveNetworkInfo().isConnected()); in networkInfoShouldReturnFalseCorrectly()
82 assertNull(connectivityManager.getActiveNetworkInfo()); in shouldSetActiveNetworkInfo()
87 NetworkInfo info = connectivityManager.getActiveNetworkInfo(); in shouldSetActiveNetworkInfo()
100 assertSame(connectivityManager.getActiveNetworkInfo(), infos[0]); in shouldGetAllNetworkInfo()
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowConnectivityManager.java29 public NetworkInfo getActiveNetworkInfo() { in getActiveNetworkInfo() method in ShadowConnectivityManager
/external/glide/library/src/main/java/com/bumptech/glide/manager/
DDefaultConnectivityMonitor.java55 NetworkInfo networkInfo = connectivityManager.getActiveNetworkInfo(); in isConnected()
/external/apache-http/android/src/android/net/http/
DRequestQueue.java256 NetworkInfo info = mConnectivityManager.getActiveNetworkInfo(); in setProxyConfig()
/external/robolectric/lib/main/
Dandroid.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/android/ com/ ...