summaryrefslogtreecommitdiff
path: root/libs/binder/IInterface.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Binder: don't depend on libutils headersTomasz Wasilczyk2023-10-311-1/+0
| | | | | | Bug: 302723053 Test: mma Change-Id: Id68a10a491e3db7f27ea2cbf843078544bb0ab85
* libbinder use stronger refbase semanticsSteven Moreland2021-04-091-2/+2
| | | | | | | | | | As a larger example of how to use ANDROID_UTILS_REF_BASE_DISABLE_IMPLICIT_CONSTRUCTION. Bug: 184190315 Test: boot (relevant tests in TEST_MAPPING) Change-Id: I88283543e1f63fd1010f9cd3f63baefec84e6a84
* Remove extraneous semicolon.Steven Moreland2019-09-271-1/+1
| | | | | | | Bug: N/A Test: build w/o -Wno-c++98-compat-extra-semi Merged-In: I632d6df9a03485e547a6e7f14df0f1c068066c1e Change-Id: I632d6df9a03485e547a6e7f14df0f1c068066c1e
* libbinder: remove old functionsSteven Moreland2019-04-021-18/+0
| | | | | | | | | | | These symbols started returning errors in 2014. All code should be updated by now. Bug: 129785390 Test: search all prebuilts for this symbol, only shows up in VNDK snapshots and libunwindstack test binaries Change-Id: I7fcd56efd5dd927b09832171fdc5c1b8905f2b9f
* [binder] Replace NULL/0 with nullptrYi Kong2018-06-071-2/+2
| | | | | | | | | | | | | Fixes -Wzero-as-null-pointer-constant warning. clang-tidy -checks=modernize-use-nullptr -p compile_commands.json -fix ... Test: m Bug: 68236239 Change-Id: I3181bc5683796423a98b0f9b94daf30880c07bdc Merged-In: I3181bc5683796423a98b0f9b94daf30880c07bdc (cherry picked from commit 91635563b8a1bf7a31e4ceb439728dacb79abd76)
* Add backwards compatible versions of IInterface::asBinder()Marco Nelissen2015-03-311-0/+21
| | | | | | | | | | This makes apps linked against the previous non-static versions work with the new libbinder. Bug: 19060033 Bug: 19773812 Change-Id: I3b5c78cbb4f4c0681ca1042e4d8503d98f969502
* Replace IInterface::asBinder() with a staticMarco Nelissen2014-11-141-4/+8
| | | | | | | so we can do NULL checks again, and update calls to IInterface::asBinder() to use the new static version. Change-Id: Ia7b10eb38ca55b72278bfd33d3bf647f338b4e6a
* Don't check if this == NULL.Dan Albert2014-09-161-2/+2
| | | | | | | Entering a method with this == NULL is undefined behavior. Clang whines about this. Change-Id: Ibde628395ca10dfef0d2f59e81280576f104b83c
* some work to try to reduce the code size of some native librariesMathias Agopian2009-05-261-0/+7
| | | | | | | | | | | | | | | | | - make sure that all binder Bn classes define a ctor and dtor in their respective library. This avoids duplication of the ctor/dtor in libraries where these objects are instantiated. This is also cleaner, should we want these ctor/dtor to do something one day. - same change as above for some Bp classes and various other non-binder classes - moved the definition of CHECK_INTERFACE() in IInterface.h instead of having it everywhere. - improved the CHECK_INTERFACE() macro so it calls a single method in Parcel, instead of inlining its code everywhere - IBinder::getInterfaceDescriptor() now returns a "const String16&" instead of String16, which saves calls to String16 and ~String16 - implemented a cache for BpBinder::getInterfaceDescriptor(), since this does an IPC. HOWEVER, this method never seems to be called. The cache makes BpBinder bigger, so we need to figure out if we need this method at all.
* move libbinder's header files under includes/binderMathias Agopian2009-05-201-1/+1
|
* checkpoint: split libutils into libutils + libbinderMathias Agopian2009-05-201-0/+35