Home
last modified time | relevance | path

Searched refs:LINK_RX (Results 1 – 3 of 3) sorted by relevance

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/data/
DLinkBandwidthEstimatorTest.java22 import static com.android.internal.telephony.data.LinkBandwidthEstimator.LINK_RX;
584 assertEquals(BW_STATS_COUNT_THRESHOLD - 1, network.getCount(LINK_RX, 1)); in testUseAllTacStatsIfNoEnoughDataWithCurrentTac()
586 network.getValue(LINK_RX, 1)); in testUseAllTacStatsIfNoEnoughDataWithCurrentTac()
588 assertEquals(1, network.getCount(LINK_RX, 1)); in testUseAllTacStatsIfNoEnoughDataWithCurrentTac()
590 network.getValue(LINK_RX, 1)); in testUseAllTacStatsIfNoEnoughDataWithCurrentTac()
592 assertEquals(BW_STATS_COUNT_THRESHOLD * 3 / 2 - 2, network.getCount(LINK_RX, 1)); in testUseAllTacStatsIfNoEnoughDataWithCurrentTac()
593 assertEquals(179_686, network.getValue(LINK_RX, 1)); in testUseAllTacStatsIfNoEnoughDataWithCurrentTac()
671 assertEquals(BW_STATS_COUNT_THRESHOLD * 2 - 1, network.getCount(LINK_RX, 1)); in testEdgeThenLteShouldIgnoreTransitionStats()
673 network.getValue(LINK_RX, 1)); in testEdgeThenLteShouldIgnoreTransitionStats()
691 assertEquals(BW_STATS_COUNT_THRESHOLD * 2 - 2, network.getCount(LINK_RX, 1)); in testEdgeThenLteShouldIgnoreTransitionStats()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/data/
DLinkBandwidthEstimator.java162 public static final int LINK_RX = 1; field in LinkBandwidthEstimator
196 private final BandwidthState mRxState = new BandwidthState(LINK_RX);
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/
DTelephonyMetricsTest.java889 addBandwidthStats(LinkBandwidthEstimator.LINK_RX, TelephonyManager.NETWORK_TYPE_LTE, in testWriteBandwidthStats()
891 addBandwidthStats(LinkBandwidthEstimator.LINK_RX, TelephonyManager.NETWORK_TYPE_NR, in testWriteBandwidthStats()