Home
last modified time | relevance | path

Searched refs:newSS (Results 1 – 2 of 2) sorted by relevance

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DRatRatcheterTest.java133 ServiceState newSS = new ServiceState(); in testRatchetIsFamily() local
140 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() local
157 setNetworkRegistrationInfo(newSS, TelephonyManager.NETWORK_TYPE_LTE); in testRatchetIsNotFamily()
160 ratRatcheter.ratchet(oldSS, newSS); in testRatchetIsNotFamily()
162 assertFalse(newSS.isUsingCarrierAggregation()); in testRatchetIsNotFamily()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DRatRatcheter.java125 public void ratchet(@NonNull ServiceState oldSS, @NonNull ServiceState newSS) { in ratchet() argument
127 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