Home
last modified time | relevance | path

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

/system/core/healthd/
DBatteryPropertiesRegistrar.cpp62 if (IInterface::asBinder(mListeners[i]) == IInterface::asBinder(listener)) { in registerListener()
68 IInterface::asBinder(listener)->linkToDeath(this); in registerListener()
78 if (IInterface::asBinder(mListeners[i]) == IInterface::asBinder(listener)) { in unregisterListener()
79 IInterface::asBinder(mListeners[i])->unlinkToDeath(this); in unregisterListener()
111 if (IInterface::asBinder(mListeners[i]) == who) { in binderDied()
/system/connectivity/wificond/rtt/
Drtt_controller_impl.cpp45 if (IRttClient::asBinder(client) == IRttClient::asBinder(it)) { in RegisterRttClient()
57 if (IRttClient::asBinder(client) == IRttClient::asBinder(*it)) { in UnregisterRttClient()
/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/tools/aidl/
Dgenerate_java_binder.cpp89 Method* asBinder = new Method; in StubClass() local
90 asBinder->modifiers = PUBLIC | OVERRIDE; in StubClass()
91 asBinder->returnType = types->IBinderType(); in StubClass()
92 asBinder->name = "asBinder"; in StubClass()
93 asBinder->statements = new StatementBlock; in StubClass()
94 asBinder->statements->Add(new ReturnStatement(THIS_VALUE)); in StubClass()
95 this->elements.push_back(asBinder); in StubClass()
211 Method* asBinder = new Method; in ProxyClass() local
212 asBinder->modifiers = PUBLIC | OVERRIDE; in ProxyClass()
213 asBinder->returnType = types->IBinderType(); in ProxyClass()
[all …]
/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/connectivity/wificond/
Dserver.cpp73 if (IInterface::asBinder(callback) == IInterface::asBinder(it)) { in RegisterCallback()
87 if (IInterface::asBinder(callback) == IInterface::asBinder(*it)) { in UnregisterCallback()
179 out_client_interfaces->push_back(asBinder(it->GetBinder())); in GetClientInterfaces()
187 out_ap_interfaces->push_back(asBinder(it->GetBinder())); in GetApInterfaces()
/system/libhwbinder/include/hwbinder/
DIInterface.h31 static sp<IBinder> asBinder(const IInterface*);
32 static sp<IBinder> asBinder(const sp<IInterface>&);
/system/bt/service/example/heart_rate/
Dserver_main.cc116 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/core/storaged/
Dstoraged.cpp189 IInterface::asBinder(battery_properties)->linkToDeath(this); in init_battery_service()
194 IInterface::asBinder(battery_properties) == who) { in binderDied()
/system/tpm/trunks/
Dtrunks_binder_service.cc65 kTrunksServiceName, android::IInterface::asBinder(binder_))) { in OnInit()
/system/tpm/tpm_manager/server/
Dbinder_service.cc106 kTpmNvramBinderName, android::IInterface::asBinder(nvram_binder_))) { in OnInit()
112 android::IInterface::asBinder(ownership_binder_))) { in OnInit()
/system/update_engine/
Dbinder_service_android.cc68 IUpdateEngineCallback::asBinder(callback), in bind()
Dupdate_engine_client_android.cc216 android::os::IUpdateEngine::asBinder(service_), in OnInit()
Dbinder_service_brillo.cc197 IUpdateEngineStatusCallback::asBinder(callback), in RegisterStatusCallback()
/system/tools/aidl/tests/
Daidl_test_client_primitives.cpp180 input.push_back(INamedCallback::asBinder(got)); in ConfirmReverseBinderLists()
/system/libhidl/transport/include/hidl/
DHidlBinderSupport.h325 return ::android::hardware::IInterface::asBinder(static_cast<ProxyType *>(ifacePtr)); in toBinder()
/system/bt/service/client/
Dmain.cc1050 if (android::IInterface::asBinder(bt_iface.get())->linkToDeath(dr) != in main()
/system/tools/hidl/
Dhidl-gen_y.yy61 "onAsBinder", "asBinder", "queryLocalInterface", "getInterfaceDescriptor", "isBinderAlive",