Home
last modified time | relevance | path

Searched refs:bandwidths (Results 1 – 5 of 5) sorted by relevance

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DRatRatcheterTest.java40 int[] bandwidths = new int[] {1400, 5000}; in testUpdateBandwidthsSuccess() local
43 boolean updated = RatRatcheter.updateBandwidths(bandwidths, mServiceState); in testUpdateBandwidthsSuccess()
46 assertTrue(Arrays.equals(mServiceState.getCellBandwidths(), bandwidths)); in testUpdateBandwidthsSuccess() local
DServiceStateTrackerTest.java1818 private void sendPhyChanConfigChange(int[] bandwidths) { in sendPhyChanConfigChange() argument
1821 for (int bw : bandwidths) { in sendPhyChanConfigChange()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DRatRatcheter.java64 public static boolean updateBandwidths(int[] bandwidths, ServiceState serviceState) { in updateBandwidths() argument
65 if (bandwidths == null) { in updateBandwidths()
70 int newAggregateBandwidth = Arrays.stream(bandwidths).sum(); in updateBandwidths()
73 serviceState.setCellBandwidths(bandwidths); in updateBandwidths()
DServiceStateTracker.java2294 int[] bandwidths = null; in setPhyCellInfoFromCellIdentity() local
2298 bandwidths = getBandwidthsFromConfigs(mLastPhysicalChannelConfigList); in setPhyCellInfoFromCellIdentity()
2299 for (int bw : bandwidths) { in setPhyCellInfoFromCellIdentity()
2302 bandwidths = null; in setPhyCellInfoFromCellIdentity()
2317 if (bandwidths == null || bandwidths.length == 1) { in setPhyCellInfoFromCellIdentity()
2320 bandwidths = new int[] {cbw}; in setPhyCellInfoFromCellIdentity()
2328 if (bandwidths != null) { in setPhyCellInfoFromCellIdentity()
2329 ss.setCellBandwidths(bandwidths); in setPhyCellInfoFromCellIdentity()
/frameworks/base/telephony/java/android/telephony/
DServiceState.java1129 public void setCellBandwidths(int[] bandwidths) { in setCellBandwidths() argument
1130 mCellBandwidths = bandwidths; in setCellBandwidths()