Home
last modified time | relevance | path

Searched refs:IInterface (Results 1 – 25 of 38) sorted by relevance

12

/system/libhwbinder/
DIInterface.cpp26 IInterface::IInterface() in IInterface() function in android::hardware::IInterface
30 IInterface::~IInterface() { in ~IInterface()
34 sp<IBinder> IInterface::asBinder(const IInterface* iface) in asBinder()
37 return const_cast<IInterface*>(iface)->onAsBinder(); in asBinder()
41 sp<IBinder> IInterface::asBinder(const sp<IInterface>& iface) in asBinder()
/system/libhwbinder/include/hwbinder/
DIInterface.h27 class IInterface : public virtual RefBase
30 IInterface();
31 static sp<IBinder> asBinder(const IInterface*);
32 static sp<IBinder> asBinder(const sp<IInterface>&);
34 virtual ~IInterface();
41 class BpInterface : public INTERFACE, public IInterface, public BpHwRefBase
DIBinder.h32 class IInterface; variable
/system/bt/service/ipc/binder/
Dinterface_with_instances_base.h39 : public RemoteCallbackMap<int, android::IInterface>::Delegate,
51 bool RegisterInstanceBase(const android::sp<IInterface>& callback,
60 void ForEachCallback(const std::function<void(IInterface*)>& func);
69 android::sp<IInterface> GetCallback(int instance_id);
86 bluetooth::BLEStatus status, android::sp<IInterface> callback,
94 RemoteCallbackMap<bluetooth::Uuid, android::IInterface> pending_callbacks_;
99 RemoteCallbackMap<int, IInterface> id_to_cb_;
Dremote_callback_list.h102 using android::IInterface;
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()
Dinterface_with_instances_base.cc25 const android::sp<IInterface>& callback, in RegisterInstanceBase()
90 const std::function<void(IInterface*)>& func) { in ForEachCallback()
99 android::sp<IInterface> InterfaceWithInstancesBase::GetCallback( in GetCallback()
119 sp<IInterface> callback = pending_callbacks_.Remove(uuid); in OnRegisterInstance()
Dbluetooth_avrcp_control_binder_server.cc169 auto func = [rc_connect, bt_connect, &device_address](IInterface* cb) { in OnConnectionState()
182 auto func = [&device_address, &binder_attr](IInterface* cb) { in OnTrackChanged()
194 auto func = [&addr_s16, abs_vol, label](IInterface* cb) { in OnSetAbsVolumeRequest()
205 auto func = [&addr_s16, label](IInterface* cb) { in OnRegisterForAbsVolumeCallbackRequest()
219 bluetooth::BLEStatus status, android::sp<IInterface> callback, in OnRegisterInstanceImpl()
Dremote_callback_map.h115 using android::IInterface;
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()
Dbluetooth_gatt_client_binder_server.h66 android::sp<IInterface> callback,
Dbluetooth_le_advertiser_binder_server.h76 android::sp<IInterface> callback,
Dbluetooth_gatt_client_binder_server.cc76 bluetooth::BLEStatus status, android::sp<IInterface> callback, in OnRegisterInstanceImpl()
Dbluetooth_le_scanner_binder_server.h78 android::sp<IInterface> callback,
Dbluetooth_low_energy_binder_server.h82 android::sp<IInterface> callback,
Dbluetooth_a2dp_sink_binder_server.h77 android::sp<IInterface> callback,
Dbluetooth_a2dp_source_binder_server.h86 android::sp<IInterface> callback,
Dbluetooth_avrcp_control_binder_server.h78 android::sp<IInterface> callback,
Dbluetooth_gatt_server_binder_server.h108 android::sp<IInterface> callback,
Dbluetooth_le_scanner_binder_server.cc133 bluetooth::BLEStatus status, android::sp<IInterface> callback, in OnRegisterInstanceImpl()
/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/tools/aidl/tests/
Daidl_test_client_parcelables.cpp21 using android::IInterface;
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()
Daidl_parser_fuzzer.dict52 " android.os.IInterface "
/system/connectivity/wificond/
Dserver.cpp67 if (IInterface::asBinder(callback) == IInterface::asBinder(it)) { in RegisterCallback()
81 if (IInterface::asBinder(callback) == IInterface::asBinder(*it)) { in UnregisterCallback()
/system/hardware/interfaces/suspend/1.0/default/
DSuspendControlService.h58 [&cb](const sp<ISuspendCallback> i) { return cb == IInterface::asBinder(i); }); in findCb()
/system/bt/service/example/heart_rate/
Dserver_main.cc113 if (android::IInterface::asBinder(bluetooth.get())->linkToDeath(dr) != in main()

12