Home
last modified time | relevance | path

Searched refs:mVelocityBasedConnectedScore (Results 1 – 2 of 2) sorted by relevance

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DVelocityBasedConnectedScoreTest.java56 VelocityBasedConnectedScore mVelocityBasedConnectedScore; field in VelocityBasedConnectedScoreTest
92 mVelocityBasedConnectedScore = new VelocityBasedConnectedScore( in setUp()
94 mVelocityBasedConnectedScore.onRoleChanged(ActiveModeManager.ROLE_CLIENT_PRIMARY); in setUp()
104 int score = mVelocityBasedConnectedScore.generateScore(); in noCrashWhenNoData()
122 mVelocityBasedConnectedScore.updateUsingWifiInfo(mWifiInfo, in allowLowRssiIfErrorRateIsLowAndSomeDataIsMoving()
125 int score = mVelocityBasedConnectedScore.generateScore(); in allowLowRssiIfErrorRateIsLowAndSomeDataIsMoving()
128 mVelocityBasedConnectedScore.reset(); in allowLowRssiIfErrorRateIsLowAndSomeDataIsMoving()
129 mVelocityBasedConnectedScore.updateUsingWifiInfo(mWifiInfo, mClock.getWallClockMillis()); in allowLowRssiIfErrorRateIsLowAndSomeDataIsMoving()
130 score = mVelocityBasedConnectedScore.generateScore(); in allowLowRssiIfErrorRateIsLowAndSomeDataIsMoving()
148 mVelocityBasedConnectedScore.updateUsingWifiInfo(mWifiInfo,
[all …]
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiScoreReport.java111 private VelocityBasedConnectedScore mVelocityBasedConnectedScore; field in WifiScoreReport
571 mVelocityBasedConnectedScore = new VelocityBasedConnectedScore(scoringParams, clock); in WifiScoreReport()
611 if (mVelocityBasedConnectedScore != null) { in reset()
612 mVelocityBasedConnectedScore.reset(); in reset()
649 mVelocityBasedConnectedScore.updateUsingWifiInfo(mWifiInfo, millis); in calculateAndReportScore()
651 int s2 = mVelocityBasedConnectedScore.generateScore(); in calculateAndReportScore()
674 if (mVelocityBasedConnectedScore.getFilteredRssi() >= entry in calculateAndReportScore()
863 filteredRssi = mVelocityBasedConnectedScore.getFilteredRssi(); in logLinkMetrics()
864 rssiThreshold = mVelocityBasedConnectedScore.getAdjustedRssiThreshold(); in logLinkMetrics()
997 mVelocityBasedConnectedScore = null; in setWifiConnectedNetworkScorer()
[all …]