Searched refs:BW_STATS_COUNT_THRESHOLD (Results 1 – 2 of 2) sorted by relevance
21 import static com.android.internal.telephony.data.LinkBandwidthEstimator.BW_STATS_COUNT_THRESHOLD;329 for (int i = 0; i < BW_STATS_COUNT_THRESHOLD + 2; i++) { in testSignalLevelChangeTriggerBandwidthUpdate()358 for (int i = 0; i < BW_STATS_COUNT_THRESHOLD + 2; i++) { in testSignalLevelChangeTriggerBandwidthUpdate()452 for (int i = 0; i < BW_STATS_COUNT_THRESHOLD + 2; i++) { in testEnoughModemPollTriggerBwUpdate()463 verify(mTelephonyManager, times(BW_STATS_COUNT_THRESHOLD + 2)) in testEnoughModemPollTriggerBwUpdate()473 for (int i = 0; i < BW_STATS_COUNT_THRESHOLD + 2; i++) { in testNoOverflowAfterLargeTimeGap()476 if (i == BW_STATS_COUNT_THRESHOLD) { in testNoOverflowAfterLargeTimeGap()489 verify(mTelephonyManager, times(BW_STATS_COUNT_THRESHOLD + 2)) in testNoOverflowAfterLargeTimeGap()499 for (int i = 0; i < BW_STATS_COUNT_THRESHOLD + 2; i++) { in testAbnormalTrafficCountTriggerLessBwUpdate()515 verify(mTelephonyManager, times(BW_STATS_COUNT_THRESHOLD)) in testAbnormalTrafficCountTriggerLessBwUpdate()[all …]
159 public static final int BW_STATS_COUNT_THRESHOLD = 5; field in LinkBandwidthEstimator760 if (count >= BW_STATS_COUNT_THRESHOLD) { in getAvgUsedLinkBandwidthKbps()767 if (count >= BW_STATS_COUNT_THRESHOLD) { in getAvgUsedLinkBandwidthKbps()794 if (count >= BW_STATS_COUNT_THRESHOLD) { in getAvgUsedBandwidthAdjacentThreeLevelKbps()806 if (count >= BW_STATS_COUNT_THRESHOLD) { in getAvgUsedBandwidthAtLevel()875 if (!mBwSampleValid || getCurrentCount() <= BW_STATS_COUNT_THRESHOLD + 1 in calculateError()