platform_system_core/fastboot/device
David Anderson 2cb36706f4 fastboot: Add getvar commands to query battery part info.
This adds two commands to test the new v3 Health HAL, to query the
battery serial number (unlocked devices only) and part status.

Bug: 309792384
Test: adb reboot fastboot
      fastboot getvar battery-part-status
      fastboot getvar battery-serial-number
Change-Id: Ie0a14eda06483d047544833124c327fb88ba43a2
2023-12-11 11:59:23 -08:00
..
commands.cpp fastboot: Add getvar commands to query battery part info. 2023-12-11 11:59:23 -08:00
commands.h fastbootd: Add fetch command on device 2021-03-17 15:38:06 -07:00
fastboot_device.cpp FastbootDevice::boot1_1 null pointer dereference 2023-10-05 16:35:24 +00:00
fastboot_device.h Fastbootd: Use Fastboot AIDL with the help of fastbootshim for legacy fastboot HAL 2022-11-09 00:38:34 +00:00
flashing.cpp fastbootd: Add better logging for flashing failures. 2022-06-01 22:46:35 -07:00
flashing.h fastbootd: Remove metadata merging code. 2018-10-26 13:34:40 -07:00
main.cpp fastbootd: Add better logging for flashing failures. 2022-06-01 22:46:35 -07:00
tcp_client.cpp fastbootd: Support TCP protocol. 2020-05-19 19:11:25 +00:00
tcp_client.h fastbootd: Support TCP protocol. 2020-05-19 19:11:25 +00:00
usb.cpp Port ADB's new handling of the USB packet ClearFeature(HALT) to Fastboot. 2022-09-14 21:11:30 +00:00
usb.h Add io_uring support to fastboot 2022-08-11 18:58:43 -07:00
usb_client.cpp Add io_uring support to fastboot 2022-08-11 18:58:43 -07:00
usb_client.h Move adbd's legacy USB implementation to fastboot. 2020-03-31 16:05:36 -07:00
usb_iouring.cpp Add io_uring support to fastboot 2022-08-11 18:58:43 -07:00
usb_iouring.h Add io_uring support to fastboot 2022-08-11 18:58:43 -07:00
utility.cpp Convert fastboot/libsnapshot to new BootControl client 2022-07-08 10:57:53 -07:00
utility.h Convert fastboot/libsnapshot to new BootControl client 2022-07-08 10:57:53 -07:00
variables.cpp fastboot: Add getvar commands to query battery part info. 2023-12-11 11:59:23 -08:00
variables.h fastboot: Add getvar commands to query battery part info. 2023-12-11 11:59:23 -08:00