/system/libhwbinder/ |
D | IInterface.cpp | 34 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/ |
D | IInterface.h | 31 static sp<IBinder> asBinder(const IInterface*); 32 static sp<IBinder> asBinder(const sp<IInterface>&);
|
/system/bt/service/ipc/binder/ |
D | remote_callback_list.h | 117 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()
|
D | remote_callback_map.h | 138 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/ |
D | OemNetdListener.cpp | 34 mIBinder = ::android::IInterface::asBinder(this); in getIBinder() 73 ::android::IInterface::asBinder(listener)->linkToDeath(deathRecipient); in registerOemUnsolicitedEventListenerInternal()
|
D | EventReporter.cpp | 68 android::IInterface::asBinder(listener)->linkToDeath(deathRecipient); in registerUnsolEventListener()
|
/system/connectivity/wificond/ |
D | server.cpp | 67 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/ |
D | MapTests.java | 55 foo.ibinderMap.put("Foo", intf.asBinder()); in testWriteAndThenReadMaps() 78 assertThat(readFoo.ibinderMap.get("Foo"), is(intf.asBinder())); in testWriteAndThenReadMaps()
|
/system/update_engine/ |
D | binder_service_android.cc | 92 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()
|
D | update_engine_client_android.cc | 269 android::os::IUpdateEngine::asBinder(service_), in OnInit()
|
/system/tools/aidl/ |
D | generate_java_binder.cpp | 142 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/ |
D | aidl_test_client_parcelables.cpp | 126 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()
|
D | aidl_test_client_primitives.cpp | 182 input.push_back(INamedCallback::asBinder(got)); in TEST_F()
|
/system/hardware/interfaces/suspend/1.0/default/ |
D | SuspendControlService.h | 58 [&cb](const sp<ISuspendCallback> i) { return cb == IInterface::asBinder(i); }); in findCb()
|
D | SuspendControlService.cpp | 59 sp<IBinder> cb = IInterface::asBinder(callback); in registerCallback()
|
/system/bt/service/example/heart_rate/ |
D | server_main.cc | 113 if (android::IInterface::asBinder(bluetooth.get())->linkToDeath(dr) != in main()
|
D | heart_rate_server.cc | 115 if (!android::IInterface::asBinder(gatt_.get())->isBinderAlive()) return; in ~HeartRateServer()
|
/system/tools/hidl/ |
D | hidl-gen_y.yy | 77 "onAsBinder", "asBinder", "queryLocalInterface", "getInterfaceDescriptor", "isBinderAlive", 90 "asBinder",
|
/system/bt/service/client/ |
D | main.cc | 1088 if (android::IInterface::asBinder(bt_iface.get())->linkToDeath(dr) != in main()
|
/system/tools/hidl/test/java_test/src/com/android/commands/hidl_test_java/ |
D | HidlTestJava.java | 651 IHwBinder binder = proxy.asBinder(); in client() 673 IHwBinder binder = proxy.asBinder(); in client()
|