Searched refs:newSS (Results 1 – 2 of 2) sorted by relevance
133 ServiceState newSS = new ServiceState(); in testRatchetIsFamily() local140 setNetworkRegistrationInfo(newSS, TelephonyManager.NETWORK_TYPE_LTE); in testRatchetIsFamily()143 ratRatcheter.ratchet(oldSS, newSS); in testRatchetIsFamily()145 assertTrue(newSS.isUsingCarrierAggregation()); in testRatchetIsFamily()151 ServiceState newSS = new ServiceState(); in testRatchetIsNotFamily() local157 setNetworkRegistrationInfo(newSS, TelephonyManager.NETWORK_TYPE_LTE); in testRatchetIsNotFamily()160 ratRatcheter.ratchet(oldSS, newSS); in testRatchetIsNotFamily()162 assertFalse(newSS.isUsingCarrierAggregation()); in testRatchetIsNotFamily()
125 public void ratchet(@NonNull ServiceState oldSS, @NonNull ServiceState newSS) { in ratchet() argument127 if (!isSameRatFamily(oldSS, newSS)) { in ratchet()137 NetworkRegistrationInfo newNri = newSS.getNetworkRegistrationInfo( in ratchet()144 newSS.addNetworkRegistrationInfo(newNri); in ratchet()148 updateBandwidths(oldSS.getCellBandwidths(), newSS); in ratchet() local