Searched refs:apn2 (Results 1 – 2 of 2) sorted by relevance
658 ApnSetting apn2 = ApnSetting.makeApnSetting( in testEqualsRoamingProtocol() local685 assertTrue(apn1.equals(apn2, false)); in testEqualsRoamingProtocol()686 assertFalse(apn1.equals(apn2, true)); in testEqualsRoamingProtocol()720 ApnSetting apn2 = ApnSetting.makeApnSetting( in testCanHandleNetwork() local752 assertFalse(apn2.canSupportNetworkType(TelephonyManager.NETWORK_TYPE_1xRTT)); in testCanHandleNetwork()753 assertFalse(apn2.canSupportNetworkType(TelephonyManager.NETWORK_TYPE_LTE)); in testCanHandleNetwork()754 assertTrue(apn2.canSupportNetworkType(TelephonyManager.NETWORK_TYPE_GPRS)); in testCanHandleNetwork()755 assertTrue(apn2.canSupportNetworkType(TelephonyManager.NETWORK_TYPE_EDGE)); in testCanHandleNetwork()757 assertTrue(apn2.canSupportNetworkType(TelephonyManager.NETWORK_TYPE_GSM)); in testCanHandleNetwork()
3337 public int compare(ApnSetting apn1, ApnSetting apn2) { in sortApnListByPreferred()3341 if (apn2.getApnSetId() == preferredApnSetId) { in sortApnListByPreferred()