Home
last modified time | relevance | path

Searched refs:newRadio (Results 1 – 2 of 2) sorted by relevance

/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiMetrics.java1813 WifiLinkLayerStats.RadioStat newRadio = newStats.radioStats[i]; in incrementPerRadioUsageStats() local
1815 if (newRadio.radio_id != oldRadio.radio_id) { in incrementPerRadioUsageStats()
1818 RadioStats radioStats = mRadioStats.get(newRadio.radio_id); in incrementPerRadioUsageStats()
1821 radioStats.radioId = newRadio.radio_id; in incrementPerRadioUsageStats()
1822 mRadioStats.put(newRadio.radio_id, radioStats); in incrementPerRadioUsageStats()
1825 += newRadio.on_time - oldRadio.on_time; in incrementPerRadioUsageStats()
1827 += newRadio.tx_time - oldRadio.tx_time; in incrementPerRadioUsageStats()
1829 += newRadio.rx_time - oldRadio.rx_time; in incrementPerRadioUsageStats()
1831 += newRadio.on_time_scan - oldRadio.on_time_scan; in incrementPerRadioUsageStats()
1833 += newRadio.on_time_nan_scan - oldRadio.on_time_nan_scan; in incrementPerRadioUsageStats()
[all …]
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiMetricsTest.java4049 RadioStat newRadio = new RadioStat(); in createNewRadioStat() local
4050 newRadio.radio_id = currentRadio.radio_id; in createNewRadioStat()
4051 newRadio.on_time = currentRadio.on_time + nextRandInt(); in createNewRadioStat()
4052 newRadio.tx_time = currentRadio.tx_time + nextRandInt(); in createNewRadioStat()
4053 newRadio.rx_time = currentRadio.rx_time + nextRandInt(); in createNewRadioStat()
4054 newRadio.on_time_scan = currentRadio.on_time_scan + nextRandInt(); in createNewRadioStat()
4055 newRadio.on_time_nan_scan = currentRadio.on_time_nan_scan + nextRandInt(); in createNewRadioStat()
4056 newRadio.on_time_background_scan = currentRadio.on_time_background_scan + nextRandInt(); in createNewRadioStat()
4057 newRadio.on_time_roam_scan = currentRadio.on_time_roam_scan + nextRandInt(); in createNewRadioStat()
4058 newRadio.on_time_pno_scan = currentRadio.on_time_pno_scan + nextRandInt(); in createNewRadioStat()
[all …]