summaryrefslogtreecommitdiffstats
path: root/wifi/java/android/net/wifi/WifiActivityEnergyInfo.java
Commit message (Collapse)AuthorAgeFilesLines
* Bluetooth energy: fix overflow in calculationAdam Lesinski2015-06-151-24/+23
| | | | | | | Use longs instead of ints, because the energy values can get pretty high. Change-Id: I43e696ad9e5965c2e616b11920db5bfae5db1671
* Merge commit 'd91f193' into merge2Etan Cohen2015-04-011-0/+1
|\
| * add wifi config for power calculationPierre Vandwalle2015-03-241-0/+1
| | | | | | | | Change-Id: Ic312ffeb299d199547cc75bc6977140f8e6e5f7b
* | Retrieve WiFi info outside of BatteryStatsImplAdam Lesinski2015-03-261-6/+29
| | | | | | | | | | | | | | | | | | | | In order to not deadlock the system, we need to retrieve WiFi energy info outside of the BatteryStats lock. We do this, then pass that data down to BatteryStatsImpl to process. b/19729960 Change-Id: Ib8beba1d5ac81d89144d502c4b688d0a88c5b102
* | Change WiFi and Bluetooth ActivityEnergyInfo classesAdam Lesinski2015-03-091-10/+12
|/ | | | | | | Have them take an elapsed time millis timestamp instead of having the constructor call System.currentTimeMillis. Change-Id: Ic9ca8f92347c336beee8ebcc3407de2c1e5b4073
* add radio stats to link layervandwalle2014-08-261-0/+141
Bug:15563188 Change-Id: I3d2a230b0362520b9f1b2bc3792260116971e106