Searched refs:getActiveNetwork (Results 1 – 7 of 7) sorted by relevance
148 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()
147 Network network = mManager.getActiveNetwork(); in startNattSocketKeepalive()185 Network network = mManager.getActiveNetwork(); in startTcpSocketKeepalive()272 NetworkCapabilities netCap = mManager.getNetworkCapabilities(mManager.getActiveNetwork()); in getSupportedKeepalivesForNetwork()
172 Network activeNetwork = connectivityManager.getActiveNetwork(); in isInternetConnectivityValidated()
115 Network network = connectivityManager.getActiveNetwork(); in connectivitySatisfied()
123 protected Network getActiveNetwork() { in getActiveNetwork() method in ShadowConnectivityManager
1016 Network network = mManager.getActiveNetwork(); in connectivityGetActiveNetwork()1028 Network network = mManager.getActiveNetwork(); in connectivityGetMultipathPreference()
295 && network.equals(connectivityManager.getActiveNetwork())) { in getNetworkState()