Searched refs:isNetworkTypeValid (Results 1 – 5 of 5) sorted by relevance
460 assertTrue(ConnectivityManager.isNetworkTypeValid(ConnectivityManager.TYPE_MOBILE)); in testIsNetworkTypeValid()461 assertTrue(ConnectivityManager.isNetworkTypeValid(ConnectivityManager.TYPE_WIFI)); in testIsNetworkTypeValid()462 assertTrue(ConnectivityManager.isNetworkTypeValid(ConnectivityManager.TYPE_MOBILE_MMS)); in testIsNetworkTypeValid()463 assertTrue(ConnectivityManager.isNetworkTypeValid(ConnectivityManager.TYPE_MOBILE_SUPL)); in testIsNetworkTypeValid()464 assertTrue(ConnectivityManager.isNetworkTypeValid(ConnectivityManager.TYPE_MOBILE_DUN)); in testIsNetworkTypeValid()465 assertTrue(ConnectivityManager.isNetworkTypeValid(ConnectivityManager.TYPE_MOBILE_HIPRI)); in testIsNetworkTypeValid()466 assertTrue(ConnectivityManager.isNetworkTypeValid(ConnectivityManager.TYPE_WIMAX)); in testIsNetworkTypeValid()467 assertTrue(ConnectivityManager.isNetworkTypeValid(ConnectivityManager.TYPE_BLUETOOTH)); in testIsNetworkTypeValid()468 assertTrue(ConnectivityManager.isNetworkTypeValid(ConnectivityManager.TYPE_DUMMY)); in testIsNetworkTypeValid()469 assertTrue(ConnectivityManager.isNetworkTypeValid(ConnectivityManager.TYPE_ETHERNET)); in testIsNetworkTypeValid()[all …]
169 if (!ConnectivityManager.isNetworkTypeValid(type) in NetworkInfo()
1259 public static boolean isNetworkTypeValid(int networkType) { in isNetworkTypeValid() method in ConnectivityManager
67 import static android.net.ConnectivityManager.isNetworkTypeValid;1179 return isNetworkTypeValid(type) && mTypeLists[type] != null; in isTypeSupported()3266 if (!ConnectivityManager.isNetworkTypeValid(networkType)) {7376 if (!ConnectivityManager.isNetworkTypeValid(networkType)) {
89 method @Deprecated public static boolean isNetworkTypeValid(int);