Commit graph

4 commits

Author SHA1 Message Date
Kelvin Zhang
1cc8267aac Make BootControlHAL available in recovery
Test: th
Bug: 227536004
Change-Id: Idd0009f68598c85ef9fe234049851b9b8bd0d893
2022-08-31 16:23:38 +00:00
Kelvin Zhang
a6759d5d66 Return empty suffix for invalid slots
Old HIDL HAL returns empty suffix, we should maintain this behavior in
AIDL.

Test: bootctl get-suffix 9, make sure result is empty
Bug: 219966986
Change-Id: Ia01c6bda899f3c5e0cdd1007cb051f7558f2e911
2022-07-28 16:12:49 -07:00
Bob Badour
d3d6065f7e [LSC] Add LOCAL_LICENSE_KINDS to hardware/interfaces
Added SPDX-license-identifier-Apache-2.0 to:
  boot/aidl/client/Android.bp
  boot/aidl/default/Android.bp

Bug: 68860345
Bug: 151177513
Bug: 151953481

Test: m all
Change-Id: I2bddc0d13a4de6a5766de85fdf432fd05d84a581
2022-06-23 07:14:55 -07:00
Kelvin Zhang
121bec542e Implement bootctrl aidl
There's already a libboot_control, which provides implementation for
bootcontrol HAL. Implement AIDL bootctrl server by wrapping
libboot_control

Test: th
Bug: 227536004
Change-Id: Ia54f91f7fd17b6e86956e458cdf0c36c31624dbc
2022-06-15 09:51:02 -07:00