David Anderson
02012cc3e1
Merge "Improve error messaging when bootcontrol HAL fails to load." am: 4878f6a31c am: 1074b8a539 am: c0e2ac8e5d
...
am: 1f1f3b0a59
Change-Id: I242cb9479699ffe95a89f06f2075fd32a55ad7c6
2019-09-09 18:06:04 -07:00
David Anderson
1f1f3b0a59
Merge "Improve error messaging when bootcontrol HAL fails to load." am: 4878f6a31c am: 1074b8a539
...
am: c0e2ac8e5d
Change-Id: Ic66b6370515a7aed2f26bdacf64859668d230e37
2019-09-09 17:50:39 -07:00
David Anderson
c0e2ac8e5d
Merge "Improve error messaging when bootcontrol HAL fails to load." am: 4878f6a31c
...
am: 1074b8a539
Change-Id: I6438198585e750b796d4cbc5c0e05940cbd90e40
2019-09-09 17:38:14 -07:00
David Anderson
1074b8a539
Merge "Improve error messaging when bootcontrol HAL fails to load."
...
am: 4878f6a31c
Change-Id: Ic9b5bacec378bd497d6d488b98dd1b224aa6e166
2019-09-09 17:27:11 -07:00
David Anderson
4878f6a31c
Merge "Improve error messaging when bootcontrol HAL fails to load."
2019-09-10 00:09:07 +00:00
Xin Li
96dfed884c
[automerger skipped] Merge qt-r1-dev-plus-aosp-without-vendor (5817612) into stage-aosp-master am: b3b43be5d8 -s ours am: 4b1e751181 -s ours
...
am: 4ec16abf82 -s ours
am skip reason: change_id I8a2c42ff322242f08fd6601536c3f9ee50d0f633 with SHA1 02ea8f4969 is in history
Change-Id: I10f3a47376ab5129ec759278e40a344519f0f97a
2019-09-08 16:06:29 -07:00
Xin Li
4ec16abf82
[automerger skipped] Merge qt-r1-dev-plus-aosp-without-vendor (5817612) into stage-aosp-master am: b3b43be5d8 -s ours
...
am: 4b1e751181 -s ours
am skip reason: change_id I8a2c42ff322242f08fd6601536c3f9ee50d0f633 with SHA1 02ea8f4969 is in history
Change-Id: I272e0a384d779128d4b182e03b34abff5d345b7b
2019-09-08 15:49:05 -07:00
Xin Li
4b1e751181
[automerger skipped] Merge qt-r1-dev-plus-aosp-without-vendor (5817612) into stage-aosp-master
...
am: b3b43be5d8 -s ours
am skip reason: change_id I8a2c42ff322242f08fd6601536c3f9ee50d0f633 with SHA1 02ea8f4969 is in history
Change-Id: Ied04f35b7ebcb462c22f3fff019953844606415b
2019-09-08 15:06:31 -07:00
Xin Li
b3b43be5d8
Merge qt-r1-dev-plus-aosp-without-vendor (5817612) into stage-aosp-master
...
No content change.
Bug: 135460123
Change-Id: I70fc102e00f98edd34b59661c00a8abbe37a8f26
Merged-In: I8a2c42ff322242f08fd6601536c3f9ee50d0f633
2019-09-08 12:42:27 -07:00
Steven Moreland
91108d4124
Merge "Remove reference to libhwbinder_noltopgo." am: a44f947b6d am: 02ea8f4969 am: c5c995c095
...
am: 4ff84cdad3
Change-Id: I0261b9f114682b64d30982356ee60f7b6ac7c531
2019-09-06 14:45:17 -07:00
Steven Moreland
4ff84cdad3
Merge "Remove reference to libhwbinder_noltopgo." am: a44f947b6d am: 02ea8f4969
...
am: c5c995c095
Change-Id: I7afc3196f6057277e1a0b69546fac54f14939d06
2019-09-06 14:27:35 -07:00
Steven Moreland
c5c995c095
Merge "Remove reference to libhwbinder_noltopgo." am: a44f947b6d
...
am: 02ea8f4969
Change-Id: I3eaf679e008b2dfc2ad7134eb75db4e6550a05ca
2019-09-06 14:17:29 -07:00
Steven Moreland
02ea8f4969
Merge "Remove reference to libhwbinder_noltopgo."
...
am: a44f947b6d
Change-Id: I8a2c42ff322242f08fd6601536c3f9ee50d0f633
2019-09-06 11:13:36 -07:00
Steven Moreland
a44f947b6d
Merge "Remove reference to libhwbinder_noltopgo."
2019-09-06 17:59:21 +00:00
David Anderson
174ad50af9
Merge "boot_control: Don't allow current_slot_ to be -1." am: 9c0f102828 am: 0c34ef807b am: 185013413e am: 569f587afd
...
am: 093a8cb364
Change-Id: Ib1106dbcbd3db8d763e6938264b486081e0d80c9
2019-09-05 17:16:47 -07:00
David Anderson
093a8cb364
Merge "boot_control: Don't allow current_slot_ to be -1." am: 9c0f102828 am: 0c34ef807b am: 185013413e
...
am: 569f587afd
Change-Id: I9b10028dbcc474cee42bd080d25fdab598ef431c
2019-09-05 17:10:09 -07:00
David Anderson
569f587afd
Merge "boot_control: Don't allow current_slot_ to be -1." am: 9c0f102828 am: 0c34ef807b
...
am: 185013413e
Change-Id: I6a3c4bdaefca35eb23c362981bef43169cb9fcb0
2019-09-05 16:59:02 -07:00
David Anderson
185013413e
Merge "boot_control: Don't allow current_slot_ to be -1." am: 9c0f102828
...
am: 0c34ef807b
Change-Id: I96aeea2e63243d587fe3183f1388c9bc76ee5d86
2019-09-05 16:51:48 -07:00
David Anderson
0c34ef807b
Merge "boot_control: Don't allow current_slot_ to be -1."
...
am: 9c0f102828
Change-Id: I28a50628ecdaf2a6f0ccf0e1a93cf9f70fa47ad0
2019-09-05 16:41:07 -07:00
Steven Moreland
e4f1a781f5
Remove reference to libhwbinder_noltopgo.
...
No longer needed.
Bug: 135558503
Test: build only
Change-Id: Ia1257513c6276cdb01604fbedb411e7412d02b84
2019-09-05 14:29:23 -07:00
David Anderson
9c0f102828
Merge "boot_control: Don't allow current_slot_ to be -1."
2019-09-05 20:21:47 +00:00
Xin Li
e250484bc6
[automerger skipped] Merge "DO NOT MERGE - Merge Android 10 into master" am: e0364db712 -s ours am: 8bb31dbab7 am: 42c411dbbc
...
am: b98955fe3f -s ours
am skip reason: subject contains skip directive
Change-Id: If8d70a0383c8c7c7e822a81c93ff83989f740c5b
2019-09-05 12:11:38 -07:00
Xin Li
b98955fe3f
[automerger skipped] Merge "DO NOT MERGE - Merge Android 10 into master" am: e0364db712 -s ours am: 8bb31dbab7
...
am: 42c411dbbc
Change-Id: Ibe58c801b076692b3729ac7d8b2520916c4dbb5a
2019-09-05 11:54:04 -07:00
Xin Li
42c411dbbc
[automerger skipped] Merge "DO NOT MERGE - Merge Android 10 into master" am: e0364db712 -s ours
...
am: 8bb31dbab7
Change-Id: I5884c4dd3197ed2b62500eea0ef7ee864c4ab8da
2019-09-05 11:32:10 -07:00
Xin Li
8bb31dbab7
[automerger skipped] Merge "DO NOT MERGE - Merge Android 10 into master"
...
am: e0364db712 -s ours
am skip reason: subject contains skip directive
Change-Id: Ie38bb30aa5743600e5c563357a2d577e3e3710d9
2019-09-05 11:20:06 -07:00
Xin Li
e0364db712
Merge "DO NOT MERGE - Merge Android 10 into master"
2019-09-05 16:53:28 +00:00
David Anderson
b18f153b12
Improve error messaging when bootcontrol HAL fails to load.
...
Bug: N/A
Test: manual test
Change-Id: I6bf849dba4ae66353c44875ece30917283557327
2019-09-04 18:12:35 -07:00
David Anderson
643ddd99df
boot_control: Don't allow current_slot_ to be -1.
...
If the HAL is run on a non-A/B device, it does not fail gracefully; it
will segfault because the current_slot is -1 and methods do not protect
against this. Instead, have Init() fail if we can't determine the
current slot.
Bug: 130078382
Test: vts tests
Change-Id: I2d3094518a842b1a764427d2da9d46781a9f26da
2019-09-04 18:12:23 -07:00
Xin Li
007ac2d5fb
DO NOT MERGE - Merge Android 10 into master
...
Bug: 139893257
Change-Id: Id844b347e95335800502d9b5aeb15e18aabd29e1
2019-09-04 13:32:49 -07:00
David Anderson
047e30d9a4
Merge "Make libboot_control vendor available." am: e3a35dc808 am: 388d2a591c am: bda485070c am: b9e7f63370
...
am: cf0a630371
Change-Id: I2f40f3184a10be17d96c6c7f6253830da143c95e
2019-09-03 13:28:22 -07:00
David Anderson
0019bdf79c
Merge "Refactor boot_control into a separate library." am: eb35817830 am: 754e7fc190 am: 6bf93864ce am: ef2ec5f840
...
am: 7e7a01662a
Change-Id: I0fbdf1f21100e97fd686426ad46d6179273e3c08
2019-09-03 13:27:45 -07:00
David Anderson
cf0a630371
Merge "Make libboot_control vendor available." am: e3a35dc808 am: 388d2a591c am: bda485070c
...
am: b9e7f63370
Change-Id: Ia70a4b63248d803c2154044f670539e4023ec3ae
2019-09-03 13:23:24 -07:00
David Anderson
7e7a01662a
Merge "Refactor boot_control into a separate library." am: eb35817830 am: 754e7fc190 am: 6bf93864ce
...
am: ef2ec5f840
Change-Id: I32efd5cf67f2cc4fc3d09f1de061630135c119d0
2019-09-03 13:22:45 -07:00
David Anderson
b9e7f63370
Merge "Make libboot_control vendor available." am: e3a35dc808 am: 388d2a591c
...
am: bda485070c
Change-Id: I84a07437b4976ac1c63421257355debb36ef067f
2019-09-03 13:14:21 -07:00
David Anderson
ef2ec5f840
Merge "Refactor boot_control into a separate library." am: eb35817830 am: 754e7fc190
...
am: 6bf93864ce
Change-Id: I457a7ca44f1c1f1cccbebff693ab5adb7c022768
2019-09-03 13:13:33 -07:00
David Anderson
bda485070c
Merge "Make libboot_control vendor available." am: e3a35dc808
...
am: 388d2a591c
Change-Id: I9ee92e1609ea285c1ae63f7b427fd62c24aa6127
2019-09-03 13:07:06 -07:00
David Anderson
6bf93864ce
Merge "Refactor boot_control into a separate library." am: eb35817830
...
am: 754e7fc190
Change-Id: I9e8d4489984de6cf0dcc96fcec8b81722966797d
2019-09-03 13:06:29 -07:00
David Anderson
388d2a591c
Merge "Make libboot_control vendor available."
...
am: e3a35dc808
Change-Id: Ia5661bdf289cbff91faf629f6b746920b0299a8e
2019-09-03 13:00:16 -07:00
David Anderson
754e7fc190
Merge "Refactor boot_control into a separate library."
...
am: eb35817830
Change-Id: I330e599f7a8bf2aed111186ec54886b4c21b071a
2019-09-03 12:59:35 -07:00
David Anderson
e3a35dc808
Merge "Make libboot_control vendor available."
2019-09-03 19:36:59 +00:00
David Anderson
eb35817830
Merge "Refactor boot_control into a separate library."
2019-09-03 19:33:22 +00:00
David Anderson
f771484f4e
Make libboot_control vendor available.
...
Bug: 138861550
Test: builds
Change-Id: Ib745b59931c6258073e47b00def84c9157df90a7
2019-08-30 10:21:00 -07:00
David Anderson
8108e2513f
Refactor boot_control into a separate library.
...
This extracts the implementation of boot_control into a new library,
libboot_control. The bootctrl.default module now wraps this library.
This refactoring will allow us to re-use the same implementation in
HIDL.
Bug: 138861550
Test: mm bootctrl.default
Change-Id: Ic0558da3c2d8e6f5ebec63a497825c24b51623b7
2019-08-30 10:20:59 -07:00
Xin Li
809177c32c
[automerger skipped] DO NOT MERGE - Merge build QP1A.190711.019 into stage-aosp-master am: bc7898323c -s ours am: b3aeafddca am: 8fb95b5ae3
...
am: 483637a524 -s ours
am skip reason: subject contains skip directive
Change-Id: Ib3e1a41f90719bb4cc34a385f285db9d82cb9cd0
2019-08-26 13:23:14 -07:00
Xin Li
5a379607ad
[automerger skipped] DO NOT MERGE - Merge build QP1A.190711.001 into stage-aosp-master history am: 5ac14106ff -s ours am: 6e3d8bed97 am: 584da181c5
...
am: 58c7edfedf -s ours
am skip reason: subject contains skip directive
Change-Id: I14d10451f3192fc444359e52d91e16616fde3249
2019-08-26 12:37:57 -07:00
Xin Li
483637a524
[automerger skipped] DO NOT MERGE - Merge build QP1A.190711.019 into stage-aosp-master am: bc7898323c -s ours am: b3aeafddca
...
am: 8fb95b5ae3
Change-Id: Ieb922cc0dcc8e2d973fa5b09bb20c3a3e8e7eb9a
2019-08-26 12:20:15 -07:00
Xin Li
58c7edfedf
[automerger skipped] DO NOT MERGE - Merge build QP1A.190711.001 into stage-aosp-master history am: 5ac14106ff -s ours am: 6e3d8bed97
...
am: 584da181c5
Change-Id: I6a0b183150727d3ebc1ff2a9b48fe6b9ff69df3c
2019-08-26 11:26:32 -07:00
Xin Li
8fb95b5ae3
[automerger skipped] DO NOT MERGE - Merge build QP1A.190711.019 into stage-aosp-master am: bc7898323c -s ours
...
am: b3aeafddca
Change-Id: Id759775f6eb82eb580f30c0fba9de8ad07e095a0
2019-08-24 01:33:50 -07:00
Xin Li
b3aeafddca
[automerger skipped] DO NOT MERGE - Merge build QP1A.190711.019 into stage-aosp-master
...
am: bc7898323c -s ours
am skip reason: subject contains skip directive
Change-Id: Ibce509308710e29ac01e64d5a3194460d69eabc1
2019-08-23 21:39:14 -07:00
Xin Li
584da181c5
[automerger skipped] DO NOT MERGE - Merge build QP1A.190711.001 into stage-aosp-master history am: 5ac14106ff -s ours
...
am: 6e3d8bed97
Change-Id: I59a5ac4213c90a360aa8621513df0d8711b4eb93
2019-08-23 21:17:12 -07:00