Searched refs:channelStatsMap (Results 1 – 9 of 9) sorted by relevance
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | WifiChannelUtilization.java | 106 mChannelStatsMapCache.addFirst(wifiLinkLayerStats.channelStatsMap); in init() 183 SparseArray<ChannelStats> channelStatsMap = wifiLinkLayerStats.channelStatsMap; in refreshChannelStatsAndChannelUtilization() local 184 if (channelStatsMap == null) { in refreshChannelStatsAndChannelUtilization() 188 ChannelStats channelStats = channelStatsMap.get(frequency, null); in refreshChannelStatsAndChannelUtilization() 191 for (int i = 0; i < channelStatsMap.size(); i++) { in refreshChannelStatsAndChannelUtilization() 192 ChannelStats channelStats = channelStatsMap.valueAt(i); in refreshChannelStatsAndChannelUtilization() 196 updateChannelStatsCache(channelStatsMap, frequency); in refreshChannelStatsAndChannelUtilization() 245 SparseArray<ChannelStats> channelStatsMap = (SparseArray<ChannelStats>) iterator.next(); in findChanStatsReference() local 250 if (channelStatsMap == null || channelStatsMap.get(freq) == null) { in findChanStatsReference() 253 ChannelStats channelStats = channelStatsMap.get(freq); in findChanStatsReference() [all …]
|
D | WifiLinkLayerStats.java | 318 public final SparseArray<ChannelStats> channelStatsMap = new SparseArray<>(); field in WifiLinkLayerStats 456 public final SparseArray<ChannelStats> channelStatsMap = new SparseArray<>(); field in WifiLinkLayerStats.RadioStat 619 int numChanStats = this.channelStatsMap.size(); in toString() 622 ChannelStats channelStatsEntry = this.channelStatsMap.valueAt(i); in toString() 646 int numRadioChanStats = radio.channelStatsMap.size(); in toString() 649 ChannelStats channelStatsEntry = radio.channelStatsMap.valueAt(j); in toString()
|
D | WifiMetrics.java | 7068 stats.channelStatsMap.get(info.getFrequency()); 7357 WifiLinkLayerStats.ChannelStats channelStatsMap = stats.channelStatsMap.get( 7379 (channelStatsMap != null) ? channelStatsMap.ccaBusyTimeMs : 0 , 7380 (channelStatsMap != null) ? channelStatsMap.radioOnTimeMs : 0,
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WifiChannelUtilizationTest.java | 99 llstats.channelStatsMap.put(freq, cs); in verifyOneReadChanStatsWithShortRadioOnTime() 112 llstats.channelStatsMap.put(freq, cs); in verifyOneReadChanStatsWithLargeCcaBusyTime() 125 llstats.channelStatsMap.put(freq, cs); in verifyOneReadChanStatsWithLongRadioOnTime() 139 llstats.channelStatsMap.put(freq, cs); in verifyOneReadChanStatsWithDiffFreq() 152 llstats1.channelStatsMap.put(freq, cs1); in verifyTwoReadChanStatsWithLargeTimeGap() 162 llstats2.channelStatsMap.put(freq, cs2); in verifyTwoReadChanStatsWithLargeTimeGap() 180 llstats1.channelStatsMap.put(freq, cs1); in verifyTwoReadChanStatsWithSmallTimeGap() 190 llstats2.channelStatsMap.put(freq, cs2); in verifyTwoReadChanStatsWithSmallTimeGap() 208 llstats1.channelStatsMap.put(freq, cs1); in verifyThreeReadChanStatsRefWithSecondLast() 218 llstats2.channelStatsMap.put(freq, cs2); in verifyThreeReadChanStatsRefWithSecondLast() [all …]
|
D | WifiMetricsTest.java | 3968 out.channelStatsMap.put(out.links[i].frequencyMhz, cs); in nextRandomStats() 4777 linkLayerStats.channelStatsMap.get(linkStat.frequencyMhz).ccaBusyTimeMs); in testClientNotification() 4779 linkLayerStats.channelStatsMap.get(linkStat.frequencyMhz).radioOnTimeMs); in testClientNotification()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hal/ |
D | WifiStaIfaceAidlImplTest.java | 582 assertEquals(radio.channelStats.length, radioStat.channelStatsMap.size()); in verifyPerRadioStats() 586 radioStat.channelStatsMap.get(channelStats.channel.centerFreq); in verifyPerRadioStats() 610 assertEquals(radio.channelStats.length, wifiLinkLayerStats.channelStatsMap.size()); in verifyRadioStats() 614 wifiLinkLayerStats.channelStatsMap.get(channelStats.channel.centerFreq); in verifyRadioStats() 650 assertEquals(radio0.channelStats.length, wifiLinkLayerStats.channelStatsMap.size()); in verifyTwoRadioStatsAggregation() 655 wifiLinkLayerStats.channelStatsMap.get(radio0ChannelStats.channel.centerFreq); in verifyTwoRadioStatsAggregation()
|
D | WifiStaIfaceHidlImplTest.java | 410 wifiLinkLayerStats.channelStatsMap.size()); in verifyRadioStats_1_3() 414 wifiLinkLayerStats.channelStatsMap.get(channelStats.channel.centerFreq); in verifyRadioStats_1_3() 441 radioStat.channelStatsMap.size()); in verifyPerRadioStats() 445 radioStat.channelStatsMap.get(channelStats.channel.centerFreq); in verifyPerRadioStats() 494 wifiLinkLayerStats.channelStatsMap.size()); in verifyTwoRadioStatsAggregation() 499 wifiLinkLayerStats.channelStatsMap.get(radio0ChannelStats.channel.centerFreq); in verifyTwoRadioStatsAggregation()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/hal/ |
D | WifiStaIfaceHidlImpl.java | 1252 radio.channelStatsMap.put(channelStats.channel.centerFreq, channelStatsEntry); in setFrameworkPerRadioStatsFromHidl_1_3() 1279 radio.channelStatsMap.put(channelStats.channel.centerFreq, channelStatsEntry); in setFrameworkPerRadioStatsFromHidl_1_6() 1318 stats.channelStatsMap.get(channelStats.channel.centerFreq); in aggregateFrameworkRadioStatsFromHidl_1_3() 1322 stats.channelStatsMap.put(channelStats.channel.centerFreq, channelStatsEntry); in aggregateFrameworkRadioStatsFromHidl_1_3() 1365 stats.channelStatsMap.get(channelStats.channel.centerFreq); in aggregateFrameworkRadioStatsFromHidl_1_6() 1369 stats.channelStatsMap.put(channelStats.channel.centerFreq, channelStatsEntry); in aggregateFrameworkRadioStatsFromHidl_1_6()
|
D | WifiStaIfaceAidlImpl.java | 1486 radio.channelStatsMap.put(channelStats.channel.centerFreq, channelStatsEntry); in setFrameworkPerRadioStatsFromAidl() 1518 stats.channelStatsMap.get(channelStats.channel.centerFreq); in aggregateFrameworkRadioStatsFromAidl() 1522 stats.channelStatsMap.put(channelStats.channel.centerFreq, channelStatsEntry); in aggregateFrameworkRadioStatsFromAidl()
|