Home
last modified time | relevance | path

Searched refs:IBinder (Results 1 – 25 of 143) sorted by relevance

123456

/system/tools/aidl/tests/golden_output/aidl-test-interface-cpp-source/gen/include/android/aidl/tests/
DBnTestService.h14 …static constexpr uint32_t TRANSACTION_UnimplementedMethod = ::android::IBinder::FIRST_CALL_TRANSAC…
15 static constexpr uint32_t TRANSACTION_Deprecated = ::android::IBinder::FIRST_CALL_TRANSACTION + 1;
16 static constexpr uint32_t TRANSACTION_TestOneway = ::android::IBinder::FIRST_CALL_TRANSACTION + 2;
17 …static constexpr uint32_t TRANSACTION_RepeatBoolean = ::android::IBinder::FIRST_CALL_TRANSACTION +…
18 static constexpr uint32_t TRANSACTION_RepeatByte = ::android::IBinder::FIRST_CALL_TRANSACTION + 4;
19 static constexpr uint32_t TRANSACTION_RepeatChar = ::android::IBinder::FIRST_CALL_TRANSACTION + 5;
20 static constexpr uint32_t TRANSACTION_RepeatInt = ::android::IBinder::FIRST_CALL_TRANSACTION + 6;
21 static constexpr uint32_t TRANSACTION_RepeatLong = ::android::IBinder::FIRST_CALL_TRANSACTION + 7;
22 …static constexpr uint32_t TRANSACTION_RepeatFloat = ::android::IBinder::FIRST_CALL_TRANSACTION + 8;
23 …static constexpr uint32_t TRANSACTION_RepeatDouble = ::android::IBinder::FIRST_CALL_TRANSACTION + …
[all …]
/system/core/libbinderwrapper/include/binderwrapper/
Dstub_binder_wrapper.h86 const sp<IBinder>& binder);
90 sp<IBinder> GetRegisteredService(const std::string& service_name) const;
93 void NotifyAboutBinderDeath(const sp<IBinder>& binder);
96 sp<IBinder> GetService(const std::string& service_name) override;
98 const sp<IBinder>& binder) override;
100 bool RegisterForDeathNotifications(const sp<IBinder>& binder,
102 bool UnregisterForDeathNotifications(const sp<IBinder>& binder) override;
107 using ServiceMap = std::map<std::string, sp<IBinder>>;
122 std::map<sp<IBinder>, ::base::Closure> death_callbacks_;
Dbinder_wrapper.h30 class IBinder; variable
60 virtual sp<IBinder> GetService(const std::string& service_name) = 0;
64 const sp<IBinder>& binder) = 0;
72 const sp<IBinder>& binder,
76 virtual bool UnregisterForDeathNotifications(const sp<IBinder>& binder) = 0;
/system/core/libbinderwrapper/
Dstub_binder_wrapper.cc32 const sp<IBinder>& binder) { in SetBinderForService()
36 sp<IBinder> StubBinderWrapper::GetRegisteredService( in GetRegisteredService()
39 return it != registered_services_.end() ? it->second : sp<IBinder>(); in GetRegisteredService()
42 void StubBinderWrapper::NotifyAboutBinderDeath(const sp<IBinder>& binder) { in NotifyAboutBinderDeath()
48 sp<IBinder> StubBinderWrapper::GetService(const std::string& service_name) { in GetService()
50 return it != services_to_return_.end() ? it->second : sp<IBinder>(); in GetService()
54 const sp<IBinder>& binder) { in RegisterService()
66 const sp<IBinder>& binder, in RegisterForDeathNotifications()
73 const sp<IBinder>& binder) { in UnregisterForDeathNotifications()
Dreal_binder_wrapper.h27 class IBinder; variable
36 sp<IBinder> GetService(const std::string& service_name) override;
38 const sp<IBinder>& binder) override;
40 bool RegisterForDeathNotifications(const sp<IBinder>& binder,
42 bool UnregisterForDeathNotifications(const sp<IBinder>& binder) override;
51 std::map<sp<IBinder>, sp<DeathRecipient>> death_recipients_;
Dreal_binder_wrapper.cc30 class RealBinderWrapper::DeathRecipient : public IBinder::DeathRecipient {
37 void binderDied(const wp<IBinder>& who) override { in binderDied()
52 sp<IBinder> RealBinderWrapper::GetService(const std::string& service_name) { in GetService()
56 return sp<IBinder>(); in GetService()
58 sp<IBinder> binder = in GetService()
66 const sp<IBinder>& binder) { in RegisterService()
87 const sp<IBinder>& binder, in RegisterForDeathNotifications()
100 const sp<IBinder>& binder) { in UnregisterForDeathNotifications()
/system/libhwbinder/include/hwbinder/
DIInterface.h35 static sp<IBinder> asBinder(const IInterface*);
36 static sp<IBinder> asBinder(const sp<IInterface>&);
39 virtual IBinder* onAsBinder() = 0;
48 explicit BpInterface(const sp<IBinder>& remote);
49 virtual IBinder* onAsBinder();
59 inline BpInterface<INTERFACE>::BpInterface(const sp<IBinder>& remote) in BpInterface()
65 inline IBinder* BpInterface<INTERFACE>::onAsBinder() in onAsBinder()
DProcessState.h50 sp<IBinder> getContextObject(const sp<IBinder>& /*caller*/);
54 sp<IBinder> getStrongProxyForHandle(int32_t handle);
55 wp<IBinder> getWeakProxyForHandle(int32_t handle);
56 void expungeHandle(int32_t handle, IBinder* binder);
98 IBinder* binder;
DIBinder.h46 class IBinder : public virtual RefBase
88 IBinder();
99 virtual void binderDied(const wp<IBinder>& who) = 0;
175 virtual ~IBinder();
DBinder.h32 class BHwBinder : public IBinder
101 explicit BpHwRefBase(const sp<IBinder>& o);
108 inline IBinder* remote() const { return mRemote; } in remote()
114 IBinder* const mRemote;
/system/tools/aidl/tests/golden_output/aidl-test-interface-java-source/gen/android/aidl/tests/
DIDeprecated.java13 public android.os.IBinder asBinder() { in asBinder()
29 public static android.aidl.tests.IDeprecated asInterface(android.os.IBinder obj) in asInterface()
40 @Override public android.os.IBinder asBinder() in asBinder()
65 private android.os.IBinder mRemote;
66 Proxy(android.os.IBinder remote) in Proxy()
70 @Override public android.os.IBinder asBinder() in asBinder()
DITestService.java180 @Override public void TakesAnIBinder(android.os.IBinder input) throws android.os.RemoteException in TakesAnIBinder()
183 …@Override public void TakesANullableIBinder(android.os.IBinder input) throws android.os.RemoteExce… in TakesANullableIBinder()
225 @Override public android.os.IBinder GetCppJavaTests() throws android.os.RemoteException in GetCppJavaTests()
234 public android.os.IBinder asBinder() { in asBinder()
250 public static android.aidl.tests.ITestService asInterface(android.os.IBinder obj) in asInterface()
261 @Override public android.os.IBinder asBinder() in asBinder()
788 android.os.IBinder _arg0; in onTransact()
797 android.os.IBinder _arg0; in onTransact()
924 android.os.IBinder _result = this.GetCppJavaTests(); in onTransact()
945 private android.os.IBinder mRemote;
[all …]
DINewName.java15 public android.os.IBinder asBinder() { in asBinder()
31 public static android.aidl.tests.INewName asInterface(android.os.IBinder obj) in asInterface()
42 @Override public android.os.IBinder asBinder() in asBinder()
75 private android.os.IBinder mRemote;
76 Proxy(android.os.IBinder remote) in Proxy()
80 @Override public android.os.IBinder asBinder() in asBinder()
112 static final int TRANSACTION_RealName = (android.os.IBinder.FIRST_CALL_TRANSACTION + 0);
DINamedCallback.java15 public android.os.IBinder asBinder() { in asBinder()
31 public static android.aidl.tests.INamedCallback asInterface(android.os.IBinder obj) in asInterface()
42 @Override public android.os.IBinder asBinder() in asBinder()
75 private android.os.IBinder mRemote;
76 Proxy(android.os.IBinder remote) in Proxy()
80 @Override public android.os.IBinder asBinder() in asBinder()
112 static final int TRANSACTION_GetName = (android.os.IBinder.FIRST_CALL_TRANSACTION + 0);
DIOldName.java15 public android.os.IBinder asBinder() { in asBinder()
31 public static android.aidl.tests.IOldName asInterface(android.os.IBinder obj) in asInterface()
42 @Override public android.os.IBinder asBinder() in asBinder()
75 private android.os.IBinder mRemote;
76 Proxy(android.os.IBinder remote) in Proxy()
80 @Override public android.os.IBinder asBinder() in asBinder()
112 static final int TRANSACTION_RealName = (android.os.IBinder.FIRST_CALL_TRANSACTION + 0);
/system/tools/aidl/tests/android/aidl/tests/
DICppJavaTests.aidl41 List<IBinder> ReverseNamedCallbackList(in List<IBinder> input, out List<IBinder> repeated); in ReverseNamedCallbackList()
47 void TakesAnIBinderList(in List<IBinder> input); in TakesAnIBinderList()
48 void TakesANullableIBinderList(in @nullable List<IBinder> input); in TakesANullableIBinderList()
/system/netd/server/
DOemNetdListener.cpp26 ::android::sp<::android::IBinder> OemNetdListener::getListener() { in getListener()
29 static ::android::sp<::android::IBinder> sIBinder = ::android::IInterface::asBinder(listener); in getListener()
50 class DeathRecipient : public ::android::IBinder::DeathRecipient { in registerOemUnsolicitedEventListenerInternal()
56 void binderDied(const ::android::wp<::android::IBinder>& /* who */) override { in registerOemUnsolicitedEventListenerInternal() argument
64 ::android::sp<::android::IBinder::DeathRecipient> deathRecipient = in registerOemUnsolicitedEventListenerInternal()
DEventReporter.cpp30 android::sp<android::IBinder> b = android::defaultServiceManager()->checkService( in getNetdEventListener()
51 class DeathRecipient : public android::IBinder::DeathRecipient { in registerUnsolEventListener()
57 void binderDied(const android::wp<android::IBinder>& /* who */) override { in registerUnsolEventListener() argument
65 android::sp<android::IBinder::DeathRecipient> deathRecipient = in registerUnsolEventListener()
/system/libhwbinder/
DBinder.cpp39 IBinder::IBinder() in IBinder() function in android::hardware::IBinder
44 IBinder::~IBinder() in ~IBinder()
50 BHwBinder* IBinder::localBinder() in localBinder()
55 BpHwBinder* IBinder::remoteBinder() in remoteBinder()
60 bool IBinder::checkSubclass(const void* /*subclassID*/) const in checkSubclass()
238 BpHwRefBase::BpHwRefBase(const sp<IBinder>& o) in BpHwRefBase()
DIInterface.cpp34 sp<IBinder> IInterface::asBinder(const IInterface* iface) in asBinder()
41 sp<IBinder> IInterface::asBinder(const sp<IInterface>& iface) in asBinder()
/system/bt/service/ipc/binder/
Dremote_callback_list.h70 class CallbackDeathRecipient : public android::IBinder::DeathRecipient {
78 void binderDied(const android::wp<android::IBinder>& who) override;
87 using CallbackMap = std::unordered_map<android::IBinder*,
101 using android::IBinder;
117 sp<IBinder> binder = IInterface::asBinder(callback.get()); in Register()
141 sp<IBinder> binder = IInterface::asBinder(callback.get()); in Unregister()
189 const wp<IBinder>& who) { in binderDied()
192 sp<IBinder> binder = IInterface::asBinder(callback_.get()); in binderDied()
/system/libhidl/transport/token/1.0/utils/include/hidl/
DHybridInterface.h206 const sp<IBinder::DeathRecipient>& recipient,
210 const wp<IBinder::DeathRecipient>& recipient,
213 wp<IBinder::DeathRecipient>* outRecipient = nullptr);
222 wp<IBinder::DeathRecipient> recipient;
225 wp<IBinder> who;
227 const wp<IBinder::DeathRecipient>& r, in Obituary()
229 const wp<IBinder>& w) : in Obituary()
246 sp<IBinder::DeathRecipient> dr = recipient.promote(); in serviceDied()
282 explicit HpInterface(const sp<IBinder>& impl);
287 IBinder* mBpBinder;
[all …]
/system/tools/aidl/tests/java/src/android/aidl/tests/
DNullableTests.java27 import android.os.IBinder;
45 IBinder binder = ServiceManager.waitForService(ITestService.class.getName()); in setUp()
50 IBinder binder2 = mService.GetCppJavaTests(); in setUp()
85 List<IBinder> listWithNulls = new ArrayList<IBinder>(); in testExpectNpeWithNullBinderList()
/system/hardware/interfaces/suspend/1.0/default/
DSuspendControlService.h42 public virtual IBinder::DeathRecipient {
52 void binderDied(const wp<IBinder>& who) override;
62 const std::vector<sp<ISuspendCallback>>::iterator findCb(const wp<IBinder>& cb) { in findCb()
70 public virtual IBinder::DeathRecipient {
81 void binderDied([[maybe_unused]] const wp<IBinder>& who) override {} in binderDied()
/system/bt/binder/android/bluetooth/
DIBluetoothProfileServiceConnection.aidl20 import android.os.IBinder;
29 void onServiceConnected(in ComponentName comp, in IBinder service); in onServiceConnected()

123456