Home
last modified time | relevance | path

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

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowConnectivityManagerTest.java42 shadowOfActiveNetworkInfo = shadowOf(connectivityManager.getActiveNetworkInfo()); in setUp()
47 assertThat(connectivityManager.getActiveNetworkInfo()).isNotNull(); in getActiveNetworkInfo_shouldInitializeItself()
53 assertThat(connectivityManager.getActiveNetworkInfo().isConnectedOrConnecting()).isTrue(); in getActiveNetworkInfo_shouldReturnTrueCorrectly()
54 assertThat(connectivityManager.getActiveNetworkInfo().isConnected()).isTrue(); in getActiveNetworkInfo_shouldReturnTrueCorrectly()
57 assertThat(connectivityManager.getActiveNetworkInfo().isConnectedOrConnecting()).isTrue(); in getActiveNetworkInfo_shouldReturnTrueCorrectly()
58 assertThat(connectivityManager.getActiveNetworkInfo().isConnected()).isFalse(); in getActiveNetworkInfo_shouldReturnTrueCorrectly()
61 assertThat(connectivityManager.getActiveNetworkInfo().isConnectedOrConnecting()).isFalse(); in getActiveNetworkInfo_shouldReturnTrueCorrectly()
62 assertThat(connectivityManager.getActiveNetworkInfo().isConnected()).isFalse(); in getActiveNetworkInfo_shouldReturnTrueCorrectly()
127 assertThat(connectivityManager.getActiveNetworkInfo()).isNull(); in setActiveNetworkInfo_shouldSetActiveNetworkInfo()
137 NetworkInfo info = connectivityManager.getActiveNetworkInfo(); in setActiveNetworkInfo_shouldSetActiveNetworkInfo()
[all …]
DShadowWifiManagerTest.java451 .getActiveNetworkInfo(); in reconnect_updatesConnectivityManager()
/external/webrtc/talk/app/webrtc/java/android/org/webrtc/
DNetworkMonitorAutoDetect.java124 return getNetworkState(connectivityManager.getActiveNetworkInfo()); in getNetworkState()
175 final NetworkInfo defaultNetworkInfo = connectivityManager.getActiveNetworkInfo(); in getDefaultNetId()
/external/glide/library/src/main/java/com/bumptech/glide/manager/
DDefaultConnectivityMonitor.java55 NetworkInfo networkInfo = connectivityManager.getActiveNetworkInfo(); in isConnected()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowConnectivityManager.java114 protected NetworkInfo getActiveNetworkInfo() { in getActiveNetworkInfo() method in ShadowConnectivityManager
125 return netIdToNetwork.get(getActiveNetworkInfo().getType()); in getActiveNetwork()
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/
DConnectivityManagerFacade.java714 NetworkInfo current = mManager.getActiveNetworkInfo(); in connectivityNetworkGetActiveConnectionExtraInfo()
724 NetworkInfo current = mManager.getActiveNetworkInfo(); in connectivityNetworkGetActiveConnectionSubtypeName()
734 NetworkInfo current = mManager.getActiveNetworkInfo(); in connectivityNetworkGetActiveConnectionTypeName()
749 NetworkInfo current = mManager.getActiveNetworkInfo(); in connectivityNetworkIsConnected()
/external/grpc-grpc-java/android/src/main/java/io/grpc/android/
DAndroidChannelBuilder.java350 NetworkInfo networkInfo = conn.getActiveNetworkInfo(); in onReceive()
/external/apache-http/android/src/android/net/http/
DRequestQueue.java256 NetworkInfo info = mConnectivityManager.getActiveNetworkInfo(); in setProxyConfig()
/external/grpc-grpc-java/android/src/test/java/io/grpc/android/
DAndroidChannelBuilderTest.java321 NetworkInfo previousNetworkInfo = getActiveNetworkInfo(); in setActiveNetworkInfo()