Home
last modified time | relevance | path

Searched refs:canSupportNetworkType (Results 1 – 3 of 3) sorted by relevance

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DApnSettingTest.java760 assertFalse(apn1.canSupportNetworkType(TelephonyManager.NETWORK_TYPE_1xRTT)); in testCanHandleNetwork()
761 assertTrue(apn1.canSupportNetworkType(TelephonyManager.NETWORK_TYPE_LTE)); in testCanHandleNetwork()
762 assertTrue(apn1.canSupportNetworkType(TelephonyManager.NETWORK_TYPE_UMTS)); in testCanHandleNetwork()
764 assertFalse(apn2.canSupportNetworkType(TelephonyManager.NETWORK_TYPE_1xRTT)); in testCanHandleNetwork()
765 assertFalse(apn2.canSupportNetworkType(TelephonyManager.NETWORK_TYPE_LTE)); in testCanHandleNetwork()
766 assertTrue(apn2.canSupportNetworkType(TelephonyManager.NETWORK_TYPE_GPRS)); in testCanHandleNetwork()
767 assertTrue(apn2.canSupportNetworkType(TelephonyManager.NETWORK_TYPE_EDGE)); in testCanHandleNetwork()
769 assertTrue(apn2.canSupportNetworkType(TelephonyManager.NETWORK_TYPE_GSM)); in testCanHandleNetwork()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDcTracker.java1827 if (!dunSetting.canSupportNetworkType( in fetchDunApns()
3351 if (mPreferredApn.canSupportNetworkType( in buildWaitingApns()
3367 if (apn.canSupportNetworkType( in buildWaitingApns()
/frameworks/base/telephony/java/android/telephony/data/
DApnSetting.java1542 public boolean canSupportNetworkType(@NetworkType int networkType) { in canSupportNetworkType() method in ApnSetting