/packages/modules/Wifi/framework/tests/src/android/net/wifi/ |
D | WifiUsabilityStatsEntryTest.java | 84 RadioStats[] radioStats = new RadioStats[2]; in getTimeSliceDutyCycleInPercent() local 85 radioStats[0] = new RadioStats(0, 10, 11, 12, 13, 14, 15, 16, 17, 18); in getTimeSliceDutyCycleInPercent() 86 radioStats[1] = new RadioStats(1, 20, 21, 22, 23, 24, 25, 26, 27, 28); in getTimeSliceDutyCycleInPercent() 90 32, contentionTimeStats, rateStats, radioStats, 100, true, in getTimeSliceDutyCycleInPercent() 97 21, 22, -1, contentionTimeStats, rateStats, radioStats, 101, true, true, in getTimeSliceDutyCycleInPercent() 128 RadioStats[] radioStats = new RadioStats[2]; in createResult() local 129 radioStats[0] = new RadioStats(0, 10, 11, 12, 13, 14, 15, 16, 17, 18); in createResult() 130 radioStats[1] = new RadioStats(1, 20, 21, 22, 23, 24, 25, 26, 27, 28); in createResult() 134 50, contentionTimeStats, rateStats, radioStats, 102, true, in createResult()
|
D | WifiManagerTest.java | 2313 RadioStats[] radioStats = new RadioStats[2]; in addOnWifiUsabilityStatsListenerGoesToWifiServiceImpl() local 2314 radioStats[0] = new RadioStats(0, 10, 11, 12, 13, 14, 15, 16, 17, 18); in addOnWifiUsabilityStatsListenerGoesToWifiServiceImpl() 2315 radioStats[1] = new RadioStats(1, 20, 21, 22, 23, 24, 25, 26, 27, 28); in addOnWifiUsabilityStatsListenerGoesToWifiServiceImpl() 2319 100, 27, contentionTimeStats, rateStats, radioStats, 101, true, true, true, in addOnWifiUsabilityStatsListenerGoesToWifiServiceImpl()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | WifiMetrics.java | 1680 if (newStats.radioStats != null && newStats.radioStats.length > 0 in incrementPerRadioUsageStats() 1681 && oldStats.radioStats != null && oldStats.radioStats.length > 0 in incrementPerRadioUsageStats() 1682 && newStats.radioStats.length == oldStats.radioStats.length) { in incrementPerRadioUsageStats() 1683 int numRadios = newStats.radioStats.length; in incrementPerRadioUsageStats() 1685 WifiLinkLayerStats.RadioStat newRadio = newStats.radioStats[i]; in incrementPerRadioUsageStats() 1686 WifiLinkLayerStats.RadioStat oldRadio = oldStats.radioStats[i]; in incrementPerRadioUsageStats() 1690 RadioStats radioStats = mRadioStats.get(newRadio.radio_id); in incrementPerRadioUsageStats() local 1691 if (radioStats == null) { in incrementPerRadioUsageStats() 1692 radioStats = new RadioStats(); in incrementPerRadioUsageStats() 1693 radioStats.radioId = newRadio.radio_id; in incrementPerRadioUsageStats() [all …]
|
D | WifiLinkLayerStats.java | 330 public RadioStat[] radioStats; field in WifiLinkLayerStats 412 int numRadios = this.radioStats == null ? 0 : this.radioStats.length; in toString() 415 RadioStat radio = this.radioStats[i]; in toString()
|
D | WifiVendorHal.java | 1331 StaLinkLayerRadioStats radioStats = radios.get(0); in setRadioStats() local 1332 stats.on_time = radioStats.onTimeInMs; in setRadioStats() 1333 stats.tx_time = radioStats.txTimeInMs; in setRadioStats() 1334 stats.tx_time_per_level = new int[radioStats.txTimeInMsPerLevel.size()]; in setRadioStats() 1336 stats.tx_time_per_level[i] = radioStats.txTimeInMsPerLevel.get(i); in setRadioStats() 1338 stats.rx_time = radioStats.rxTimeInMs; in setRadioStats() 1339 stats.on_time_scan = radioStats.onTimeInMsForScan; in setRadioStats() 1422 for (android.hardware.wifi.V1_3.StaLinkLayerRadioStats radioStats : radios) { in setRadioStats_1_3() 1423 aggregateFrameworkRadioStatsFromHidl(radioIndex, stats, radioStats); in setRadioStats_1_3() 1432 stats.radioStats = new RadioStat[radios.size()]; in setRadioStats_1_5() [all …]
|
D | WifiScoreCard.java | 1368 if (stats.radioStats != null && stats.radioStats.length > 0) { in getTotalRadioOnTimeMs() 1370 for (WifiLinkLayerStats.RadioStat stat : stats.radioStats) { in getTotalRadioOnTimeMs()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WifiMetricsTest.java | 3789 out.radioStats = createNewRadioStat(current.radioStats); in nextRandomStats() 3875 assertEquals(oldStats.radioStats.length, newStats.radioStats.length); in assertPerRadioStatsUsageHasDiff() 3876 assertEquals(newStats.radioStats.length, in assertPerRadioStatsUsageHasDiff() 3877 mDecodedProto.wifiLinkLayerUsageStats.radioStats.length); in assertPerRadioStatsUsageHasDiff() 3878 for (int i = 0; i < oldStats.radioStats.length; i++) { in assertPerRadioStatsUsageHasDiff() 3879 RadioStat oldRadioStats = oldStats.radioStats[i]; in assertPerRadioStatsUsageHasDiff() 3880 RadioStat newRadioStats = newStats.radioStats[i]; in assertPerRadioStatsUsageHasDiff() 3881 RadioStats radioStats = in assertPerRadioStatsUsageHasDiff() local 3882 mDecodedProto.wifiLinkLayerUsageStats.radioStats[i]; in assertPerRadioStatsUsageHasDiff() 3884 assertEquals(newRadioStats.radio_id, radioStats.radioId); in assertPerRadioStatsUsageHasDiff() [all …]
|
D | WifiScoreCardTest.java | 1610 mOldLlStats.radioStats = new WifiLinkLayerStats.RadioStat[2]; in testLinkBandwidthTwoRadioStatsVariousTxTraffic() 1611 mOldLlStats.radioStats[0] = new WifiLinkLayerStats.RadioStat(); in testLinkBandwidthTwoRadioStatsVariousTxTraffic() 1612 mOldLlStats.radioStats[1] = new WifiLinkLayerStats.RadioStat(); in testLinkBandwidthTwoRadioStatsVariousTxTraffic() 1613 mNewLlStats.radioStats = new WifiLinkLayerStats.RadioStat[2]; in testLinkBandwidthTwoRadioStatsVariousTxTraffic() 1614 mNewLlStats.radioStats[0] = new WifiLinkLayerStats.RadioStat(); in testLinkBandwidthTwoRadioStatsVariousTxTraffic() 1615 mNewLlStats.radioStats[1] = new WifiLinkLayerStats.RadioStat(); in testLinkBandwidthTwoRadioStatsVariousTxTraffic() 1616 mNewLlStats.radioStats[0].on_time = 500; in testLinkBandwidthTwoRadioStatsVariousTxTraffic() 1617 mNewLlStats.radioStats[1].on_time = 500; in testLinkBandwidthTwoRadioStatsVariousTxTraffic()
|
D | WifiVendorHalTest.java | 1460 wifiLinkLayerStats.radioStats.length); in verifyPerRadioStats() 1463 RadioStat radioStat = wifiLinkLayerStats.radioStats[i]; in verifyPerRadioStats()
|