OSDN Git Service

libbinder: Add SafeInterface
authorDan Stoza <stoza@google.com>
Thu, 1 Dec 2016 23:16:31 +0000 (15:16 -0800)
committerRobert Carr <racarr@google.com>
Thu, 30 Mar 2017 18:50:18 +0000 (11:50 -0700)
commitd630e520de9ff4bc50723a7e8f91b6d9be27db1c
treedea46f4b47ae355efd3f38f0751df0dd3b45df95
parent0e7305cb0ab3787cd4767aa3c57d6842ac351663
libbinder: Add SafeInterface

Adds SafeInterface, a mechanism which will automatically translate
IInterface method calls into remote procedure calls, avoiding the need
to manually write parceling and unparceling code for each method.

Test: binderSafeInterfaceTest
Change-Id: I0fc7a6eee5528371f40b90d056404cb024166b23
libs/binder/Android.bp
libs/binder/include/binder/SafeInterface.h [new file with mode: 0644]
libs/binder/tests/Android.bp
libs/binder/tests/binderSafeInterfaceTest.cpp [new file with mode: 0644]