Home
last modified time | relevance | path

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

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiChannelUtilizationTest.java97 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 …]
DWifiMetricsTest.java3966 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/
DWifiChannelUtilization.java202 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()
DWifiLinkLayerStats.java308 public int radioOnTimeMs; field in WifiLinkLayerStats.ChannelStats
624 .append(" radioOnTimeMs=").append(channelStatsEntry.radioOnTimeMs) in toString()
651 .append(" radioOnTimeMs=").append(channelStatsEntry.radioOnTimeMs) in toString()
DWifiMetrics.java1783 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/
DWifiStaIfaceAidlImplTest.java589 assertEquals(channelStats.onTimeInMs, retrievedChannelStats.radioOnTimeMs); in verifyPerRadioStats()
617 assertEquals(channelStats.onTimeInMs, retrievedChannelStats.radioOnTimeMs); in verifyRadioStats()
660 retrievedChannelStats.radioOnTimeMs); in verifyTwoRadioStatsAggregation()
DWifiStaIfaceHidlImplTest.java417 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/
DWifiStaIfaceHidlImpl.java1250 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()
DWifiStaIfaceAidlImpl.java1484 channelStatsEntry.radioOnTimeMs = channelStats.onTimeInMs; in setFrameworkPerRadioStatsFromAidl()
1524 channelStatsEntry.radioOnTimeMs += channelStats.onTimeInMs; in aggregateFrameworkRadioStatsFromAidl()