summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-07-14Make bhwbinder-impl-internalbuildable for native_bridge am: 8ad7e7aa07android-mainline-11.0.0_r44android-mainline-11.0.0_r43android-mainline-11.0.0_r42android-mainline-11.0.0_r41android-mainline-11.0.0_r40android-mainline-11.0.0_r39android-mainline-11.0.0_r38android-mainline-11.0.0_r37android-mainline-11.0.0_r36android-mainline-11.0.0_r35android-mainline-11.0.0_r34android-mainline-11.0.0_r32android-mainline-11.0.0_r31android-mainline-11.0.0_r30android-mainline-11.0.0_r28android-mainline-11.0.0_r27android-mainline-11.0.0_r26android-mainline-11.0.0_r25android-mainline-11.0.0_r24android-mainline-11.0.0_r23android-mainline-11.0.0_r22android-mainline-11.0.0_r21android-mainline-11.0.0_r20android-mainline-11.0.0_r18android-mainline-11.0.0_r17android-mainline-11.0.0_r16android-mainline-11.0.0_r15android-mainline-11.0.0_r14android-mainline-11.0.0_r13android-mainline-11.0.0_r12android11-mainline-tethering-releaseandroid11-mainline-permission-releaseandroid11-mainline-os-statsd-releaseandroid11-mainline-networkstack-releaseandroid11-mainline-media-swcodec-releaseandroid11-mainline-media-releaseandroid11-mainline-extservices-releaseandroid11-mainline-documentsui-releaseandroid11-mainline-conscrypt-releaseandroid11-mainline-cellbroadcast-releaseandroid11-mainline-captiveportallogin-releaseVictor Khimenko
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/libhwbinder/+/12128164 Change-Id: I2bdcf2f445018ae33d52477c605d85b3e18c07b2
2020-07-10Make bhwbinder-impl-internalbuildable for native_bridgeandroid-vts-11.0_r9android-vts-11.0_r8android-vts-11.0_r7android-vts-11.0_r6android-vts-11.0_r5android-vts-11.0_r4android-vts-11.0_r3android-vts-11.0_r2android-vts-11.0_r16android-vts-11.0_r15android-vts-11.0_r14android-vts-11.0_r13android-vts-11.0_r12android-vts-11.0_r11android-vts-11.0_r10android-cts-11.0_r9android-cts-11.0_r8android-cts-11.0_r7android-cts-11.0_r6android-cts-11.0_r5android-cts-11.0_r4android-cts-11.0_r3android-cts-11.0_r2android-cts-11.0_r16android-cts-11.0_r15android-cts-11.0_r14android-cts-11.0_r13android-cts-11.0_r12android-cts-11.0_r11android-cts-11.0_r10android11-tests-releaseandroid11-tests-devandroid11-devVictor Khimenko
Bug: http://b/153609531 Test: m libhwbinder-impl-internal.native_bridge Change-Id: I89def0a1ca227fed3a4bfafe20de3ae2c56ae4d2 Merged-In: I89def0a1ca227fed3a4bfafe20de3ae2c56ae4d2
2020-04-27Set min_sdk_version to be part of mainline modulesJooyung Han
Modules contributing mainline modules (APK/APEX) should set min_sdk_version as well as apex_available. For now setting min_sdk_version doesn't change build outputs. But build-time checks will be added soon. Bug: 152655956 Test: m Merged-In: Idaa4c3bf2dbd8c0090c1e6681f077e63b84e9b13 Change-Id: Idaa4c3bf2dbd8c0090c1e6681f077e63b84e9b13 (cherry picked from commit 1e5505de456840204f2bf9e86f671b0f557dd532)
2020-04-21Merge "Set apex_available property" into rvc-devJiyong Park
2020-04-20Set apex_available propertyJiyong Park
The marked library(ies) were available to the APEXes via the hand-written whitelist in build/soong/apex/apex.go. Trying to remove the whitelist by adding apex_available property to the Android.bp of the libraries. Exempt-From-Owner-Approval: cherry-pick from AOSP Bug: 150999716 Test: m Merged-In: I76c2dff68ae42a99d2b287cf7d41f61ec1a077c6 (cherry picked from commit 889cf78f80f1035c58513fa2459c6920657e095a) Change-Id: I76c2dff68ae42a99d2b287cf7d41f61ec1a077c6
2020-04-16driver unfinished write error codeSteven Moreland
This fatal log used to be hidden inside of a function (Parcel::remove) which always failed, and so when it was removed, the error gained context, but I failed to include other relevant information in the log, such as the error code. Bug: 154144726 Test: m only Change-Id: I477aaee1a335a9faf8c9b249a97c979c08bc4ebf Merged-In: I477aaee1a335a9faf8c9b249a97c979c08bc4ebf
2020-03-27Fix addition/overflow checks. am: b022196fb6Martijn Coenen
Change-Id: I6994ec314617acabed4829e828fc07b5282ddc76
2020-02-07rm libbinderthreadstate am: 9eb342d792 am: 8e76f07ce5 am: 0b575da233Automerger Merge Worker
Change-Id: Ia4f2b977d5f569eb23e5c5c4d6293fbe3839949a
2020-02-07rm libbinderthreadstate am: 9eb342d792 am: 8e76f07ce5Automerger Merge Worker
Change-Id: I4e0bed144363a525a9e0d57faa517075e0282c57
2020-02-07rm libbinderthreadstate am: 9eb342d792Automerger Merge Worker
Change-Id: I198cb41558a01ba3f1c07b78402adbea3728283c
2020-02-06rm libbinderthreadstateSteven Moreland
This library is empty, and its functionality has moved into libbinder/libhwbinder. Bug: 148692216 Test: N/A Change-Id: I736c774965fca4998836a6a2cc1d123e809d29cf
2020-02-06[automerger skipped] Remove dep to libbinderthreadstate. am: e3785d05f0 am: ↵Automerger Merge Worker
b6c5781ca7 am: e5812af758 -s ours am skip reason: Change-Id I6cb780099229e1fce55c1f767b81822c06a605c1 with SHA-1 3ba053cd68 is in history Change-Id: I4516fd92e4c52190dbb05291f75c324d40ae748a
2020-02-06Remove dep to libbinderthreadstate. am: e3785d05f0 am: b6c5781ca7Automerger Merge Worker
Change-Id: Ia4352c5a95707fea3e14aeb89ddc9439450f4ec9
2020-02-06Remove dep to libbinderthreadstate. am: e3785d05f0Automerger Merge Worker
Change-Id: I8cda1ff09a3a7b5eac5b36543a5b3ec1082672ac
2020-02-06Merge "Remove dep to libbinderthreadstate."Steven Moreland
2020-02-05Remove dep to libbinderthreadstate.Steven Moreland
Instead of having this library, libbinder/libhwbinder can keep track of stack pointers so that when they recurse, we know which one was visited most recently. As with the original implementation of libbinderthreadstate, this is somewhat of a hack. An explanation of why this is and what to do instead is added in CallerUtils.h. Bug: 148692216 Test: boot Change-Id: I6cb780099229e1fce55c1f767b81822c06a605c1 Merged-In: I6cb780099229e1fce55c1f767b81822c06a605c1
2020-02-04Remove dep to libbinderthreadstate.Steven Moreland
Instead of having this library, libbinder/libhwbinder can keep track of stack pointers so that when they recurse, we know which one was visited most recently. As with the original implementation of libbinderthreadstate, this is somewhat of a hack. An explanation of why this is and what to do instead is added in CallerUtils.h. Bug: 148692216 Test: boot Change-Id: I6cb780099229e1fce55c1f767b81822c06a605c1
2020-02-03TextOutput: remove aout/aerr am: c55fc6f65d am: f478e399ab am: d647034db6Automerger Merge Worker
Change-Id: I05ea416ea89d0595f6c8899be0be1b6e04f16b72
2020-02-03TextOutput: remove aout/aerr am: c55fc6f65d am: f478e399abAutomerger Merge Worker
Change-Id: I7fea0a46ad9ca66173e7c4a4038618a6f682b68e
2020-02-03TextOutput: remove aout/aerr am: c55fc6f65dAutomerger Merge Worker
Change-Id: Idc3c3ccdf19b5b0e48245fde0123d10b16aa4f66
2020-01-31TextOutput: remove aout/aerrandroid-r-preview-1Steven Moreland
Contributing to private dirty memory, but unused. Bug: 148676615 Test: boot + build Change-Id: I0bf4534a0b06e840a0dd3dd2c396335f30727b64
2020-01-31Fix addition/overflow checks.Martijn Coenen
For unsigned arithmetic, use: (a + b < a) to detect whether a+b wraps (a > c / b) to detect whether a*b > c Bug: 120078455 Test: builds and boots Change-Id: I738b90855b6b9a8effbf55a468c751b6d0b8edd9 (cherry picked from commit d79ac373483c36f893981c7319d37a5ebbd63b98)
2020-01-23Fix addition/overflow checks.Martijn Coenen
For unsigned arithmetic, use: (a + b < a) to detect whether a+b wraps (a > c / b) to detect whether a*b > c Bug: 120078455 Test: builds and boots Change-Id: I738b90855b6b9a8effbf55a468c751b6d0b8edd9
2019-12-19Link libvndksupport dynamically instead of statically. am: 59de0c2590 am: ↵Automerger Merge Worker
56771093eb am: 5a83b61e04 Change-Id: I66d1fa93c4f498eb022000c0db35a2bd9f2ce088
2019-12-19Link libvndksupport dynamically instead of statically. am: 59de0c2590 am: ↵Automerger Merge Worker
56771093eb Change-Id: Iac49fc58b90f6b7b4f3c410cc8c2795335c866c5
2019-12-19Link libvndksupport dynamically instead of statically.Peter Collingbourne
am: 59de0c2590 Change-Id: I7ef3cf9b47eaae5b84fce45ea646f87e9940cdff
2019-12-17Link libvndksupport dynamically instead of statically.Peter Collingbourne
Bug: 146456667 Change-Id: I6a2cbd5143b32a4dd3e2d32a230a93156e7016d0
2019-12-13Merge "Update for v5.4 kernel headers." am: 2f9e75b87d am: ffe96dbe0c am: ↵Automerger Merge Worker
fc21535dc2 Change-Id: I7f6c4109d36113cbda140619c148a46a09768d37
2019-12-13Merge "Update for v5.4 kernel headers." am: 2f9e75b87d am: ffe96dbe0cAutomerger Merge Worker
Change-Id: Iccda6dc7bb39dd7f9967e2f46f90756d98a81129
2019-12-13Merge "Update for v5.4 kernel headers."Christopher Ferris
am: 2f9e75b87d Change-Id: I30f8cdf3309d05ae76389a8406dc83a0c0823438
2019-12-13Merge "Update for v5.4 kernel headers."Christopher Ferris
2019-12-12ProcessState: don't require /dev/hwbinder on host. am: 065201c28d am: ↵Automerger Merge Worker
3632e6826f am: 1cf0ae966a Change-Id: Ib6ab68d72d5c4943421a942867fa1e9c8a51f7d7
2019-12-12ProcessState: don't require /dev/hwbinder on host. am: 065201c28d am: 3632e6826fAutomerger Merge Worker
Change-Id: I77a6c15c2f0bd38ff992324d6f94b5118e7238d2
2019-12-12ProcessState: don't require /dev/hwbinder on host.Steven Moreland
am: 065201c28d Change-Id: I101169e9bcdd9f244ac0fc7deb62fd63d923c618
2019-12-11ProcessState: don't require /dev/hwbinder on host.Steven Moreland
On host, we allow ProcessState to be created (and for subsequent calls to it to fail) in order to allow unit tests to run on host which frequently open up ProcessState. For instance, this happens when Parcel objects are constructed in certain cases. This isn't ideal, but it is the workaround right now we have to avoid needing huge deltas between device/host code. Fixes: 145570461 Test: ProcessState::self() on host doesn't crash. Change-Id: Ie71ef1659ac8f283f562c289bd978835251d5aba
2019-12-10Update for v5.4 kernel headers.Christopher Ferris
The new headers are coming from the android kernel, so the binder header file contains everything necessary now. The only reason to leave the binder_kernel.h file is because one of the compilers doesn't understandt __packed. Test: Builds. Change-Id: I73ae18d77c574a1077ca38bb87a90f455f4d54bf
2019-12-02Enforce log level if driver cannot be opened am: b2cded4b9a am: 2546d48223Sergii Piatakov
am: e0f5e936ae Change-Id: I500749193c239a8de5f9af569c9473a54997dc7e
2019-12-02Enforce log level if driver cannot be opened am: b2cded4b9aSergii Piatakov
am: 2546d48223 Change-Id: Iac84b38f27c8c1325576377dc94df7ba1ea6a9a9
2019-12-02Enforce log level if driver cannot be openedSergii Piatakov
am: b2cded4b9a Change-Id: I7e7cc25a730fec937fd1335a6971b074dfed5881
2019-12-02Enforce log level if driver cannot be openedSergii Piatakov
This patch partially reverts temporary changes that were introduced, by the b7e2233a33d84c43c2c13b6f2876754cdbd21a3f commit. According to the current logic, driver file may be not opened during `ProcessStage` object construction. But later the file descriptor is used without any additional checks. In other words, the file descriptor invariants are not followed. Instead of adding additional "check-and-open" logic it is proposed to ensure in the constructor that initialization has been successfully completed. Bug: 145399240 Test: make with SKIP_ABI_CHECKS=true and boot Change-Id: I7862640aa44919cc5aceec602e83d337393c0008 Signed-off-by: Sergii Piatakov <sergii.piatakov@globallogic.com>
2019-11-22Merge "Fix log message in the ProcessState constructor" am: 59ce509490 am: ↵Sergii Piatakov
5fd31a3e4f am: c014e86696 Change-Id: I3a0ee0688b20d58bfb043369fd2aa7c7693e6979
2019-11-22Merge "Fix log message in the ProcessState constructor" am: 59ce509490Sergii Piatakov
am: 5fd31a3e4f Change-Id: If569b5492ac45e5f693066c6174d339405dcdff7
2019-11-22Merge "Fix log message in the ProcessState constructor"Sergii Piatakov
am: 59ce509490 Change-Id: I9ea80c8d74198d0c8d609736b7e65ade85edb029
2019-11-22Merge "Fix log message in the ProcessState constructor"Treehugger Robot
2019-11-22Fix log message in the ProcessState constructorSergii Piatakov
It is written that we do terminate, but in fact, we do not. The typo was introduced in the b7e2233a33d84c43c2c13b6f2876754cdbd21a3f commit. Test: not necessary. Change-Id: I5d7206e9284d03a83a137837f1cbdd8c01355e6f Signed-off-by: Sergii Piatakov <sergii.piatakov@globallogic.com>
2019-11-05libhwbinder tests: require_root am: a18b7f1f24 am: d437161dc7Steven Moreland
am: 0aa2761b65 Change-Id: I1c29bd4a3b7a2c1d8dd5db45b561bb938ab4f9a3
2019-11-05android.hardware.tests.libhwbinder@1.0-impl{,.test} am: 8f2d624444 am: ↵Steven Moreland
da99d50e64 am: f175a310b0 Change-Id: Ibf2deb987e52750515600a7c02745da7f4ac9157
2019-11-05libhwbinder tests: require_root am: a18b7f1f24Steven Moreland
am: d437161dc7 Change-Id: Icc233905eb730da704d43dd84b7e7b23a96b0ecb
2019-11-05android.hardware.tests.libhwbinder@1.0-impl{,.test} am: 8f2d624444Steven Moreland
am: da99d50e64 Change-Id: Icea88137e8262237a56d9ed575d40a331ee88803
2019-11-05libhwbinder tests: require_rootSteven Moreland
am: a18b7f1f24 Change-Id: I9c62f84fb31cbbc4abb63a219524cecfe62d794d