Searched refs:radioOnTimeMs (Results 1 – 9 of 9) sorted by relevance
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WifiChannelUtilizationTest.java | 97 cs.radioOnTimeMs = RADIO_ON_TIME_DIFF_MIN_MS / 2; in verifyOneReadChanStatsWithShortRadioOnTime() 110 cs.radioOnTimeMs = RADIO_ON_TIME_DIFF_MIN_MS * 2; in verifyOneReadChanStatsWithLargeCcaBusyTime() 123 cs.radioOnTimeMs = RADIO_ON_TIME_DIFF_MIN_MS + 1; in verifyOneReadChanStatsWithLongRadioOnTime() 127 assertEquals(cs.ccaBusyTimeMs * MAX_CHANNEL_UTILIZATION / cs.radioOnTimeMs, in verifyOneReadChanStatsWithLongRadioOnTime() 137 cs.radioOnTimeMs = RADIO_ON_TIME_DIFF_MIN_MS + 1; in verifyOneReadChanStatsWithDiffFreq() 150 cs1.radioOnTimeMs = RADIO_ON_TIME_DIFF_MIN_MS; in verifyTwoReadChanStatsWithLargeTimeGap() 160 cs2.radioOnTimeMs = RADIO_ON_TIME_DIFF_MIN_MS * 2 + 1; in verifyTwoReadChanStatsWithLargeTimeGap() 168 / (cs2.radioOnTimeMs - cs1.radioOnTimeMs), in verifyTwoReadChanStatsWithLargeTimeGap() 178 cs1.radioOnTimeMs = RADIO_ON_TIME_DIFF_MIN_MS + 1; in verifyTwoReadChanStatsWithSmallTimeGap() 188 cs2.radioOnTimeMs = RADIO_ON_TIME_DIFF_MIN_MS * 2 + 2; in verifyTwoReadChanStatsWithSmallTimeGap() [all …]
|
D | WifiMetricsTest.java | 3966 cs.radioOnTimeMs = nextRandInt(); in nextRandomStats() 4070 mDecodedProto.wifiLinkLayerUsageStats.radioOnTimeMs); in assertWifiLinkLayerUsageHasDiff() 4779 linkLayerStats.channelStatsMap.get(linkStat.frequencyMhz).radioOnTimeMs); in testClientNotification()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | WifiChannelUtilization.java | 202 int radioOnTimeMs = channelStats.radioOnTimeMs; in calculateChannelUtilization() local 204 ChannelStats channelStatsRef = findChanStatsReference(freq, radioOnTimeMs); in calculateChannelUtilization() 206 int radioOnTimeDiff = radioOnTimeMs - channelStatsRef.radioOnTimeMs; in calculateChannelUtilization() 214 int utilizationRatioT0 = calculateUtilizationRatio(radioOnTimeMs, ccaBusyTimeMs); in calculateChannelUtilization() 217 .append(" onTime: ").append(radioOnTimeMs) in calculateChannelUtilization() 239 private ChannelStats findChanStatsReference(int freq, int radioOnTimeMs) { in findChanStatsReference() argument 242 channelStatsCurrRadioOnTime.radioOnTimeMs = radioOnTimeMs; in findChanStatsReference() 254 int radioOnTimeDiff = radioOnTimeMs - channelStats.radioOnTimeMs; in findChanStatsReference()
|
D | WifiLinkLayerStats.java | 308 public int radioOnTimeMs; field in WifiLinkLayerStats.ChannelStats 624 .append(" radioOnTimeMs=").append(channelStatsEntry.radioOnTimeMs) in toString() 651 .append(" radioOnTimeMs=").append(channelStatsEntry.radioOnTimeMs) in toString()
|
D | WifiMetrics.java | 1783 mWifiLinkLayerUsageStats.radioOnTimeMs += (newStats.on_time - mLastLinkLayerStats.on_time); in incrementWifiLinkLayerUsageStats() 4784 + mWifiLinkLayerUsageStats.radioOnTimeMs); in dump() 7070 wifiUsabilityStatsEntry.totalRadioOnFreqTimeMs = statsMap.radioOnTimeMs; 7380 (channelStatsMap != null) ? channelStatsMap.radioOnTimeMs : 0,
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hal/ |
D | WifiStaIfaceAidlImplTest.java | 589 assertEquals(channelStats.onTimeInMs, retrievedChannelStats.radioOnTimeMs); in verifyPerRadioStats() 617 assertEquals(channelStats.onTimeInMs, retrievedChannelStats.radioOnTimeMs); in verifyRadioStats() 660 retrievedChannelStats.radioOnTimeMs); in verifyTwoRadioStatsAggregation()
|
D | WifiStaIfaceHidlImplTest.java | 417 assertEquals(channelStats.onTimeInMs, retrievedChannelStats.radioOnTimeMs); in verifyRadioStats_1_3() 448 assertEquals(channelStats.onTimeInMs, retrievedChannelStats.radioOnTimeMs); in verifyPerRadioStats() 504 retrievedChannelStats.radioOnTimeMs); in verifyTwoRadioStatsAggregation()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/hal/ |
D | WifiStaIfaceHidlImpl.java | 1250 channelStatsEntry.radioOnTimeMs = channelStats.onTimeInMs; in setFrameworkPerRadioStatsFromHidl_1_3() 1277 channelStatsEntry.radioOnTimeMs = channelStats.onTimeInMs; in setFrameworkPerRadioStatsFromHidl_1_6() 1324 channelStatsEntry.radioOnTimeMs += channelStats.onTimeInMs; in aggregateFrameworkRadioStatsFromHidl_1_3() 1371 channelStatsEntry.radioOnTimeMs += channelStats.onTimeInMs; in aggregateFrameworkRadioStatsFromHidl_1_6()
|
D | WifiStaIfaceAidlImpl.java | 1484 channelStatsEntry.radioOnTimeMs = channelStats.onTimeInMs; in setFrameworkPerRadioStatsFromAidl() 1524 channelStatsEntry.radioOnTimeMs += channelStats.onTimeInMs; in aggregateFrameworkRadioStatsFromAidl()
|