Searched refs:getActiveNetwork (Results 1 – 3 of 3) 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()
474 Network mNetwork = mManager.getActiveNetwork(); in connectivityStartNattKeepalive()1068 Network network = mManager.getActiveNetwork(); in connectivityGetActiveNetwork()1080 Network network = mManager.getActiveNetwork(); in connectivityGetMultipathPreference()
123 protected Network getActiveNetwork() { in getActiveNetwork() method in ShadowConnectivityManager