Searched refs:setDefaultNetworkActive (Results 1 – 2 of 2) sorted by relevance
154 shadowOf(connectivityManager).setDefaultNetworkActive(false); in getActiveNetwork_nullIfNetworkNotActive()217 shadowOf(connectivityManager).setDefaultNetworkActive(false); in getAllNetworkInfo_nullIfNetworkNotActive()384 shadowOf(connectivityManager).setDefaultNetworkActive(false); in isActiveNetworkMetered_noDefaultNetworkActive()405 shadowOf(connectivityManager).setDefaultNetworkActive(false); in isDefaultNetworkActive_notActive()426 shadowOf(connectivityManager).setDefaultNetworkActive(true); in addDefaultNetworkActiveListener_shouldAddListener()443 shadowOf(connectivityManager).setDefaultNetworkActive(true); in removeDefaultNetworkActiveListener_shouldRemoveListeners()450 shadowOf(connectivityManager).setDefaultNetworkActive(true); in removeDefaultNetworkActiveListener_shouldRemoveListeners()457 shadowOf(connectivityManager).setDefaultNetworkActive(true); in removeDefaultNetworkActiveListener_shouldRemoveListeners()
300 public void setDefaultNetworkActive(boolean isActive) { in setDefaultNetworkActive() method in ShadowConnectivityManager