Searched refs:canSupportNetworkType (Results 1 – 3 of 3) sorted by relevance
760 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()
1827 if (!dunSetting.canSupportNetworkType( in fetchDunApns()3351 if (mPreferredApn.canSupportNetworkType( in buildWaitingApns()3367 if (apn.canSupportNetworkType( in buildWaitingApns()
1542 public boolean canSupportNetworkType(@NetworkType int networkType) { in canSupportNetworkType() method in ApnSetting