summaryrefslogtreecommitdiff
path: root/libs/binder/rust/tests/binderRustNdkInteropTest.cpp
Commit message (Collapse)AuthorAgeFilesLines
* binderRustNdkInteropTest: C++ in-process to RustSteven Moreland2023-06-081-7/+5
| | | | | | | | C++<->Rust FFI just got that much easier. Bug: 286246993 Test: binderRustNdkInteropTest Change-Id: I92ae9b7f2ff2988f6ac4d248eaa91606062f4709
* Revert "Revert "libbinder_rs: Treat previously associated Binder as remote""Stephen Crane2020-12-031-0/+78
| | | | | | | | | | | | | | | | | | | | | | | 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
* Revert "libbinder_rs: Treat previously associated Binder as remote"Matthew Maurer2020-12-031-78/+0
| | | | | | | | This reverts commit 29422bf9421560bf283c063ad13a82fa30d9a141. Reason for revert: b/174694961 Change-Id: I3043d1c9b7b317c9bf9a0ebeedf0ef1e16025827
* libbinder_rs: Treat previously associated Binder as remoteStephen Crane2020-11-251-0/+78
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