Home
last modified time | relevance | path

Searched refs:setDefaultNetworkActive (Results 1 – 2 of 2) sorted by relevance

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowConnectivityManagerTest.java154 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()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowConnectivityManager.java300 public void setDefaultNetworkActive(boolean isActive) { in setDefaultNetworkActive() method in ShadowConnectivityManager