Home
last modified time | relevance | path

Searched refs:txSuccessRate (Results 1 – 13 of 13) sorted by relevance

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiLinkLayerStatsTest.java100 assertEquals((double) txg, mWifiInfo.txSuccessRate, txg * 0.02); in checkThatAverageRatesConvergeToTheRightValuesAndTotalsAreRight()
119 assertEquals(0.0, mWifiInfo.txSuccessRate, 0.0001); in aSinglePacketInAShortPeriodOfTimeShouldHaveSmallEffect()
123 assertEquals(0.33, mWifiInfo.txSuccessRate, 0.01); in aSinglePacketInAShortPeriodOfTimeShouldHaveSmallEffect()
135 assertEquals(0.0, mWifiInfo.txSuccessRate, 0.0001); in afterSourceSwitchTheRatesShouldGetReset()
140 assertTrue("" + mWifiInfo + " " + mWifiLinkLayerStats, mWifiInfo.txSuccessRate > 0.95e+8); in afterSourceSwitchTheRatesShouldGetReset()
147 assertEquals(0.0, mWifiInfo.txSuccessRate, 0.0001); in afterSourceSwitchTheRatesShouldGetReset()
155 assertTrue(mWifiInfo.txSuccessRate > 0.95e+8); in afterSourceSwitchTheRatesShouldGetReset()
161 assertEquals(0.0, mWifiInfo.txSuccessRate, 0.0001); in afterSourceSwitchTheRatesShouldGetReset()
DWifiScoreReportTest.java202 mWifiInfo.txSuccessRate = 5.1; // proportional to pps in allowLowRssiIfDataIsMoving()
225 mWifiInfo.txSuccessRate = 0.1; in giveUpOnBadRssiWhenDataIsNotMoving()
265 mWifiInfo.txSuccessRate = 0.1; in stayOnIfRssiDoesNotGetBelowEntryThreshold()
288 mWifiInfo.txSuccessRate = mScoringParams.getYippeeSkippyPacketsPerSecond() + 0.1; in allowTerribleRssiIfDataIsMovingWell()
290 assertTrue(mWifiInfo.txSuccessRate > 10); in allowTerribleRssiIfDataIsMovingWell()
412 mWifiInfo.txSuccessRate = 0.1 + i; in testDataLogging()
434 mWifiInfo.txSuccessRate = 0.1 + i % 100; in testDataLoggingLimit()
DVelocityBasedConnectedScoreTest.java114 mWifiInfo.txSuccessRate = 2.1; // proportional to pps in allowLowRssiIfErrorRateIsLowAndSomeDataIsMoving()
140 mWifiInfo.txSuccessRate = .1; // proportional to pps
DWifiNetworkSelectorTest.java673 mWifiInfo.txSuccessRate = 0.0; in test2GhzQualifiedNo5GhzAvailable()
700 mWifiInfo.txSuccessRate = 0.0; in test2GhzHighQuality5GhzAvailable()
730 mWifiInfo.txSuccessRate = 0.0; in test5GhzNotQualifiedLowRssi()
755 mWifiInfo.txSuccessRate = 0.0; in test5GhzQualified()
779 mWifiInfo.txSuccessRate = 0.0; in band2GNetworkIsNotSufficientWhenNoOngoingTrafficAnd5GhzAvailable()
807 mWifiInfo.txSuccessRate = 0.0; in band2GNetworkIsNotSufficientWithBadRssi()
829 mWifiInfo.txSuccessRate = ((double) (mStayOnNetworkMinimumTxRate + 1)); in band2GNetworkIsSufficientWhenOnGoingTxTrafficCombinedWithGoodRssi()
851 mWifiInfo.txSuccessRate = 0.0; in band2GNetworkIsSufficientWhenOnGoingRxTrafficCombinedWithGoodRssi()
873 mWifiInfo.txSuccessRate = ((double) (mStayOnNetworkMinimumTxRate + 1)); in band5GNetworkIsSufficientWhenOnGoingTxTrafficCombinedWithGoodRssi()
895 mWifiInfo.txSuccessRate = 0.0; in band5GNetworkIsSufficientWhenOnGoingRxTrafficCombinedWithGoodRssi()
DWifiConnectivityManagerTest.java1161 mWifiInfo.txSuccessRate = 0; in checkSingleScanSettingsWhenConnectedWithLowDataRate()
1201 mWifiInfo.txSuccessRate = mFullScanMaxTxPacketRate * 2; in checkPartialScanRequestedWithHighDataRateWithoutFwRoaming()
1246 mWifiInfo.txSuccessRate = mFullScanMaxTxPacketRate * 2; in checkPartialScanSkippedWithHighDataRateWithFwRoaming()
1290 mWifiInfo.txSuccessRate = mFullScanMaxTxPacketRate * 2; in checkSingleScanSettingsWhenConnectedWithHighDataRateNotInCache()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DExtendedWifiInfo.java84 txSuccessRate = txSuccessRate * lastSampleWeight in update()
95 txSuccessRate = 0; in update()
DWifiScoreReport.java115 && wifiInfo.txSuccessRate >= mScoringParams.getYippeeSkippyPacketsPerSecond() in calculateAndReportScore()
236 double txSuccessRate = wifiInfo.txSuccessRate; in logLinkMetrics() local
247 txSuccessRate, txRetriesRate, txBadRate, rxSuccessRate, in logLinkMetrics()
DVelocityBasedConnectedScore.java153 double txSuccessPps = wifiInfo.txSuccessRate; in adjustThreshold()
DWifiNetworkSelector.java151 boolean hasActiveStream = (wifiInfo.txSuccessRate > mStayOnNetworkMinimumTxRate) in isCurrentNetworkSufficient()
DWifiConnectivityManager.java850 boolean isTrafficOverThreshold = mWifiInfo.txSuccessRate > mFullScanMaxTxRate in startPeriodicSingleScan()
DWifiStateMachine.java2114 sb.append(String.format(" tx=%.1f,", mWifiInfo.txSuccessRate)); in getLogRecString()
2511 mWifiInfo.txSuccessRate = 0; in cleanWifiScore()
/frameworks/base/wifi/java/android/net/wifi/
DWifiInfo.java141 public double txSuccessRate; field in WifiInfo
186 txSuccessRate = 0; in reset()
215 txSuccessRate = source.txSuccessRate; in WifiInfo()
522 dest.writeDouble(txSuccessRate); in writeToParcel()
551 info.txSuccessRate = in.readDouble();
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DWifiUtils.java101 visibility.append(String.format(" tx=%.1f,", info.txSuccessRate)); in getVisibilityStatus()