Home
last modified time | relevance | path

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

/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiChannelUtilization.java206 int radioOnTimeDiff = radioOnTimeMs - channelStatsRef.radioOnTimeMs; in calculateChannelUtilization() local
208 if (radioOnTimeDiff >= RADIO_ON_TIME_DIFF_MIN_MS && busyTimeDiff >= 0) { in calculateChannelUtilization()
209 utilizationRatio = calculateUtilizationRatio(radioOnTimeDiff, busyTimeDiff); in calculateChannelUtilization()
219 .append(" onTimeDiff: ").append(radioOnTimeDiff) in calculateChannelUtilization()
254 int radioOnTimeDiff = radioOnTimeMs - channelStats.radioOnTimeMs; in findChanStatsReference() local
255 if (radioOnTimeDiff >= RADIO_ON_TIME_DIFF_MIN_MS) { in findChanStatsReference()
262 private int calculateUtilizationRatio(int radioOnTimeDiff, int busyTimeDiff) { in calculateUtilizationRatio() argument
263 if (radioOnTimeDiff > 0) { in calculateUtilizationRatio()
264 int utilizationRatio = busyTimeDiff * BssLoad.MAX_CHANNEL_UTILIZATION / radioOnTimeDiff; in calculateUtilizationRatio()