commit | ceac8bbb50b874fc7835919618da67aa6784bb06 | [log] [tgz] |
---|---|---|
author | kholoud mohamed <kholoudm@google.com> | Tue Mar 09 14:15:15 2021 +0000 |
committer | kholoud mohamed <kholoudm@google.com> | Fri Mar 12 09:58:32 2021 +0000 |
tree | 868a951da05967e5e357e052f3d6e44abf7bc06c | |
parent | 8923c65435b03a43f55ec39f7964763753044fe2 [diff] |
Exposed some testAPIs in BatteryStatsManager Added the following testsAPIs to replace the usage of adb shell commands in tests: * setChargerAcOnline * setBatteryLevel * unplugBattery * resetBattery * suspendBatteryInput Test: atest MixedDeviceOwnerTest#testInstallUpdate using the adb commands and the new testAPIs Bug: 182260585 Change-Id: I48c2ad37f6240f4d7a3c437416fdcc0beeed6bd1