Home
last modified time | relevance | path

Searched refs:radioStats (Results 1 – 11 of 11) sorted by relevance

/packages/modules/Wifi/framework/tests/src/android/net/wifi/
DWifiUsabilityStatsEntryTest.java87 RadioStats[] radioStats = new RadioStats[2]; in getTimeSliceDutyCycleInPercent() local
88 radioStats[0] = new RadioStats(0, 10, 11, 12, 13, 14, 15, 16, 17, 18); in getTimeSliceDutyCycleInPercent()
89 radioStats[1] = new RadioStats(1, 20, 21, 22, 23, 24, 25, 26, 27, 28); in getTimeSliceDutyCycleInPercent()
105 32, contentionTimeStats, rateStats, radioStats, 100, true, in getTimeSliceDutyCycleInPercent()
112 21, 22, -1, contentionTimeStats, rateStats, radioStats, 101, true, true, in getTimeSliceDutyCycleInPercent()
143 RadioStats[] radioStats = new RadioStats[2]; in createResult() local
144 radioStats[0] = new RadioStats(0, 10, 11, 12, 13, 14, 15, 16, 17, 18); in createResult()
145 radioStats[1] = new RadioStats(1, 20, 21, 22, 23, 24, 25, 26, 27, 28); in createResult()
158 50, contentionTimeStats, rateStats, radioStats, 102, true, in createResult()
DWifiManagerTest.java2508 RadioStats[] radioStats = new RadioStats[2]; in addOnWifiUsabilityStatsListenerGoesToWifiServiceImpl() local
2509 radioStats[0] = new RadioStats(0, 10, 11, 12, 13, 14, 15, 16, 17, 18); in addOnWifiUsabilityStatsListenerGoesToWifiServiceImpl()
2510 radioStats[1] = new RadioStats(1, 20, 21, 22, 23, 24, 25, 26, 27, 28); in addOnWifiUsabilityStatsListenerGoesToWifiServiceImpl()
2524 100, 27, contentionTimeStats, rateStats, radioStats, 101, true, true, true, in addOnWifiUsabilityStatsListenerGoesToWifiServiceImpl()
/packages/modules/Wifi/service/java/com/android/server/wifi/hal/
DWifiStaIfaceHidlImpl.java1177 StaLinkLayerRadioStats radioStats = radios.get(0); in setRadioStats() local
1178 stats.on_time = radioStats.onTimeInMs; in setRadioStats()
1179 stats.tx_time = radioStats.txTimeInMs; in setRadioStats()
1180 stats.tx_time_per_level = new int[radioStats.txTimeInMsPerLevel.size()]; in setRadioStats()
1182 stats.tx_time_per_level[i] = radioStats.txTimeInMsPerLevel.get(i); in setRadioStats()
1184 stats.rx_time = radioStats.rxTimeInMs; in setRadioStats()
1185 stats.on_time_scan = radioStats.onTimeInMsForScan; in setRadioStats()
1194 for (android.hardware.wifi.V1_3.StaLinkLayerRadioStats radioStats : radios) { in setRadioStats_1_3()
1195 aggregateFrameworkRadioStatsFromHidl_1_3(radioIndex, stats, radioStats); in setRadioStats_1_3()
1204 stats.radioStats = new WifiLinkLayerStats.RadioStat[radios.size()]; in setRadioStats_1_5()
[all …]
DWifiStaIfaceAidlImpl.java1457 stats.radioStats = new WifiLinkLayerStats.RadioStat[radios.length]; in setRadioStats()
1458 for (StaLinkLayerRadioStats radioStats : radios) { in setRadioStats()
1460 setFrameworkPerRadioStatsFromAidl(radio, radioStats); in setRadioStats()
1461 stats.radioStats[radioIndex] = radio; in setRadioStats()
1462 aggregateFrameworkRadioStatsFromAidl(radioIndex, stats, radioStats); in setRadioStats()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiMetrics.java1808 if (newStats.radioStats != null && newStats.radioStats.length > 0 in incrementPerRadioUsageStats()
1809 && oldStats.radioStats != null && oldStats.radioStats.length > 0 in incrementPerRadioUsageStats()
1810 && newStats.radioStats.length == oldStats.radioStats.length) { in incrementPerRadioUsageStats()
1811 int numRadios = newStats.radioStats.length; in incrementPerRadioUsageStats()
1813 WifiLinkLayerStats.RadioStat newRadio = newStats.radioStats[i]; in incrementPerRadioUsageStats()
1814 WifiLinkLayerStats.RadioStat oldRadio = oldStats.radioStats[i]; in incrementPerRadioUsageStats()
1818 RadioStats radioStats = mRadioStats.get(newRadio.radio_id); in incrementPerRadioUsageStats() local
1819 if (radioStats == null) { in incrementPerRadioUsageStats()
1820 radioStats = new RadioStats(); in incrementPerRadioUsageStats()
1821 radioStats.radioId = newRadio.radio_id; in incrementPerRadioUsageStats()
[all …]
DWifiLinkLayerStats.java462 public RadioStat[] radioStats; field in WifiLinkLayerStats
627 int numRadios = this.radioStats == null ? 0 : this.radioStats.length; in toString()
630 RadioStat radio = this.radioStats[i]; in toString()
DWifiScoreCard.java1374 if (stats.radioStats != null && stats.radioStats.length > 0) { in getTotalRadioOnTimeMs()
1376 for (WifiLinkLayerStats.RadioStat stat : stats.radioStats) { in getTotalRadioOnTimeMs()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiMetricsTest.java4005 out.radioStats = createNewRadioStat(current.radioStats); in nextRandomStats()
4091 assertEquals(oldStats.radioStats.length, newStats.radioStats.length); in assertPerRadioStatsUsageHasDiff()
4092 assertEquals(newStats.radioStats.length, in assertPerRadioStatsUsageHasDiff()
4093 mDecodedProto.wifiLinkLayerUsageStats.radioStats.length); in assertPerRadioStatsUsageHasDiff()
4094 for (int i = 0; i < oldStats.radioStats.length; i++) { in assertPerRadioStatsUsageHasDiff()
4095 RadioStat oldRadioStats = oldStats.radioStats[i]; in assertPerRadioStatsUsageHasDiff()
4096 RadioStat newRadioStats = newStats.radioStats[i]; in assertPerRadioStatsUsageHasDiff()
4097 RadioStats radioStats = in assertPerRadioStatsUsageHasDiff() local
4098 mDecodedProto.wifiLinkLayerUsageStats.radioStats[i]; in assertPerRadioStatsUsageHasDiff()
4100 assertEquals(newRadioStats.radio_id, radioStats.radioId); in assertPerRadioStatsUsageHasDiff()
[all …]
DWifiScoreCardTest.java1614 mOldLlStats.radioStats = new WifiLinkLayerStats.RadioStat[2]; in testLinkBandwidthTwoRadioStatsVariousTxTraffic()
1615 mOldLlStats.radioStats[0] = new WifiLinkLayerStats.RadioStat(); in testLinkBandwidthTwoRadioStatsVariousTxTraffic()
1616 mOldLlStats.radioStats[1] = new WifiLinkLayerStats.RadioStat(); in testLinkBandwidthTwoRadioStatsVariousTxTraffic()
1617 mNewLlStats.radioStats = new WifiLinkLayerStats.RadioStat[2]; in testLinkBandwidthTwoRadioStatsVariousTxTraffic()
1618 mNewLlStats.radioStats[0] = new WifiLinkLayerStats.RadioStat(); in testLinkBandwidthTwoRadioStatsVariousTxTraffic()
1619 mNewLlStats.radioStats[1] = new WifiLinkLayerStats.RadioStat(); in testLinkBandwidthTwoRadioStatsVariousTxTraffic()
1620 mNewLlStats.radioStats[0].on_time = 500; in testLinkBandwidthTwoRadioStatsVariousTxTraffic()
1621 mNewLlStats.radioStats[1].on_time = 500; in testLinkBandwidthTwoRadioStatsVariousTxTraffic()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hal/
DWifiStaIfaceAidlImplTest.java567 assertEquals(radios.length, wifiLinkLayerStats.radioStats.length); in verifyPerRadioStats()
570 WifiLinkLayerStats.RadioStat radioStat = wifiLinkLayerStats.radioStats[i]; in verifyPerRadioStats()
DWifiStaIfaceHidlImplTest.java425 wifiLinkLayerStats.radioStats.length); in verifyPerRadioStats()
428 WifiLinkLayerStats.RadioStat radioStat = wifiLinkLayerStats.radioStats[i]; in verifyPerRadioStats()