Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiLinkLayerStatsTest.java103 assertEquals((double) txg, mWifiInfo.txSuccessRate, txg * 0.02); in checkThatAverageRatesConvergeToTheRightValuesAndTotalsAreRight()
122 assertEquals(0.0, mWifiInfo.txSuccessRate, 0.0001); in aSinglePacketInAShortPeriodOfTimeShouldHaveSmallEffect()
126 assertEquals(0.33, mWifiInfo.txSuccessRate, 0.01); in aSinglePacketInAShortPeriodOfTimeShouldHaveSmallEffect()
138 assertEquals(0.0, mWifiInfo.txSuccessRate, 0.0001); in afterSourceSwitchTheRatesShouldGetReset()
143 assertTrue("" + mWifiInfo + " " + mWifiLinkLayerStats, mWifiInfo.txSuccessRate > 0.95e+8); in afterSourceSwitchTheRatesShouldGetReset()
150 assertEquals(0.0, mWifiInfo.txSuccessRate, 0.0001); in afterSourceSwitchTheRatesShouldGetReset()
158 assertTrue(mWifiInfo.txSuccessRate > 0.95e+8); in afterSourceSwitchTheRatesShouldGetReset()
164 assertEquals(0.0, mWifiInfo.txSuccessRate, 0.0001); in afterSourceSwitchTheRatesShouldGetReset()
DWifiScoreReportTest.java214 mWifiInfo.txSuccessRate = 5.1; // proportional to pps in allowLowRssiIfDataIsMoving()
237 mWifiInfo.txSuccessRate = 0.1; in giveUpOnBadRssiWhenDataIsNotMoving()
277 mWifiInfo.txSuccessRate = 0.1; in stayOnIfRssiDoesNotGetBelowEntryThreshold()
300 mWifiInfo.txSuccessRate = mScoringParams.getYippeeSkippyPacketsPerSecond() + 0.1; in allowTerribleRssiIfDataIsMovingWell()
302 assertTrue(mWifiInfo.txSuccessRate > 10); in allowTerribleRssiIfDataIsMovingWell()
424 mWifiInfo.txSuccessRate = 0.1 + i; in testDataLogging()
446 mWifiInfo.txSuccessRate = 0.1 + i % 100; in testDataLoggingLimit()
DVelocityBasedConnectedScoreTest.java117 mWifiInfo.txSuccessRate = 2.1; // proportional to pps in allowLowRssiIfErrorRateIsLowAndSomeDataIsMoving()
143 mWifiInfo.txSuccessRate = .1; // proportional to pps
DWifiNetworkSelectorTest.java840 mWifiInfo.txSuccessRate = 0.0; in test2GhzQualifiedNo5GhzAvailable()
867 mWifiInfo.txSuccessRate = 0.0; in test2GhzHighQuality5GhzAvailable()
897 mWifiInfo.txSuccessRate = 0.0; in test5GhzNotQualifiedLowRssi()
922 mWifiInfo.txSuccessRate = 0.0; in test5GhzQualified()
946 mWifiInfo.txSuccessRate = 0.0; in band2GNetworkIsNotSufficientWhenNoOngoingTrafficAnd5GhzAvailable()
979 mWifiInfo.txSuccessRate = 0.0; in networkIsSufficientWhenRecentlyUserSelected()
1007 mWifiInfo.txSuccessRate = 0.0; in band2GNetworkIsNotSufficientWithBadRssi()
1029 mWifiInfo.txSuccessRate = ((double) (mStayOnNetworkMinimumTxRate + 1)); in band2GNetworkIsSufficientWhenOnGoingTxTrafficCombinedWithGoodRssi()
1051 mWifiInfo.txSuccessRate = 0.0; in band2GNetworkIsSufficientWhenOnGoingRxTrafficCombinedWithGoodRssi()
1073 mWifiInfo.txSuccessRate = ((double) (mStayOnNetworkMinimumTxRate + 1)); in band5GNetworkIsSufficientWhenOnGoingTxTrafficCombinedWithGoodRssi()
[all …]
DWifiConnectivityManagerTest.java1172 mWifiInfo.txSuccessRate = 0; in checkSingleScanSettingsWhenConnectedWithLowDataRate()
1212 mWifiInfo.txSuccessRate = mFullScanMaxTxPacketRate * 2; in checkPartialScanRequestedWithHighDataRateWithoutFwRoaming()
1257 mWifiInfo.txSuccessRate = mFullScanMaxTxPacketRate * 2; in checkPartialScanSkippedWithHighDataRateWithFwRoaming()
1301 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.java123 && wifiInfo.txSuccessRate >= mScoringParams.getYippeeSkippyPacketsPerSecond() in calculateAndReportScore()
258 double txSuccessRate = wifiInfo.txSuccessRate; in logLinkMetrics() local
269 txSuccessRate, txRetriesRate, txBadRate, rxSuccessRate, in logLinkMetrics()
DVelocityBasedConnectedScore.java153 double txSuccessPps = wifiInfo.txSuccessRate; in adjustThreshold()
DWifiNetworkSelector.java234 boolean hasActiveStream = (wifiInfo.txSuccessRate > mStayOnNetworkMinimumTxRate) in isCurrentNetworkSufficient()
DWifiConnectivityManager.java851 boolean isTrafficOverThreshold = mWifiInfo.txSuccessRate > mFullScanMaxTxRate in startPeriodicSingleScan()
DClientModeImpl.java2287 sb.append(String.format(" tx=%.1f,", mWifiInfo.txSuccessRate)); in getLogRecString()
2763 mWifiInfo.txSuccessRate = 0; in cleanWifiScore()
/frameworks/base/wifi/java/android/net/wifi/
DWifiInfo.java196 public double txSuccessRate; field in WifiInfo
249 txSuccessRate = 0; in reset()
286 txSuccessRate = source.txSuccessRate; in WifiInfo()
737 dest.writeDouble(txSuccessRate); in writeToParcel()
778 info.txSuccessRate = in.readDouble();
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DWifiUtils.java102 visibility.append(String.format(" tx=%.1f,", info.txSuccessRate)); in getVisibilityStatus()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt47282 Landroid/net/wifi/WifiInfo;->txSuccessRate:D