summaryrefslogtreecommitdiff
path: root/libs/binder/rust/tests/binderRustNdkInteropTest.cpp
AgeCommit message (Collapse)Author
2020-12-03Revert "Revert "libbinder_rs: Treat previously associated Binder as remote""Stephen Crane
This reverts commit f6b9ad98ee61149f42b6ca0bf84068d4411a92f8. Reason for revert: Includes fix for aidl_integration_test failure that prompted the initial revert Original commit message: libbinder_rs: Treat previously associated Binder as remote A binder object may have already been associated by another module (e.g. NDK code that created the object if it is local) and therefore already have an NDK AIBinder_Class. In this case we still want to transact with the object, but must treat it as remote if its class does not match the class expected for a compatible Rust service. Re-landing this change with the fix for aidl_integration_test failure that prompted its reversion. Bug: 167723746 Test: atest rustBinderTest binderRustNdkInteropTest Change-Id: I9a848bcc4b8003a22ebe59c89a95be70ef6ee7ec
2020-12-03Revert "libbinder_rs: Treat previously associated Binder as remote"Matthew Maurer
This reverts commit 29422bf9421560bf283c063ad13a82fa30d9a141. Reason for revert: b/174694961 Change-Id: I3043d1c9b7b317c9bf9a0ebeedf0ef1e16025827
2020-11-25libbinder_rs: Treat previously associated Binder as remoteStephen Crane
A binder object may have already been associated by another module (e.g. NDK code that created the object if it is local) and therefore already have an NDK AIBinder_Class. In this case we still want to transact with the object, but must treat it as remote if its class does not match the class expected for a compatible Rust service. Bug: 167723746 Test: atest rustBinderTest binderRustNdkInteropTest Change-Id: Id90c8153a3cc6656607c29bd8864e513c3f090d5