Searched refs:getActiveNetworkInfo (Results 1 – 5 of 5) sorted by relevance
29 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()
29 public NetworkInfo getActiveNetworkInfo() { in getActiveNetworkInfo() method in ShadowConnectivityManager
55 NetworkInfo networkInfo = connectivityManager.getActiveNetworkInfo(); in isConnected()
256 NetworkInfo info = mConnectivityManager.getActiveNetworkInfo(); in setProxyConfig()
META-INF/ META-INF/MANIFEST.MF com/ com/android/ com/ ...