Michael Wachenschwanz
b221381fa8
Add MobileRadio/Gnss MeasuredBatteryConsumpter methods to FakeUid
...
Bug: 174818228
Test: builds
Change-Id: I783adb7a6e9f8bc01d656113bb1d637eb18dae6f
2021-03-22 18:35:35 -07:00
Adam Bookatz
03efe79d07
FakeUid: measured energy for Wifi, Bluetooth
...
Updates FakeUid for the new BatteryStats APIs:
getWifiMeasuredBatteryConsumptionUC()
getBluetoothMeasuredBatteryConsumptionUC
Test: atest BatteryStatsTests
Bug: 174818228
Change-Id: I60b4a7dbc24b5fe6d91502a942cab8a32daacf96
2021-03-12 13:41:23 -08:00
Michael Wachenschwanz
3e0cf46140
Add getCpuMeasuredBatteryConsumptionUC to FakeUid
...
Bug: 180079165
Test: builds
Change-Id: I2bb97900e2651a1e3229140994f09d397e29e404
2021-03-05 15:04:47 -08:00
Michael Wachenschwanz
ad250a4e3c
Update FakeUid with energy to charge change
...
Bug: 180079165
Test: builds
Change-Id: I14c1fc727f6a63b0292b0dce1a3b12d00aa61c0f
2021-03-05 15:04:33 -08:00
Adam Bookatz
738376dbaa
[FakeUid] BatteryStats.getCustomMeasuredEnergiesMicroJoules()
...
Fake Uid.getCustomMeasuredEnergiesMicroJoules() for new BatteryStats API.
Bug: 179107328
Bug: 174818228
Test: atest FrameworksCoreTests:com.android.internal.os.BatteryStatsNoteTest
Test: atest FrameworksCoreTests:com.android.internal.power.MeasuredEnergyStatsTest
Change-Id: Id55d52cad6622289aa0f39cfdb24799cac393878
2021-02-10 13:18:43 -08:00
Michael Wachenschwanz
d127eb017c
Add getScreenOnEnergy to FakeUid
...
Bug: 172361024
Test: builds
Change-Id: I968bae76d2cc8bfc718057466320095cb4eeac2f
2021-01-05 10:06:49 -08:00
Dmitri Plotnikov
e99f810c28
Adjust for changing BatteryStats.Uid API
...
Test: flash the build and go to Settings/Battery
Change-Id: Iaf57d98bde7ac4978bcd71f0772970e1446e845d
2020-07-17 19:21:32 -07:00
Amith Yamasani
7366878829
Update FakeUid for new methods
...
Bug: 70297451
Test: N/A
Change-Id: I8a9db76c85df2b3e3c5027f52d36914ad338aa35
2018-02-16 16:39:30 -08:00
Mike Ma
e98c54dd69
Fix FakeUid implementation
...
Test: local build
Change-Id: Ia1d7ac98e9f1abd12e483b101b45fefab34eb235
2018-01-04 18:35:03 -08:00
Sudheer Shanka
c8b61e6612
Update FakeUid to match BatteryStats.Uid.
...
Bug: 66953194
Test: N/A
Change-Id: Ibb4c6be68d1ea2c64f7da7bc0b39d7142ac8ce9a
2017-12-20 12:23:32 -08:00
Ahmed ElArabawy
35f5b8f357
Add new method to FakeUid
...
This commit adds a new method to FakeUid
The added method is getMulticastWakelockStats()
Test: Manual Test
Bug: 33649966
Change-Id: I55c31eca87f1ad46e478d5e9e5e2f951eaee0265
Signed-off-by: Ahmed ElArabawy <arabawy@google.com >
2017-11-27 21:08:20 +00:00
Kweku Adams
19f896e073
Adding new methods to FakeUid.
...
Test: built and flashed to device
Bug: 65750808
Change-Id: Iddc198ce5b971105a44d15b8490138c18fc0f065
2017-10-18 13:56:04 -07:00
Michael Wachenschwanz
a203093d75
Update FakeUid to implement getForegroundServiceTimer
...
Simple change. Override the getForegroundServiceTimer method in FakeUid
Test: bit FrameworksCoreTests:com.android.internal.os.BatteryStatsNoteTest
Bug: 38313557
Change-Id: I8a3142e61ed67109629c683384734f749eaafb3f
2017-07-11 14:17:19 -07:00
Dianne Hackborn
a8b6890b83
Follow framework change.
...
Test: manual
Change-Id: I5a45cf67179f330e56ef2e69ab49e82337430282
2017-06-28 23:27:05 -07:00
Bookatz
0311f24bb0
Add unoptimized ble scans to batterystats.
...
Bug: 38461344
Test: see main cl in topic
Change-Id: I426011e1954ef8ae7fae595cbcbe986280b7638f
2017-05-23 13:24:01 -07:00
Bookatz
6a6a0564ac
Add aggregated partial wakelock time per uid
...
Bug: 38198272
Test: none
Change-Id: I6da292a4d11a9cedce17e552fb4809c8815782f2
2017-05-16 14:01:17 -07:00
Sudheer Shanka
8f806c0992
Update FakeUid to include new methods.
...
Bug: 34133340
Test: builds
Change-Id: I8c17e80002685e8e5e214d6238084584ae15ea30
2017-05-11 20:56:58 -07:00
Bookatz
138973683e
Add BLE results counter to batterystats
...
Bug: 37720787
Test: none
Change-Id: Ia5f781cb039256cea7747bb0b731686a7469d103
2017-04-28 09:28:01 -07:00
Adam Lesinski
c78fe99e09
Update FakeUid to match ag/2099507
...
Bug: 36002715
Change-Id: I6c2a92bee1a9931e08e11596d9a31844a3bc6bfc
Test: builds
2017-04-12 12:32:24 -07:00
Bookatz
eb602e5504
Update FakeUid with new methods
...
BatterystatsImpl has new methods for background accounting for Wifi and
Bluetooth scanning. These methods are added to FakeUid.java here.
Bug: 35679958
Bug: 35677312
Bug: 35673525
Test: see ag/2010580
Change-Id: I706f28ba8faaf89e9fde25814e9c583c4731d3de
2017-03-22 14:11:51 -07:00
Adam Lesinski
f584eaa03a
Update FakeUid with new methods
...
Bug:28931278
Change-Id: I845337633b1840ae66bda065985624aa67b070df
2016-07-15 18:08:29 -07:00
Joe Onorato
f10a422b54
Add method to BatteryStats
...
Change-Id: Ie05a1ff4ea081bed1777882d3ec6fd84fc5ba98f
2016-03-09 15:27:29 -08:00
Adam Lesinski
31b5758fc7
Update FakeUid interface to match BatteryStats.Uid
...
Change-Id: I900fed93c11f8d424ca0dd2afe562b421cd30eeb
2016-02-01 15:18:16 -08:00
Adam Lesinski
32255ccc13
Update FakeUid to match new methods in BatteryStats.Uid interface
...
Change-Id: I7574acbc11c93d93c965e4af80835a0dc59dc360
2016-01-26 15:04:35 -08:00
Adam Lesinski
d4574a06b2
Add bt traffic accounting
...
Bug:26039657
Change-Id: I8f8d0389b5b55e02b4a3528b010b76938d87a2a3
2016-01-18 18:39:47 -08:00
Jason Monk
39b467482d
Depend on support lib preferences
...
Bug: 24576551
Change-Id: Ic6190bacd3f7582c9bbc8de972da4612bd92421e
2015-10-13 10:12:20 -04:00
Adam Lesinski
1f78f774ca
Update implementation to match BatteryStats.Uid
...
(cherry picked from commit 2350b8445c
)
Change-Id: I4289fbb912f3109d0be6a9ab4254bea4c2866d3d
2015-09-18 17:12:30 -07:00
Adam Lesinski
56594c6d61
Update FakeUid to implement new method defined in BatteryStats.Uid
...
Bug:21498425
Change-Id: I956c04d13daf985d472cc7ff2762ad74d5bb9502
2015-06-30 16:58:08 -07:00
Adam Lesinski
4444fb85a9
Merge dex2oat with app being installed
...
Bug:22008744
Change-Id: Id87fe215760202e2969c27d686fa8ba106b00754
2015-06-29 14:56:01 -07:00
Jason Monk
6880ec09cd
Fix crash in battery screen
...
Also add a fake app item
Bug: 21624653
Change-Id: I1a8598472e014f773d2396a9a08fd03e8e32b400
2015-06-04 10:52:01 -04:00