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/data/
DApnSettingTest.java317 assertFalse(apn1.canSupportNetworkType(TelephonyManager.NETWORK_TYPE_1xRTT)); in testCanHandleNetwork()
318 assertTrue(apn1.canSupportNetworkType(TelephonyManager.NETWORK_TYPE_LTE)); in testCanHandleNetwork()
319 assertTrue(apn1.canSupportNetworkType(TelephonyManager.NETWORK_TYPE_UMTS)); in testCanHandleNetwork()
321 assertFalse(apn2.canSupportNetworkType(TelephonyManager.NETWORK_TYPE_1xRTT)); in testCanHandleNetwork()
322 assertFalse(apn2.canSupportNetworkType(TelephonyManager.NETWORK_TYPE_LTE)); in testCanHandleNetwork()
323 assertTrue(apn2.canSupportNetworkType(TelephonyManager.NETWORK_TYPE_GPRS)); in testCanHandleNetwork()
324 assertTrue(apn2.canSupportNetworkType(TelephonyManager.NETWORK_TYPE_EDGE)); in testCanHandleNetwork()
326 assertTrue(apn2.canSupportNetworkType(TelephonyManager.NETWORK_TYPE_GSM)); in testCanHandleNetwork()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/data/
DDataProfileManager.java770 && mPreferredDataProfile.getApnSetting().canSupportNetworkType(networkType) in getApnSettingForNetworkRequest()
791 .canSupportNetworkType(networkType)) { in getApnSettingForNetworkRequest()
824 if (!dp.getApnSetting().canSupportNetworkType(networkType)) return false; in getApnSettingForNetworkRequest()
/frameworks/base/telephony/java/android/telephony/data/
DApnSetting.java1697 public boolean canSupportNetworkType(@NetworkType int networkType) { in canSupportNetworkType() method in ApnSetting
1723 return canSupportNetworkType(networkType); in canSupportLingeringNetworkType()