summaryrefslogtreecommitdiff
path: root/boot/1.0/default/BootControl.cpp
AgeCommit message (Collapse)Author
2018-10-19Add statically linked boot HAL impl in recoveryConnor O'Brien
The default Treble boot HAL implementation currently can only work in recovery on devices that specifically build their libhardware implementation as a shared library for recovery. This CL adds the option to statically link the libhardware implementation in recovery instead of finding it using hw_get_module(). This new approach allows devices that define PRODUCT_STATIC_BOOT_CONTROL_HAL to begin using the Treble HAL in recovery without requiring device-specific changes. A previous version of this CL broke some device builds by omitting libbase.recovery from LOCAL_SHARED_LIBRARIES. This version fixes that issue. Test: adb sideload succeeds Bug: 78598708 Change-Id: I1c2ef7fa59575ac7975129f7544f741459b8540e Signed-off-by: Connor O'Brien <connoro@google.com>
2017-01-21bootctrl HAL uses "default" service nameChris Phoenix
The getService() and registerAsService() methods of interface objects now have default parameters of "default" for the service name. HALs will not have to use any service name unless they want to register more than one service. Test: builds; verify HAL still works Bug: 33844934 Change-Id: I43f282ffedf18e4b0817b49fc4860ac39b127d04
2017-01-11Merge "liblog: use log/log.h when utilizing ALOG macros" am: 818ffb15a6 am: ↵Mark Salyzyn
ca5117d1f3 am: 7c3240795a am: d4acfd7503 Change-Id: I477c45fec225f4712051b2ff42b6f55614403531
2017-01-10liblog: use log/log.h when utilizing ALOG macrosMark Salyzyn
Test: compile Bug: 30465923 Change-Id: I67046a75be057e7905570748a1ed6bfd03c0e1c8
2016-12-02Merge "Update to use the correct logging library." am: 48f6298fa3 am: ↵Yifan Hong
82c7db6e9f am: 42792cd5e4 am: c1a60f1fd3 Change-Id: I2893788bbc1c0b50bc62c9094985ccf095161a3d
2016-12-01Update to use the correct logging library.Yifan Hong
Test: compiles Change-Id: Ia5030c4d7ef95c5878c6b320d5bc30041023728f
2016-11-29Added AOSP license headers.Steven Moreland
This is only for hals which are currently only in master. Separate commit for hals currently in AOSP. Test: pass Change-Id: I0b1a09798c49f4f0141f36a322c4749e47eded03
2016-10-19Add boot_control HIDL default implementationConnor O'Brien
Create basic implementation that passes commands through to the old HAL implementation. Bug: 31864052 Test: Ran and compared output to old implementation Change-Id: I01f4450dc3a1893e13b8fb325ea40cf9c98297be Signed-off-by: Connor O'Brien <connoro@google.com>
2016-10-18Add boot_control HIDL default implementationConnor O'Brien
Create basic implementation that passes commands through to the old HAL implementation. Bug: 31864052 Test: Ran and compared output to old implementation Change-Id: I01f4450dc3a1893e13b8fb325ea40cf9c98297be Signed-off-by: Connor O'Brien <connoro@google.com>