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
If bootctl AIDL service is not installed and we call waitForService,
caller will block indefinitely. So check with
AServiceManager_isDeclared before calling waitForService.
Test: th
Bug: 227536004
Change-Id: I551040b222c6c9127fe79aceb36bb3d69b52c3b6
We are switching BootControl from HIDL to AIDL. All clients must be
compatible with both implementations. To ease implementation, create a
wrapper that will use AIDL if possible, and fallback to HIDL otherwise.
Test: th
Bug: 227536004
Change-Id: Ia40cb384058a0052f7c5c39766534c23a095ca59
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
Added SPDX-license-identifier-Apache-2.0 to:
boot/aidl/Android.bp
Bug: 68860345
Bug: 151177513
Bug: 151953481
Test: m all
Change-Id: I2166ff89ef6a370312f902d3d534e11b4006da16