summaryrefslogtreecommitdiffstats
path: root/libbinderwrapper
Commit message (Collapse)AuthorAgeFilesLines
* binderwrapper: Resolve ambiguous base::Closure referenceChristopher Wiley2016-04-123-5/+5
| | | | | | | | | | Disambiguate between base and android::base namespaces. This matters when headers from libbase are indirectly included. Bug: 27804373 Test: Compiles in that referenced situation. Change-Id: Icb26595bb0013733aa8c03971c9f4a950c8b2ab1
* libbinderwrapper: Add BinderWrapper::GetOrCreateInstance()Alex Vakulenko2016-01-041-0/+7
| | | | | | | | | | | In libraries relying on binder it is useful to be able to obtain an existing copy of BinderWrapper or create one if it doesn't exist. This allows to abstract the actual RPC (binder) from clients who have no other dependencies on this RPC. BUG: 23782171 Change-Id: Ie775d3d8ab83d75e38abc7e1385eb39a363555ef
* libbinderwrapper: Add GetCallingUid() and GetCallingPid().Daniel Erat2015-10-163-1/+22
| | | | | | | | Add methods to BinderWrapper for getting the caller's UID and PID while in a transaction. Bug: 24988639 Change-Id: Ibd711fc6b3d83623d4bb1060838c65aaef30d76e
* Add libbinderwrapper.Daniel Erat2015-09-096-0/+392
Add a library that wraps libbinder to make it possible to write tests for native code that communicates via binder. Bug: 23791723 Change-Id: I3c842413e0f07dc252040c042d664031b0354353