Home
last modified time | relevance | path

Searched refs:asBinder (Results 1 – 20 of 20) sorted by relevance

/system/libhwbinder/
DIInterface.cpp34 sp<IBinder> IInterface::asBinder(const IInterface* iface) in asBinder() function in android::hardware::IInterface
41 sp<IBinder> IInterface::asBinder(const sp<IInterface>& iface) in asBinder() function in android::hardware::IInterface
/system/libhwbinder/include/hwbinder/
DIInterface.h31 static sp<IBinder> asBinder(const IInterface*);
32 static sp<IBinder> asBinder(const sp<IInterface>&);
/system/bt/service/ipc/binder/
Dremote_callback_list.h117 sp<IBinder> binder = IInterface::asBinder(callback.get()); in Register()
141 sp<IBinder> binder = IInterface::asBinder(callback.get()); in Unregister()
164 if (IInterface::asBinder(dr->get_callback().get())->unlinkToDeath(dr) != in UnregisterInternal()
192 sp<IBinder> binder = IInterface::asBinder(callback_.get()); in binderDied()
Dremote_callback_map.h138 sp<IBinder> binder = IInterface::asBinder(callback.get()); in Register()
200 if (IInterface::asBinder(dr->get_callback().get())->unlinkToDeath(dr) != in UnregisterInternal()
228 sp<IBinder> binder = IInterface::asBinder(callback_.get()); in binderDied()
/system/netd/server/
DOemNetdListener.cpp34 mIBinder = ::android::IInterface::asBinder(this); in getIBinder()
73 ::android::IInterface::asBinder(listener)->linkToDeath(deathRecipient); in registerOemUnsolicitedEventListenerInternal()
DEventReporter.cpp68 android::IInterface::asBinder(listener)->linkToDeath(deathRecipient); in registerUnsolEventListener()
/system/connectivity/wificond/
Dserver.cpp66 if (IInterface::asBinder(callback) == IInterface::asBinder(it)) { in RegisterCallback()
80 if (IInterface::asBinder(callback) == IInterface::asBinder(*it)) { in UnregisterCallback()
177 out_client_interfaces->push_back(asBinder(it.second->GetBinder())); in GetClientInterfaces()
185 out_ap_interfaces->push_back(asBinder(it.second->GetBinder())); in GetApInterfaces()
/system/update_engine/
Dbinder_service_android.cc63 IUpdateEngineCallback::asBinder(callback); in bind()
85 IUpdateEngineCallback::asBinder(callback); in unbind()
160 return IUpdateEngineCallback::asBinder(elem).get() == callback; in UnbindCallback()
Dupdate_engine_client_android.cc237 android::os::IUpdateEngine::asBinder(service_), in OnInit()
Dbinder_service_brillo.cc206 IUpdateEngineStatusCallback::asBinder(callback), in RegisterStatusCallback()
/system/tools/aidl/
Dgenerate_java_binder.cpp146 Method* asBinder = new Method; in StubClass() local
147 asBinder->modifiers = PUBLIC | OVERRIDE; in StubClass()
148 asBinder->returnType = types->IBinderType()->JavaType(); in StubClass()
149 asBinder->name = "asBinder"; in StubClass()
150 asBinder->statements = new StatementBlock; in StubClass()
151 asBinder->statements->Add(new ReturnStatement(THIS_VALUE)); in StubClass()
152 this->elements.push_back(asBinder); in StubClass()
345 Method* asBinder = new Method; in ProxyClass() local
346 asBinder->modifiers = PUBLIC | OVERRIDE; in ProxyClass()
347 asBinder->returnType = types->IBinderType()->JavaType(); in ProxyClass()
[all …]
/system/hardware/interfaces/suspend/1.0/default/
DSuspendControlService.h55 [&cb](const sp<ISuspendCallback> i) { return cb == IInterface::asBinder(i); }); in findCb()
DSuspendControlService.cpp50 sp<IBinder> cb = IInterface::asBinder(callback); in registerCallback()
/system/netd/resolv/
DResolverEventReporter.cpp118 auto binder = listener->asBinder().get(); in addListenerImplLocked()
DDnsResolverService.cpp88 AServiceManager_addService(resolverService->asBinder().get(), getServiceName()); in start()
/system/bt/service/example/heart_rate/
Dserver_main.cc113 if (android::IInterface::asBinder(bluetooth.get())->linkToDeath(dr) != in main()
Dheart_rate_server.cc115 if (!android::IInterface::asBinder(gatt_.get())->isBinderAlive()) return; in ~HeartRateServer()
/system/tools/aidl/tests/
Daidl_test_client_primitives.cpp180 input.push_back(INamedCallback::asBinder(got)); in ConfirmReverseBinderLists()
/system/tools/hidl/
Dhidl-gen_y.yy75 "onAsBinder", "asBinder", "queryLocalInterface", "getInterfaceDescriptor", "isBinderAlive",
88 "asBinder",
/system/bt/service/client/
Dmain.cc1088 if (android::IInterface::asBinder(bt_iface.get())->linkToDeath(dr) != in main()