Searched refs:canSupportNetworkType (Results 1 – 3 of 3) sorted by relevance
317 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()
770 && mPreferredDataProfile.getApnSetting().canSupportNetworkType(networkType) in getApnSettingForNetworkRequest()791 .canSupportNetworkType(networkType)) { in getApnSettingForNetworkRequest()824 if (!dp.getApnSetting().canSupportNetworkType(networkType)) return false; in getApnSettingForNetworkRequest()
1697 public boolean canSupportNetworkType(@NetworkType int networkType) { in canSupportNetworkType() method in ApnSetting1723 return canSupportNetworkType(networkType); in canSupportLingeringNetworkType()