Searched refs:setNetworkSupported (Results 1 – 4 of 4) sorted by relevance
59 connectivityManager.setNetworkSupported(ConnectivityManager.TYPE_MOBILE, true); in setUp()80 connectivityManager.setNetworkSupported(ConnectivityManager.TYPE_MOBILE, false); in isWifiOnly_notAvailable()98 connectivityManager.setNetworkSupported(ConnectivityManager.TYPE_MOBILE, false); in isWifiOnly_notEnable()
61 connectivityManager.setNetworkSupported(ConnectivityManager.TYPE_MOBILE, false); in getAvailability_wifiOnly_unavailable()72 connectivityManager.setNetworkSupported(ConnectivityManager.TYPE_MOBILE, true); in getAvailability_hasMobile_available()
93 connectivityManager.setNetworkSupported(ConnectivityManager.TYPE_MOBILE, true); in secondaryUser_prefIsNotAvailable()105 connectivityManager.setNetworkSupported(ConnectivityManager.TYPE_MOBILE, false); in wifiOnly_prefIsNotAvailable()
33 public void setNetworkSupported(int networkType, boolean supported) { in setNetworkSupported() method in ShadowConnectivityManager