Home
last modified time | relevance | path

Searched refs:SpAIBinder (Results 1 – 3 of 3) sorted by relevance

/frameworks/native/libs/binder/ndk/include_ndk/android/
Dbinder_auto_utils.h43 class SpAIBinder {
48 explicit SpAIBinder(AIBinder* binder = nullptr) : mBinder(binder) {} in mBinder()
54 SpAIBinder(std::nullptr_t) : SpAIBinder() {} // NOLINT(google-explicit-constructor) in SpAIBinder() function
59 SpAIBinder(const SpAIBinder& other) { *this = other; } in SpAIBinder() function
64 ~SpAIBinder() { set(nullptr); } in ~SpAIBinder()
70 SpAIBinder& operator=(const SpAIBinder& other) {
244 SpAIBinder promote() { return SpAIBinder(AIBinder_Weak_promote(get())); } in promote()
Dbinder_interface_utils.h100 virtual SpAIBinder asBinder() = 0;
151 SpAIBinder asBinder() override;
160 virtual SpAIBinder createBinder() = 0;
173 explicit BpCInterface(const SpAIBinder& binder) : mBinder(binder) {} in BpCInterface()
176 SpAIBinder asBinder() override;
185 SpAIBinder mBinder;
238 SpAIBinder BnCInterface<INTERFACE>::asBinder() { in asBinder()
241 SpAIBinder binder; in asBinder()
254 SpAIBinder BpCInterface<INTERFACE>::asBinder() { in asBinder()
Dbinder_parcel_utils.h159 const SpAIBinder& binder) { in AParcel_writeNullableStrongBinder()
167 SpAIBinder* binder) { in AParcel_readNullableStrongBinder()
180 const SpAIBinder& binder) { in AParcel_writeRequiredStrongBinder()
191 SpAIBinder* binder) { in AParcel_readRequiredStrongBinder()