summaryrefslogtreecommitdiffstats
path: root/boot
Commit message (Collapse)AuthorAgeFilesLines
* Add statically linked boot HAL impl in recoveryConnor O'Brien2018-10-192-1/+51
| | | | | | | | | | | | | | | | | | | | | 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>
* Reland "Set vendor: true for boot control HAL"Hridya Valsaraju2018-10-031-1/+1
| | | | | | | This reverts commit f8169cc2bc23db9be612da42d241267cdccbed40. Bug: 117072247 Change-Id: Ib80966e31ed92d316217844d0399e6f6ba5fdd2c
* Revert "Set vendor: true for boot control HAL"Hridya Valsaraju2018-10-021-1/+1
| | | | | | | | This reverts commit f009da1bf51087cc33ae81101e3bf50df7683ecd. Reason for revert: Breaking presubmit boot test on walleye Change-Id: Ibeebb94b22cf81087b2ee60407a33e9d7e8a4d18
* Set vendor: true for boot control HALHridya Valsaraju2018-10-011-1/+1
| | | | | | | | Test: make boot image and check if boot contol HAL implementation is present in vendor and recovery. Bug: 117072247 Change-Id: Id05563fc3b4bdf135bf7e1ae75d23f34a98845ab
* Allow bootctrl hal to work in recoveryHridya Valsaraju2018-08-101-1/+2
| | | | | | Bug: 78793464 Test: Compiles, boot commands work Change-Id: Icd1dcd97bd03f070758ce945ddfdf2b13caf5ed4
* Merge "Fix boot VTS GetSuffix test" am: 5cd16a71f5 am: 9485e78b93Connor O'Brien2018-02-241-3/+10
|\ | | | | | | | | | | am: 0a7184563e Change-Id: I86d3ed15cad7336d4250e52061574e12b8bf360e
| * Fix boot VTS GetSuffix testConnor O'Brien2018-02-231-3/+10
| | | | | | | | | | | | | | | | | | | | Rather than requiring "_a" and "_b" specifically, check format and uniqueness of each suffix. Bug: 69795155 Test: vts-tradefed run vts -m VtsHalBootV1_0Target Change-Id: Iaf626a31b499ef74fd3c21b0a0757424a0def457 Signed-off-by: Connor O'Brien <connoro@google.com>
* | Merge "Convert boot, memtrack and power hal to use service name aware ↵Zhuoyao Zhang2017-12-041-6/+22
|\| | | | | | | | | | | | | | | testing." am: b9515d9d3f am: a713584847 am: 6ab5305323 Change-Id: I0f8598253e34b08e73b8b65ff7fe91d937d5d8ad
| * Merge "Convert boot, memtrack and power hal to use service name aware testing."Zhuoyao Zhang2017-12-041-6/+22
| |\
| | * Convert boot, memtrack and power hal to use service name aware testing.Zhuoyao Zhang2017-12-041-6/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Motivation: 1) Support running the test against each hal service instance for the registered hal. 2) Support testability checker to determine whether we should run the test on the taget device. 3) Help to determine the process we want to profile for coverage data if running on coverage build. Bug: 64203181 Test: make vts vts-tradefed run vts -m VtsHalBootV1_0Target vts-tradefed run vts -m VtsHalMemtrackV1_0Target vts-tradefed run vts -m VtsHalPowerV1_0Target vts-tradefed run vts -m VtsHalPowerV1_1Target Change-Id: Ie0bbd9ef9d9fbe11de5aee70fad9028fa0ae897c
| * | Merge "Remove subdirs"Treehugger Robot2017-11-291-6/+0
| |\ \
| | * | Remove subdirsSteven Moreland2017-11-281-6/+0
| | |/ | | | | | | | | | | | | | | | | | | | | | Removing whenever I see these in code reviews. Test: none Merged-In: I4322f533a837d55618ec2ed2125e8966ace9d61d Change-Id: I4322f533a837d55618ec2ed2125e8966ace9d61d
* | | Remove subdirsSteven Moreland2017-11-281-6/+0
| | | | | | | | | | | | | | | | | | | | | | | | Removing whenever I see these in code reviews. Test: none Merged-In: I4322f533a837d55618ec2ed2125e8966ace9d61d Change-Id: I4322f533a837d55618ec2ed2125e8966ace9d61d
* | | Merge "Use -Werror in hardware/interfaces" am: 02804915fb am: 8e736c21deChih-Hung Hsieh2017-11-281-0/+2
|\| | | | | | | | | | | | | | | | | am: f53fe9317b Change-Id: Ifc0a5be285be1a57d998db3c032e392b307cfa80
| * | Use -Werror in hardware/interfacesChih-Hung Hsieh2017-11-201-0/+2
| |/ | | | | | | | | | | | | | | * Use hidl_defaults, which has -Wall -Werror. Bug: 66996870 Test: build with WITH_TIDY=1 Change-Id: Ifbca0e176a8e031acc27256eb46d23b89cdf1a0e
| * Update makefiles for hidl_interface.Steven Moreland2017-11-101-157/+11
| | | | | | | | | | | | Bug: 35570956 Test: manual Change-Id: I7a220b78ee081240e1dc30ef5672ba39e3e98375
* | Updating makefiles for hidl_interface.Steven Moreland2017-11-131-157/+11
| | | | | | | | | | | | | | Bug: 64487114 Test: manual Merged-In: Ie13d9e014cf2b81c18c67f551b4644fb9f0ba812 Change-Id: Ie13d9e014cf2b81c18c67f551b4644fb9f0ba812
* | Merge "Automatic mk -> bp." am: e5fd969f19 am: 72c720a4e3Steven Moreland2017-11-073-36/+35
|\| | | | | | | | | | | am: 26013bf6ac Change-Id: Id936fb4806d122045c771c951220361efeef10c6
| * Automatic mk -> bp.Steven Moreland2017-11-033-36/+35
| | | | | | | | | | | | | | | | | | Automatic mk -> bp conversion for all modules here which can be converted and built automatically. Test: Soong resolves all dependencies Bug: 37512442 Change-Id: Ib789212cb88d55731397c600d132e7c672c0d8be
* | Update for Soong java makefiles. am: c3e80fa01e am: 0fff75dee1 am: 6c811964a1Steven Moreland2017-10-112-84/+28
|\| | | | | | | | | | | am: 116161d94e Change-Id: I33643636e2511de77fdf7de57777eb67edee2e52
| * Update for Soong java makefiles.Steven Moreland2017-10-102-84/+28
| | | | | | | | | | | | Test: pass Bug: 33420795 Change-Id: Id9b1919a19b8ff682738cfb0869a479b4dbb4293
* | Merge "Remove useless Android.mk files." am: 75d5cf515a am: f27cfa15d7 am: ↵Steven Moreland2017-10-051-19/+0
|\| | | | | | | | | | | | | | | 33dc30ce49 am: 0653f3b212 Change-Id: I7c2da3cf30da7b4a1eda7e5369e9caa5ebab2462
| * Merge "Remove useless Android.mk files."Treehugger Robot2017-10-051-19/+0
| |\
| | * Remove useless Android.mk files.Steven Moreland2017-10-041-19/+0
| | | | | | | | | | | | | | | | | | | | | | | | These have been c/p'd all over the place. Test: m -j nothing Bug: 33420795 Change-Id: I77979866dbb2345a41a873c84ec3fccd7b127510
* | | Merge "Remove Android.bp subdirs loop." am: a8c16c91cc am: e9ed55ffc6 am: ↵Steven Moreland2017-10-052-4/+0
|\| | | | | | | | | | | | | | | | | | | | | | | c3084485c4 am: ef78b3c62a Change-Id: I5f2b87feb905d7ae0d726b01f60a0f69808ef733
| * | Merge "Remove Android.bp subdirs loop."Treehugger Robot2017-10-052-4/+0
| |\ \
| | * | Remove Android.bp subdirs loop.Steven Moreland2017-10-042-4/+0
| | |/ | | | | | | | | | | | | Test: m -j nothing Change-Id: Ic40edd1986fd40be4bf752ecbe925e6539d0df32
* | | Merge "Update for hidl adapter module defaults." am: 988c977079 am: ↵Steven Moreland2017-10-041-0/+1
|\| | | | | | | | | | | | | | | | | | | | | | | 861651985f am: b53e6ad535 am: 9a17f41f6f Change-Id: I78d9292068b372238554fd9d35128e69f5b5f9d2
| * | Update for hidl adapter module defaults.Steven Moreland2017-10-041-0/+1
| |/ | | | | | | | | Test: pass Change-Id: Idc6a943149a279bf17cfcfd0f2571473e53bbbbf
* | Merge "Fix typo in update makefiles." am: 9960148420 am: f07e364ce3 am: ↵Steven Moreland2017-09-261-1/+2
|\| | | | | | | | | | | | | | | 71a193a425 am: 9fdd241905 Change-Id: I1c852fa6600fecc44d5afd1a65a5f51c43ecf71c
| * Fix typo in update makefiles.Steven Moreland2017-09-261-1/+2
| | | | | | | | | | | | Bug: 37518178 Test: pass Change-Id: Ic401b3a473f15ca4c01e58b3072e19db7c31b653
* | Update makefiles for hidl adapter. am: 26a0bb2762 am: 73949c1d7e am: b94d0c7290Steven Moreland2017-09-261-0/+73
|\| | | | | | | | | | | am: 97228c0b7d Change-Id: Ic4b459b7c1a4325453945b0b00db8f44e4e77c26
| * Update makefiles for hidl adapter.Steven Moreland2017-09-251-0/+73
| | | | | | | | | | | | Bug: 37518178 Test: manual Change-Id: I50e999907d3c64d2b039272b823971998da64d1b
| * VTS tests now static link to HAL def libs.Tri Vo2017-08-251-15/+2
| | | | | | | | | | | | | | | | | | | | And use VtsHalTargetTestDefaults. This is a partial cherry-pick of ag/2657080. Bug: 64040096 Test: compiles, works fine in internal master Merged-In: I8f6995e9536a9aefe283ee3effec9f5a7f03b620 Change-Id: I76d47d8546416b57055841851a9d343026cd3210
| * Update makefiles for vndk enabled.Steven Moreland2017-08-081-0/+3
| |\ | | | | | | | | | | | | | | | am: 5e59402492 Change-Id: I08414d68d5275df82336653cb91765af7235f914
| | * Update makefiles for vndk enabled.Steven Moreland2017-08-081-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | Test: none Bug: 63866913 Merged-In: I29174fdadca2828455ef49f14e53bc95c5238dbb Change-Id: I29174fdadca2828455ef49f14e53bc95c5238dbb (cherry picked from commit c716b8c3070f560c11fcc0d7d9b8b19af6bbaf28)
| * | Merge changes from topic 'go-away-static-hidl-java'Steven Moreland2017-08-041-77/+0
| |\| | | | | | | | | | | | | | | | am: f4c58cd48c Change-Id: I3502ad1d51868cd82bbe811bdf2b96ec45ccfbe6
| | * Update makefiles.Steven Moreland2017-08-031-77/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Removes redundant "java-static" target. Note, targets aren't removed here which have internal targets that depend on them. Bug: 36376126 Test: pass Change-Id: I830f02e5f219d2d58721132c358d2783c3942eac
* | | Add 'vendor.' prefix to a vendor HAL service nameJaekyun Seok2017-09-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To prevent property name collisions between properties of system and vendor, 'vendor.' prefix must be added to a vendor HAL service name. You can see the details in http://go/treble-sysprop-compatibility. Test: succeeded building and tested on a walleye device Bug: 36796459 Change-Id: I4e8fbee791ec917a8f627a1366f4d44ec7e6febc
* | | Updating all makefiles.Steven Moreland2017-08-101-77/+0
| | | | | | | | | | | | | | | | | | Bug: 64487114 Test: none Change-Id: I8608c8f636c35f21e4246a805a9eff6d14124e0a
* | | Merge "VTS tests now static link to HAL def libs. #2" into oc-mr1-devTri Vo2017-08-101-15/+2
|\ \ \ | | | | | | | | | | | | | | | | | | | | am: 2883486706 Change-Id: I763622ff5280ade458da82e95df50a1b6d104f93
| * | | VTS tests now static link to HAL def libs. #2Tri Vo2017-08-101-15/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | And use VtsHalTargetTestDefaults. Bug: 64040096 Test: crop out all non-affected tests from vts-hal-hidl.xml and run vts-tradefed run commandAndExit vts-hal-hidl --skip-all-system-status-check --skip-preconditions 2 failures, same as without this change: GatekeeperHidlTest.DeleteAllUsersTest GatekeeperHidlTest.DeleteUserTest Change-Id: I8f6995e9536a9aefe283ee3effec9f5a7f03b620
* | | | Merge "Update makefiles for vndk enabled." into oc-mr1-devSteven Moreland2017-08-031-0/+3
|\| | | | |/ / |/| | | | | | | | | | | am: d9b12c13e5 Change-Id: Id70e58e6b4d20dada4aab107b2aa98c58cf167ca
| * | Merge "Update makefiles for vndk enabled." into oc-mr1-devTreeHugger Robot2017-08-031-0/+3
| |\ \
| | * | Update makefiles for vndk enabled.Steven Moreland2017-08-021-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | Test: none Bug: 63866913 Change-Id: I29174fdadca2828455ef49f14e53bc95c5238dbb
| * | | Update HIDL makefiles.Steven Moreland2017-08-021-1/+1
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allow them to be static. This is required for a couple of reasons: - enabling HIDL passthrough in recovery - enabling VTS tests to be static blobs Bug: 32920003 Bug: 64040096 Test: update-all-google-makefiles.sh Merged-In: I1b2401fb273ab80819e3870aa71fe742269674ba Change-Id: I1b2401fb273ab80819e3870aa71fe742269674ba (cherry picked from commit 7206708528e1f0393347719f156ddf0bd0b6249c)
* | | Change dependency librarySundong Ahn2017-08-021-0/+4
|\ \ \ | | |/ | |/| | | | | | | | | | am: 94293086f8 Change-Id: I3b024890195dad8fa3435a4ff493adbddb63ef20
| * | Change dependency librarySundong Ahn2017-07-311-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | hwbinder.jar will be used instead of framework.jar on build-time, but on runtime framework.jar will be used. This is to cut the circular dependency when using configstore from Android framework. Bug: 35771640 Test: no test. Change-Id: I04cab676c91d2ea423f5e2c1b2b9efa15e522f37
* | | Merge "Update HIDL makefiles."Steven Moreland2017-07-311-1/+1
|\| | | |/ |/| | | | | | | am: 49dad304a5 Change-Id: I29f1de44312f589ba6e1df9498809cbb31315a2b
| * Update HIDL makefiles.Steven Moreland2017-07-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | Allow them to be static. This is required for a couple of reasons: - enabling HIDL passthrough in recovery - enabling VTS tests to be static blobs Bug: 32920003 Bug: 64040096 Test: update-all-google-makefiles.sh Change-Id: I1b2401fb273ab80819e3870aa71fe742269674ba