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.cpp67 if (IInterface::asBinder(callback) == IInterface::asBinder(it)) { in RegisterCallback()
81 if (IInterface::asBinder(callback) == IInterface::asBinder(*it)) { in UnregisterCallback()
178 out_client_interfaces->push_back(asBinder(it.second->GetBinder())); in GetClientInterfaces()
186 out_ap_interfaces->push_back(asBinder(it.second->GetBinder())); in GetApInterfaces()
/system/tools/aidl/tests/java_app/src/android/aidl/tests/
DMapTests.java55 foo.ibinderMap.put("Foo", intf.asBinder()); in testWriteAndThenReadMaps()
78 assertThat(readFoo.ibinderMap.get("Foo"), is(intf.asBinder())); in testWriteAndThenReadMaps()
/system/update_engine/
Dbinder_service_android.cc92 IUpdateEngineCallback::asBinder(callback); in bind()
108 IUpdateEngineCallback::asBinder(callback); in unbind()
194 return IUpdateEngineCallback::asBinder(elem).get() == callback; in UnbindCallback()
239 IUpdateEngineCallback::asBinder(callback_); in RegisterForDeathNotifications()
Dupdate_engine_client_android.cc269 android::os::IUpdateEngine::asBinder(service_), in OnInit()
/system/tools/aidl/
Dgenerate_java_binder.cpp142 auto asBinder = std::make_shared<Method>(); in StubClass() local
143 asBinder->modifiers = PUBLIC | OVERRIDE; in StubClass()
144 asBinder->returnType = "android.os.IBinder"; in StubClass()
145 asBinder->name = "asBinder"; in StubClass()
146 asBinder->statements = std::make_shared<StatementBlock>(); in StubClass()
147 asBinder->statements->Add(std::make_shared<ReturnStatement>(THIS_VALUE)); in StubClass()
148 this->elements.push_back(asBinder); in StubClass()
341 auto asBinder = std::make_shared<Method>(); in ProxyClass() local
342 asBinder->modifiers = PUBLIC | OVERRIDE; in ProxyClass()
343 asBinder->returnType = "android.os.IBinder"; in ProxyClass()
[all …]
/system/tools/aidl/tests/
Daidl_test_client_parcelables.cpp126 parcelable1.ibinder = IInterface::asBinder(callback1); in TEST_F()
127 parcelable2.ibinder = IInterface::asBinder(callback1); in TEST_F()
147 parcelable2.ibinder = IInterface::asBinder(callback2); in TEST_F()
Daidl_test_client_primitives.cpp182 input.push_back(INamedCallback::asBinder(got)); in TEST_F()
/system/hardware/interfaces/suspend/1.0/default/
DSuspendControlService.h58 [&cb](const sp<ISuspendCallback> i) { return cb == IInterface::asBinder(i); }); in findCb()
DSuspendControlService.cpp59 sp<IBinder> cb = IInterface::asBinder(callback); in registerCallback()
/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/hidl/
Dhidl-gen_y.yy77 "onAsBinder", "asBinder", "queryLocalInterface", "getInterfaceDescriptor", "isBinderAlive",
90 "asBinder",
/system/bt/service/client/
Dmain.cc1088 if (android::IInterface::asBinder(bt_iface.get())->linkToDeath(dr) != in main()
/system/tools/hidl/test/java_test/src/com/android/commands/hidl_test_java/
DHidlTestJava.java651 IHwBinder binder = proxy.asBinder(); in client()
673 IHwBinder binder = proxy.asBinder(); in client()