summaryrefslogtreecommitdiffstats
path: root/recovery_utils (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-10-05minadbd: Return battery level via getprop.Tao Bao1-0/+1
`adb rescue getprop rescue.battery_level` returns the current battery level. Bug: 134560109 Test: Build and boot into rescue mode. Test: `adb rescue getprop ro.build.fingerprint` Test: `adb rescue getprop rescue.battery_level` Test: `adb rescue getprop` to dump all the properties. Test: Run recovery_unit_test. Change-Id: I78a9e8ab9783ffc8532cb93e6a64fb2157c19bd5
2019-10-03recovery_utils: Use libvoid_headers.Tao Bao1-4/+5
Test: mmm bootable/recovery Change-Id: I2ad7620d0f967cb018a415358379c34804e232c5
2019-10-03Refactor battery info querying functions into librecovery_utils.Tao Bao3-15/+150
Bug: 134560109 Test: Run recovery_unit_test. Change-Id: Ibbcdcfd507fa23657ee7ff677208b0003ec382ba
2019-10-02otautil: Factor out the utils that're private to recovery.Tao Bao9-0/+1043
A number of utility functions are intended for serving recovery's own use. Exposing them via libotautil (which is a static lib) would pass the dependencies onto libotautil's users (e.g. recovery image, updater, host simulator, device-specific recovery UI/updater extensions etc). This CL finds a new home for the utils that are private to recovery. Test: mmma bootable/recovery Change-Id: I575e97ad099b85fe1c1c8c7c9458a5a43d4e11e1