summaryrefslogtreecommitdiff
path: root/boot/1.0/default/BootControl.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Add statically linked boot HAL impl in recoveryConnor O'Brien2018-10-191-1/+21
| | | | | | | | | | | | | | | | | | | | | 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>
* bootctrl HAL uses "default" service nameChris Phoenix2017-01-211-3/+3
| | | | | | | | | | | | | 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
* Merge "liblog: use log/log.h when utilizing ALOG macros" am: 818ffb15a6 am: ↵Mark Salyzyn2017-01-111-1/+2
|\ | | | | | | | | | | | | | | ca5117d1f3 am: 7c3240795a am: d4acfd7503 Change-Id: I477c45fec225f4712051b2ff42b6f55614403531
| * liblog: use log/log.h when utilizing ALOG macrosMark Salyzyn2017-01-101-1/+2
| | | | | | | | | | | | Test: compile Bug: 30465923 Change-Id: I67046a75be057e7905570748a1ed6bfd03c0e1c8
* | Merge "Update to use the correct logging library." am: 48f6298fa3 am: ↵Yifan Hong2016-12-021-1/+1
|\| | | | | | | | | | | | | | | 82c7db6e9f am: 42792cd5e4 am: c1a60f1fd3 Change-Id: I2893788bbc1c0b50bc62c9094985ccf095161a3d
| * Update to use the correct logging library.Yifan Hong2016-12-011-1/+1
| | | | | | | | | | Test: compiles Change-Id: Ia5030c4d7ef95c5878c6b320d5bc30041023728f
| * Add boot_control HIDL default implementationConnor O'Brien2016-10-191-0/+98
| | | | | | | | | | 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>
* Added AOSP license headers.Steven Moreland2016-11-291-0/+15
| | | | | | | | This is only for hals which are currently only in master. Separate commit for hals currently in AOSP. Test: pass Change-Id: I0b1a09798c49f4f0141f36a322c4749e47eded03
* Add boot_control HIDL default implementationConnor O'Brien2016-10-181-0/+98
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>