Home | History | Annotate | Download | only in libbinderwrapper

Lines Matching refs:binder

20 #include <binder/Binder.h>
21 #include <binder/IBinder.h>
22 #include <binder/IPCThreadState.h>
23 #include <binder/IServiceManager.h>
27 // Class that handles binder death notifications. libbinder wants the recipient
42 // Callback to run in response to binder death.
58 sp<IBinder> binder =
60 if (!binder.get())
62 return binder;
66 const sp<IBinder>& binder) {
73 String16(service_name.c_str()), binder);
87 const sp<IBinder>& binder,
90 if (binder->linkToDeath(recipient) != OK) {
92 << binder.get();
95 death_recipients_[binder] = recipient;
100 const sp<IBinder>& binder) {
101 auto it = death_recipients_.find(binder);
103 LOG(ERROR) << "Not registered for death notifications on " << binder.get();
106 if (binder->unlinkToDeath(it->second) != OK) {
108 << binder.get();