Searched refs:channelStats (Results 1 – 2 of 2) sorted by relevance
1011 assertEquals(radio.channelStats.size(), in verifyRadioStats_1_3()1013 for (int j = 0; j < radio.channelStats.size(); j++) { in verifyRadioStats_1_3()1014 WifiChannelStats channelStats = radio.channelStats.get(j); in verifyRadioStats_1_3() local1016 wifiLinkLayerStats.channelStatsMap.get(channelStats.channel.centerFreq); in verifyRadioStats_1_3()1018 assertEquals(channelStats.channel.centerFreq, retrievedChannelStats.frequency); in verifyRadioStats_1_3()1019 assertEquals(channelStats.onTimeInMs, retrievedChannelStats.radioOnTimeMs); in verifyRadioStats_1_3()1020 assertEquals(channelStats.ccaBusyTimeInMs, retrievedChannelStats.ccaBusyTimeMs); in verifyRadioStats_1_3()1072 WifiChannelStats channelStats = new WifiChannelStats(); in randomizeRadioStats_1_3() local1073 channelStats.channel.centerFreq = TEST_FREQUENCIES[j]; in randomizeRadioStats_1_3()1074 channelStats.onTimeInMs = r.nextInt() & 0xFFFFFF; in randomizeRadioStats_1_3()[all …]
1032 for (int i = 0; i < radioStats.channelStats.size(); i++) { in setRadioStats_1_3()1033 android.hardware.wifi.V1_3.WifiChannelStats channelStats = in setRadioStats_1_3() local1034 radioStats.channelStats.get(i); in setRadioStats_1_3()1036 channelStatsEntry.frequency = channelStats.channel.centerFreq; in setRadioStats_1_3()1037 channelStatsEntry.radioOnTimeMs = channelStats.onTimeInMs; in setRadioStats_1_3()1038 channelStatsEntry.ccaBusyTimeMs = channelStats.ccaBusyTimeInMs; in setRadioStats_1_3()1039 stats.channelStatsMap.put(channelStats.channel.centerFreq, channelStatsEntry); in setRadioStats_1_3()