Home
last modified time | relevance | path

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

/system/core/healthd/
DBatteryPropertiesRegistrar.cpp52 if (IInterface::asBinder(mListeners[i]) == IInterface::asBinder(listener)) { in registerListener()
58 IInterface::asBinder(listener)->linkToDeath(this); in registerListener()
68 if (IInterface::asBinder(mListeners[i]) == IInterface::asBinder(listener)) { in unregisterListener()
69 IInterface::asBinder(mListeners[i])->unlinkToDeath(this); in unregisterListener()
97 if (IInterface::asBinder(mListeners[i]) == who) { in binderDied()
/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()
194 sp<IBinder> binder = IInterface::asBinder(callback_.get()); in binderDied()
Dremote_callback_map.h144 sp<IBinder> binder = IInterface::asBinder(callback.get()); in Register()
208 if (IInterface::asBinder(dr->get_callback().get())->unlinkToDeath(dr) != in UnregisterInternal()
241 sp<IBinder> binder = IInterface::asBinder(callback_.get()); in binderDied()
/system/core/fingerprintd/
DFingerprintDaemonProxy.cpp125 if (mCallback != NULL && IInterface::asBinder(callback) != IInterface::asBinder(mCallback)) { in init()
126 IInterface::asBinder(mCallback)->unlinkToDeath(this); in init()
128 IInterface::asBinder(callback)->linkToDeath(this); in init()
263 if (IInterface::asBinder(mCallback) == who) { in binderDied()
/system/bt/service/common/bluetooth/binder/
DIBluetooth.cpp141 reply->writeStrongBinder(IInterface::asBinder(ble_iface.get())); in onTransact()
147 reply->writeStrongBinder(IInterface::asBinder(gatt_client_iface.get())); in onTransact()
153 reply->writeStrongBinder(IInterface::asBinder(gatt_server_iface.get())); in onTransact()
253 data.writeStrongBinder(IInterface::asBinder(callback.get())); in RegisterCallback()
262 data.writeStrongBinder(IInterface::asBinder(callback.get())); in UnregisterCallback()
DIBluetoothGattClient.cpp78 data.writeStrongBinder(IInterface::asBinder(callback.get())); in RegisterClient()
DIBluetoothLowEnergy.cpp167 data.writeStrongBinder(IInterface::asBinder(callback.get())); in RegisterClient()
DIBluetoothGattServer.cpp179 data.writeStrongBinder(IInterface::asBinder(callback.get())); in RegisterServer()
/system/bt/service/example/heart_rate/
Dserver_main.cpp112 if (android::IInterface::asBinder(bluetooth.get())->linkToDeath(dr) != in main()
Dheart_rate_server.cpp102 if (!android::IInterface::asBinder(gatt_.get())->isBinderAlive()) in ~HeartRateServer()
/system/nativepower/client/
Dpower_manager_client.cc66 IInterface::asBinder(power_manager_)); in ~PowerManagerClient()
/system/weaved/buffet/
Dmanager.cc184 android::IInterface::asBinder(listener)); in ~Manager()
188 android::IInterface::asBinder(pair.first)); in ~Manager()
376 android::IInterface::asBinder(listener), in registerNotificationListener()
466 android::IInterface::asBinder(client), in CreateServicesForClients()
Dmain.cc60 android::IInterface::asBinder(manager_)); in RegisterDBusObjectsAsync()
/system/tpm/trunks/
Dtrunks_binder_service.cc65 kTrunksServiceName, android::IInterface::asBinder(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.cc181 IUpdateEngineStatusCallback::asBinder(callback), in RegisterStatusCallback()
/system/core/metricsd/
Dmetrics_library.cc134 android::IInterface::asBinder(metricsd_proxy_)->isBinderAlive()) in CheckService()
/system/tools/aidl/tests/
Daidl_test_client_primitives.cpp160 input.push_back(INamedCallback::asBinder(got)); in ConfirmReverseBinderLists()
/system/weaved/libweaved/
Dservice.cc304 android::IInterface::asBinder(weave_service_); in ~ServiceImpl()
/system/bt/service/client/
Dmain.cpp822 if (android::IInterface::asBinder(bt_iface.get())->linkToDeath(dr) != in main()