Home
last modified time | relevance | path

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

/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.java2407 int[] bandwidths = null; in setPhyCellInfoFromCellIdentity() local
2411 bandwidths = getBandwidthsFromConfigs(mLastPhysicalChannelConfigList); in setPhyCellInfoFromCellIdentity()
2412 for (int bw : bandwidths) { in setPhyCellInfoFromCellIdentity()
2415 bandwidths = null; in setPhyCellInfoFromCellIdentity()
2430 if (bandwidths == null || bandwidths.length == 1) { in setPhyCellInfoFromCellIdentity()
2433 bandwidths = new int[] {cbw}; in setPhyCellInfoFromCellIdentity()
2441 if (bandwidths != null) { in setPhyCellInfoFromCellIdentity()
2442 ss.setCellBandwidths(bandwidths); in setPhyCellInfoFromCellIdentity()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DRatRatcheterTest.java54 int[] bandwidths = new int[] {1400, 5000}; in testUpdateBandwidthsSuccess() local
57 boolean updated = RatRatcheter.updateBandwidths(bandwidths, mServiceState); in testUpdateBandwidthsSuccess()
60 assertTrue(Arrays.equals(mServiceState.getCellBandwidths(), bandwidths)); in testUpdateBandwidthsSuccess() local
DServiceStateTrackerTest.java2027 private void sendPhyChanConfigChange(int[] bandwidths) { in sendPhyChanConfigChange() argument
2030 for (int bw : bandwidths) { in sendPhyChanConfigChange()
/frameworks/base/telephony/java/android/telephony/
DServiceState.java1185 public void setCellBandwidths(int[] bandwidths) { in setCellBandwidths() argument
1186 mCellBandwidths = bandwidths; in setCellBandwidths()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDcTracker.java3903 private void updateLinkBandwidths(String[] bandwidths, boolean useLte) { in updateLinkBandwidths() argument
3905 for (String config : bandwidths) { in updateLinkBandwidths()
5089 String[] bandwidths = CarrierConfigManager.getDefaultConfig().getStringArray( in read5GConfiguration() local
5098 bandwidths = b.getStringArray(CarrierConfigManager.KEY_BANDWIDTH_STRING_ARRAY); in read5GConfiguration()
5117 updateLinkBandwidths(bandwidths, useLte); in read5GConfiguration()