public class WifiScoreReport extends Object
Modifier and Type | Method and Description |
---|---|
static WifiScoreReport |
calculateScore(WifiInfo wifiInfo,
WifiConfiguration currentConfiguration,
WifiConfigManager wifiConfigManager,
NetworkAgent networkAgent,
WifiScoreReport lastReport,
int aggressiveHandover,
WifiMetrics wifiMetrics)
Calculate wifi network score based on updated link layer stats and return a new
WifiScoreReport object.
|
int |
getBadLinkspeedcount()
Method returning the bad link speed count at the time of the current score report.
|
String |
getReport()
Method returning the String representation of the score report.
|
public String getReport()
public int getBadLinkspeedcount()
public static WifiScoreReport calculateScore(WifiInfo wifiInfo, WifiConfiguration currentConfiguration, WifiConfigManager wifiConfigManager, NetworkAgent networkAgent, WifiScoreReport lastReport, int aggressiveHandover, WifiMetrics wifiMetrics)
wifiInfo
- WifiInfo information about current network connectioncurrentConfiguration
- WifiConfiguration current wifi configwifiConfigManager
- WifiConfigManager Object holding current config statenetworkAgent
- NetworkAgent to be notified of new scorelastReport
- String most recent score reportaggressiveHandover
- int current aggressiveHandover setting