Searched refs:isNetworkTypeValid (Results 1 – 5 of 5) sorted by relevance
390 assertTrue(ConnectivityManager.isNetworkTypeValid(ConnectivityManager.TYPE_MOBILE)); in testIsNetworkTypeValid()391 assertTrue(ConnectivityManager.isNetworkTypeValid(ConnectivityManager.TYPE_WIFI)); in testIsNetworkTypeValid()392 assertTrue(ConnectivityManager.isNetworkTypeValid(ConnectivityManager.TYPE_MOBILE_MMS)); in testIsNetworkTypeValid()393 assertTrue(ConnectivityManager.isNetworkTypeValid(ConnectivityManager.TYPE_MOBILE_SUPL)); in testIsNetworkTypeValid()394 assertTrue(ConnectivityManager.isNetworkTypeValid(ConnectivityManager.TYPE_MOBILE_DUN)); in testIsNetworkTypeValid()395 assertTrue(ConnectivityManager.isNetworkTypeValid(ConnectivityManager.TYPE_MOBILE_HIPRI)); in testIsNetworkTypeValid()396 assertTrue(ConnectivityManager.isNetworkTypeValid(ConnectivityManager.TYPE_WIMAX)); in testIsNetworkTypeValid()397 assertTrue(ConnectivityManager.isNetworkTypeValid(ConnectivityManager.TYPE_BLUETOOTH)); in testIsNetworkTypeValid()398 assertTrue(ConnectivityManager.isNetworkTypeValid(ConnectivityManager.TYPE_DUMMY)); in testIsNetworkTypeValid()399 assertTrue(ConnectivityManager.isNetworkTypeValid(ConnectivityManager.TYPE_ETHERNET)); in testIsNetworkTypeValid()[all …]
168 if (!ConnectivityManager.isNetworkTypeValid(type) in NetworkInfo()
959 public static boolean isNetworkTypeValid(int networkType) { in isNetworkTypeValid() method in ConnectivityManager
89 method @Deprecated public static boolean isNetworkTypeValid(int);
55 import static android.net.ConnectivityManager.isNetworkTypeValid;890 return isNetworkTypeValid(type) && mTypeLists[type] != null; in isTypeSupported()2392 if (!ConnectivityManager.isNetworkTypeValid(networkType)) { in requestRouteToHostAddress()5515 if (!ConnectivityManager.isNetworkTypeValid(networkType)) { in setProvisioningNotificationVisible()