Home
last modified time | relevance | path

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

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiChannelUtilizationTest.java98 cs.ccaBusyTimeMs = 2; in verifyOneReadChanStatsWithShortRadioOnTime()
111 cs.ccaBusyTimeMs = RADIO_ON_TIME_DIFF_MIN_MS * 2 * 19 / 20; in verifyOneReadChanStatsWithLargeCcaBusyTime()
124 cs.ccaBusyTimeMs = 20; in verifyOneReadChanStatsWithLongRadioOnTime()
127 assertEquals(cs.ccaBusyTimeMs * MAX_CHANNEL_UTILIZATION / cs.radioOnTimeMs, in verifyOneReadChanStatsWithLongRadioOnTime()
138 cs.ccaBusyTimeMs = 20; in verifyOneReadChanStatsWithDiffFreq()
151 cs1.ccaBusyTimeMs = 20; in verifyTwoReadChanStatsWithLargeTimeGap()
161 cs2.ccaBusyTimeMs = 30; in verifyTwoReadChanStatsWithLargeTimeGap()
167 assertEquals((cs2.ccaBusyTimeMs - cs1.ccaBusyTimeMs) * MAX_CHANNEL_UTILIZATION in verifyTwoReadChanStatsWithLargeTimeGap()
179 cs1.ccaBusyTimeMs = 20; in verifyTwoReadChanStatsWithSmallTimeGap()
189 cs2.ccaBusyTimeMs = 30; in verifyTwoReadChanStatsWithSmallTimeGap()
[all …]
DWifiMetricsTest.java3967 cs.ccaBusyTimeMs = nextRandInt(); in nextRandomStats()
4777 linkLayerStats.channelStatsMap.get(linkStat.frequencyMhz).ccaBusyTimeMs); in testClientNotification()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiChannelUtilization.java201 int ccaBusyTimeMs = channelStats.ccaBusyTimeMs; in calculateChannelUtilization() local
205 int busyTimeDiff = ccaBusyTimeMs - channelStatsRef.ccaBusyTimeMs; in calculateChannelUtilization()
214 int utilizationRatioT0 = calculateUtilizationRatio(radioOnTimeMs, ccaBusyTimeMs); in calculateChannelUtilization()
218 .append(" busyTime: ").append(ccaBusyTimeMs) in calculateChannelUtilization()
DWifiLinkLayerStats.java312 public int ccaBusyTimeMs; field in WifiLinkLayerStats.ChannelStats
625 .append(" ccaBusyTimeMs=").append(channelStatsEntry.ccaBusyTimeMs).append('\n'); in toString()
652 .append(" ccaBusyTimeMs=").append(channelStatsEntry.ccaBusyTimeMs) in toString()
DWifiMetrics.java7071 wifiUsabilityStatsEntry.totalCcaBusyFreqTimeMs = statsMap.ccaBusyTimeMs;
7379 (channelStatsMap != null) ? channelStatsMap.ccaBusyTimeMs : 0 ,
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hal/
DWifiStaIfaceAidlImplTest.java590 assertEquals(channelStats.ccaBusyTimeInMs, retrievedChannelStats.ccaBusyTimeMs); in verifyPerRadioStats()
618 assertEquals(channelStats.ccaBusyTimeInMs, retrievedChannelStats.ccaBusyTimeMs); in verifyRadioStats()
662 + radio1ChannelStats.ccaBusyTimeInMs, retrievedChannelStats.ccaBusyTimeMs); in verifyTwoRadioStatsAggregation()
DWifiStaIfaceHidlImplTest.java418 assertEquals(channelStats.ccaBusyTimeInMs, retrievedChannelStats.ccaBusyTimeMs); in verifyRadioStats_1_3()
449 assertEquals(channelStats.ccaBusyTimeInMs, retrievedChannelStats.ccaBusyTimeMs); in verifyPerRadioStats()
506 + radio1ChannelStats.ccaBusyTimeInMs, retrievedChannelStats.ccaBusyTimeMs); in verifyTwoRadioStatsAggregation()
/packages/modules/Wifi/service/java/com/android/server/wifi/hal/
DWifiStaIfaceHidlImpl.java1251 channelStatsEntry.ccaBusyTimeMs = channelStats.ccaBusyTimeInMs; in setFrameworkPerRadioStatsFromHidl_1_3()
1278 channelStatsEntry.ccaBusyTimeMs = channelStats.ccaBusyTimeInMs; in setFrameworkPerRadioStatsFromHidl_1_6()
1325 channelStatsEntry.ccaBusyTimeMs += channelStats.ccaBusyTimeInMs; in aggregateFrameworkRadioStatsFromHidl_1_3()
1372 channelStatsEntry.ccaBusyTimeMs += channelStats.ccaBusyTimeInMs; in aggregateFrameworkRadioStatsFromHidl_1_6()
DWifiStaIfaceAidlImpl.java1485 channelStatsEntry.ccaBusyTimeMs = channelStats.ccaBusyTimeInMs; in setFrameworkPerRadioStatsFromAidl()
1525 channelStatsEntry.ccaBusyTimeMs += channelStats.ccaBusyTimeInMs; in aggregateFrameworkRadioStatsFromAidl()