Searched refs:txSuccessRate (Results 1 – 13 of 13) sorted by relevance
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiLinkLayerStatsTest.java | 100 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()
|
D | WifiScoreReportTest.java | 202 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()
|
D | VelocityBasedConnectedScoreTest.java | 114 mWifiInfo.txSuccessRate = 2.1; // proportional to pps in allowLowRssiIfErrorRateIsLowAndSomeDataIsMoving() 140 mWifiInfo.txSuccessRate = .1; // proportional to pps
|
D | WifiNetworkSelectorTest.java | 673 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()
|
D | WifiConnectivityManagerTest.java | 1161 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/ |
D | ExtendedWifiInfo.java | 84 txSuccessRate = txSuccessRate * lastSampleWeight in update() 95 txSuccessRate = 0; in update()
|
D | WifiScoreReport.java | 115 && wifiInfo.txSuccessRate >= mScoringParams.getYippeeSkippyPacketsPerSecond() in calculateAndReportScore() 236 double txSuccessRate = wifiInfo.txSuccessRate; in logLinkMetrics() local 247 txSuccessRate, txRetriesRate, txBadRate, rxSuccessRate, in logLinkMetrics()
|
D | VelocityBasedConnectedScore.java | 153 double txSuccessPps = wifiInfo.txSuccessRate; in adjustThreshold()
|
D | WifiNetworkSelector.java | 151 boolean hasActiveStream = (wifiInfo.txSuccessRate > mStayOnNetworkMinimumTxRate) in isCurrentNetworkSufficient()
|
D | WifiConnectivityManager.java | 850 boolean isTrafficOverThreshold = mWifiInfo.txSuccessRate > mFullScanMaxTxRate in startPeriodicSingleScan()
|
D | WifiStateMachine.java | 2114 sb.append(String.format(" tx=%.1f,", mWifiInfo.txSuccessRate)); in getLogRecString() 2511 mWifiInfo.txSuccessRate = 0; in cleanWifiScore()
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | WifiInfo.java | 141 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/ |
D | WifiUtils.java | 101 visibility.append(String.format(" tx=%.1f,", info.txSuccessRate)); in getVisibilityStatus()
|