Home
last modified time | relevance | path

Searched refs:getActiveNetwork (Results 1 – 7 of 7) sorted by relevance

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowConnectivityManagerTest.java148 assertThat(connectivityManager.getActiveNetwork()).isNotNull(); in getActiveNetwork_shouldInitializeItself()
155 assertThat(connectivityManager.getActiveNetwork()).isNull(); in getActiveNetwork_nullIfNetworkNotActive()
178 … assertThat(shadowOf(connectivityManager.getActiveNetwork()).getNetId()).isEqualTo(info.getType()); in setActiveNetworkInfo_shouldSetActiveNetwork()
480 shadowOf(connectivityManager).getActiveNetwork(), nc); in getNetworkCapabilities()
484 .getNetworkCapabilities(shadowOf(connectivityManager).getActiveNetwork()) in getNetworkCapabilities()
519 Network network = shadowOf(connectivityManager).getActiveNetwork(); in getLinkProperties()
529 Network network = shadowOf(connectivityManager).getActiveNetwork(); in getLinkProperties_shouldReturnNull()
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/net/
DSocketKeepaliveFacade.java147 Network network = mManager.getActiveNetwork(); in startNattSocketKeepalive()
185 Network network = mManager.getActiveNetwork(); in startTcpSocketKeepalive()
272 NetworkCapabilities netCap = mManager.getNetworkCapabilities(mManager.getActiveNetwork()); in getSupportedKeepalivesForNetwork()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/scheduler/
DRequirements.java172 Network activeNetwork = connectivityManager.getActiveNetwork(); in isInternetConnectivityValidated()
/external/downloader/src/main/java/com/google/android/downloader/
DAndroidConnectivityHandler.java115 Network network = connectivityManager.getActiveNetwork(); in connectivitySatisfied()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowConnectivityManager.java123 protected Network getActiveNetwork() { in getActiveNetwork() method in ShadowConnectivityManager
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/
DConnectivityManagerFacade.java1016 Network network = mManager.getActiveNetwork(); in connectivityGetActiveNetwork()
1028 Network network = mManager.getActiveNetwork(); in connectivityGetMultipathPreference()
/external/webrtc/sdk/android/api/org/webrtc/
DNetworkMonitorAutoDetect.java295 && network.equals(connectivityManager.getActiveNetwork())) { in getNetworkState()