Searched refs:newSS (Results 1 – 4 of 4) sorted by relevance
142 ServiceState newSS = new ServiceState(); in testRatchetIsFamily() local150 setNetworkRegistrationInfo(newSS, TelephonyManager.NETWORK_TYPE_LTE); in testRatchetIsFamily()153 ratRatcheter.ratchet(oldSS, newSS); in testRatchetIsFamily()155 assertTrue(newSS.isUsingCarrierAggregation()); in testRatchetIsFamily()161 ServiceState newSS = new ServiceState(); in testRatchetIsNotFamily() local168 setNetworkRegistrationInfo(newSS, TelephonyManager.NETWORK_TYPE_LTE); in testRatchetIsNotFamily()171 ratRatcheter.ratchet(oldSS, newSS); in testRatchetIsNotFamily()173 assertFalse(newSS.isUsingCarrierAggregation()); in testRatchetIsNotFamily()
1986 ServiceState newSS = mock(ServiceState.class); in testNrTimerResetWhenPlmnChanged() local1987 doReturn("different plmn").when(newSS).getOperatorNumeric(); in testNrTimerResetWhenPlmnChanged()1988 doReturn(newSS).when(mSST).getServiceState(); in testNrTimerResetWhenPlmnChanged()
114 public void ratchet(@NonNull ServiceState oldSS, @NonNull ServiceState newSS) { in ratchet() argument116 if (!isSameRatFamily(oldSS, newSS)) { in ratchet()126 NetworkRegistrationInfo newNri = newSS.getNetworkRegistrationInfo( in ratchet()133 newSS.addNetworkRegistrationInfo(newNri); in ratchet()137 updateBandwidths(oldSS.getCellBandwidths(), newSS); in ratchet() local
3775 @NonNull ServiceState newSS, @TransportType int transport) { in shouldReevaluateNetworkRequests() argument3778 NetworkRegistrationInfo newPsNri = newSS.getNetworkRegistrationInfo( in shouldReevaluateNetworkRequests()3798 && serviceStateAllowsPSAttach(newSS, transport)) { in shouldReevaluateNetworkRequests()3802 if (oldSS.isUsingNonTerrestrialNetwork() != newSS.isUsingNonTerrestrialNetwork()) { in shouldReevaluateNetworkRequests()