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