Home
last modified time | relevance | path

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

123

/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.h31 class IInterface : public virtual RefBase
34 IInterface();
35 static sp<IBinder> asBinder(const IInterface*);
36 static sp<IBinder> asBinder(const sp<IInterface>&);
38 virtual ~IInterface();
45 class BpInterface : public INTERFACE, public IInterface, public BpHwRefBase
/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,
/system/tools/aidl/tests/
Daidl_test_client_renamed_interface.cpp23 using android::IInterface;
57 sp<INewName> oldAsNew = INewName::asInterface(IInterface::asBinder(oldName)); in TEST_F()
65 sp<IOldName> newAsOld = IOldName::asInterface(IInterface::asBinder(newName)); in TEST_F()
Daidl_parser_fuzzer.dict78 " android.os.IInterface "
/system/hardware/interfaces/suspend/1.0/default/
DSuspendControlService.cpp50 sp<IBinder> cb = IInterface::asBinder(callback); in registerCallback()
74 return IInterface::asBinder(callback) == IInterface::asBinder(i); in registerWakelockCallback()
80 if (IInterface::asBinder(callback)->remoteBinder() && in registerWakelockCallback()
81 IInterface::asBinder(callback)->linkToDeath(this) != NO_ERROR) { in registerWakelockCallback()
94 return who == IInterface::asBinder(i); in binderDied()
105 [&who](const sp<IWakelockCallback>& i) { return who == IInterface::asBinder(i); }), in binderDied()
/system/netd/server/
DOemNetdListener.cpp29 static ::android::sp<::android::IBinder> sIBinder = ::android::IInterface::asBinder(listener); in getListener()
67 ::android::IInterface::asBinder(listener)->linkToDeath(deathRecipient); in registerOemUnsolicitedEventListenerInternal()
/system/tools/aidl/tests/golden_output/aidl-test-interface-java-source/gen/android/aidl/tests/
DIDeprecated.java7 public interface IDeprecated extends android.os.IInterface
34 android.os.IInterface iin = obj.queryLocalInterface(DESCRIPTOR); in asInterface()
DINamedCallback.java5 public interface INamedCallback extends android.os.IInterface
36 android.os.IInterface iin = obj.queryLocalInterface(DESCRIPTOR); in asInterface()
DIOldName.java5 public interface IOldName extends android.os.IInterface
36 android.os.IInterface iin = obj.queryLocalInterface(DESCRIPTOR); in asInterface()
DINewName.java5 public interface INewName extends android.os.IInterface
36 android.os.IInterface iin = obj.queryLocalInterface(DESCRIPTOR); in asInterface()
/system/tools/aidl/tests/golden_output/aidl-test-interface-cpp-source/gen/include/android/aidl/tests/
DIDeprecated.h14 class __attribute__((deprecated("test"))) IDeprecated : public ::android::IInterface {
DINamedCallback.h15 class INamedCallback : public ::android::IInterface {
DINewName.h15 class INewName : public ::android::IInterface {
DIOldName.h15 class IOldName : public ::android::IInterface {
/system/connectivity/wificond/
Dserver.cpp71 if (IInterface::asBinder(callback) == IInterface::asBinder(it)) { in registerWificondEventCallback()
85 if (IInterface::asBinder(callback) == IInterface::asBinder(*it)) { in unregisterWificondEventCallback()
98 if (IInterface::asBinder(callback) == IInterface::asBinder(it)) { in RegisterCallback()
112 if (IInterface::asBinder(callback) == IInterface::asBinder(*it)) { in UnregisterCallback()
/system/iorap/src/binder/
Dpackage_manager_remote.cc176 android::IInterface::asBinder(package_service_.get())->linkToDeath(death_recipient); in RegisterPackageManagerDeathRecipient()
183 android::OK != android::IInterface::asBinder( in RegisterPackageManagerDeathRecipient()

123