/packages/modules/Wifi/framework/tests/src/android/net/wifi/ |
D | WifiUsabilityStatsEntryTest.java | 80 RateStats[] rateStats = new RateStats[2]; in getTimeSliceDutyCycleInPercent() local 81 rateStats[0] = new RateStats(1, 3, 4, 7, 9, 11, 13, 15, 17); in getTimeSliceDutyCycleInPercent() 82 rateStats[1] = new RateStats(2, 2, 3, 8, 10, 12, 14, 16, 18); in getTimeSliceDutyCycleInPercent() 90 32, contentionTimeStats, rateStats, radioStats, 100, true, in getTimeSliceDutyCycleInPercent() 97 21, 22, -1, contentionTimeStats, rateStats, radioStats, 101, true, true, in getTimeSliceDutyCycleInPercent() 124 RateStats[] rateStats = new RateStats[2]; in createResult() local 125 rateStats[0] = new RateStats(1, 3, 4, 7, 9, 11, 13, 15, 17); in createResult() 126 rateStats[1] = new RateStats(2, 2, 3, 8, 10, 12, 14, 16, 18); in createResult() 134 50, contentionTimeStats, rateStats, radioStats, 102, true, in createResult()
|
D | WifiManagerTest.java | 2310 RateStats[] rateStats = new RateStats[2]; in addOnWifiUsabilityStatsListenerGoesToWifiServiceImpl() local 2311 rateStats[0] = new RateStats(1, 3, 5, 7, 9, 11, 13, 15, 17); in addOnWifiUsabilityStatsListenerGoesToWifiServiceImpl() 2312 rateStats[1] = new RateStats(2, 4, 6, 8, 10, 12, 14, 16, 18); in addOnWifiUsabilityStatsListenerGoesToWifiServiceImpl() 2319 100, 27, contentionTimeStats, rateStats, radioStats, 101, true, true, true, in addOnWifiUsabilityStatsListenerGoesToWifiServiceImpl()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | WifiLinkLayerStats.java | 264 public RateStat[] rateStats; field in WifiLinkLayerStats.PeerInfo 448 int numRateStats = peer.rateStats == null ? 0 : peer.rateStats.length; in toString() 450 RateStat rateStat = peer.rateStats[j]; in toString()
|
D | WifiVendorHal.java | 1307 RateStat[] rateStats = new RateStat[staPeerInfo.rateStats.size()]; in setIfaceStats_1_5() local 1308 for (int j = 0; j < staPeerInfo.rateStats.size(); j++) { in setIfaceStats_1_5() 1309 rateStats[j] = new RateStat(); in setIfaceStats_1_5() 1310 StaRateStat staRateStat = staPeerInfo.rateStats.get(j); in setIfaceStats_1_5() 1311 rateStats[j].preamble = staRateStat.rateInfo.preamble; in setIfaceStats_1_5() 1312 rateStats[j].nss = staRateStat.rateInfo.nss; in setIfaceStats_1_5() 1313 rateStats[j].bw = staRateStat.rateInfo.bw; in setIfaceStats_1_5() 1314 rateStats[j].rateMcsIdx = staRateStat.rateInfo.rateMcsIdx; in setIfaceStats_1_5() 1315 rateStats[j].bitRateInKbps = staRateStat.rateInfo.bitRateInKbps; in setIfaceStats_1_5() 1316 rateStats[j].txMpdu = staRateStat.txMpdu; in setIfaceStats_1_5() [all …]
|
D | WifiMetrics.java | 4388 if (entry.rateStats != null) { in printWifiUsabilityStatsEntry() 4389 for (RateStats rateStat : entry.rateStats) { in printWifiUsabilityStatsEntry() 6391 && stats.peerInfo[0].rateStats != null) { 6394 int numRates = stats.peerInfo[0].rateStats != null 6395 ? stats.peerInfo[0].rateStats.length : 0; 6396 wifiUsabilityStatsEntry.rateStats = new RateStats[numRates]; 6399 WifiLinkLayerStats.RateStat curRate = stats.peerInfo[0].rateStats[i]; 6409 wifiUsabilityStatsEntry.rateStats[i] = rate; 6485 int numRates = s.rateStats != null ? s.rateStats.length : 0; 6486 android.net.wifi.WifiUsabilityStatsEntry.RateStats[] rateStats = [all …]
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WifiVendorHalTest.java | 1388 for (int j = 0; j < iface.peers.get(i).rateStats.size(); j++) { in verifyIFaceStats_1_5() 1389 assertEquals(iface.peers.get(i).rateStats.get(j).rateInfo.preamble, in verifyIFaceStats_1_5() 1390 wifiLinkLayerStats.peerInfo[i].rateStats[j].preamble); in verifyIFaceStats_1_5() 1391 assertEquals(iface.peers.get(i).rateStats.get(j).rateInfo.nss, in verifyIFaceStats_1_5() 1392 wifiLinkLayerStats.peerInfo[i].rateStats[j].nss); in verifyIFaceStats_1_5() 1393 assertEquals(iface.peers.get(i).rateStats.get(j).rateInfo.bw, in verifyIFaceStats_1_5() 1394 wifiLinkLayerStats.peerInfo[i].rateStats[j].bw); in verifyIFaceStats_1_5() 1395 assertEquals(iface.peers.get(i).rateStats.get(j).rateInfo.rateMcsIdx, in verifyIFaceStats_1_5() 1396 wifiLinkLayerStats.peerInfo[i].rateStats[j].rateMcsIdx); in verifyIFaceStats_1_5() 1397 assertEquals(iface.peers.get(i).rateStats.get(j).rateInfo.bitRateInKbps, in verifyIFaceStats_1_5() [all …]
|
D | WifiMetricsTest.java | 3800 if (current[i].rateStats != null) { in createNewPeerInfo() 3801 numRates = current[i].rateStats.length; in createNewPeerInfo() 3803 RateStat[] rateStats = new RateStat[numRates]; in createNewPeerInfo() local 3805 RateStat curRate = current[i].rateStats[j]; in createNewPeerInfo() 3816 rateStats[j] = newRate; in createNewPeerInfo() 3819 out[i].rateStats = rateStats; in createNewPeerInfo() 4043 for (int j = 0; j < curPeer.rateStats.length; j++) { in assertUsabilityStatsAssignment() 4044 RateStat rate = curPeer.rateStats[j]; in assertUsabilityStatsAssignment() 4045 RateStats usabilityRate = usabilityStats.rateStats[j]; in assertUsabilityStatsAssignment() 4174 RateStat[] rateStats = new RateStat[1]; in createNewWifiLinkLayerStats() local [all …]
|
/packages/modules/Wifi/framework/java/android/net/wifi/ |
D | WifiUsabilityStatsEntry.java | 619 RateStats[] rateStats, RadioStats[] radiostats, int channelUtilizationRatio, in WifiUsabilityStatsEntry() argument 649 mRateStats = rateStats; in WifiUsabilityStatsEntry()
|