Home
last modified time | relevance | path

Searched refs:isNetworkTypeValid (Results 1 – 5 of 5) sorted by relevance

/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DConnectivityManagerTest.java460 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 …]
/packages/modules/Connectivity/framework/src/android/net/
DNetworkInfo.java169 if (!ConnectivityManager.isNetworkTypeValid(type) in NetworkInfo()
DConnectivityManager.java1259 public static boolean isNetworkTypeValid(int networkType) { in isNetworkTypeValid() method in ConnectivityManager
/packages/modules/Connectivity/service/src/com/android/server/
DConnectivityService.java67 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)) {
/packages/modules/Connectivity/framework/api/
Dcurrent.txt89 method @Deprecated public static boolean isNetworkTypeValid(int);