Home
last modified time | relevance | path

Searched refs:AIBinder_Weak (Results 1 – 5 of 5) sorted by relevance

/frameworks/native/libs/binder/ndk/include_ndk/android/
Dbinder_ibinder.h124 struct AIBinder_Weak;
125 typedef struct AIBinder_Weak AIBinder_Weak; typedef
512 __attribute__((warn_unused_result)) AIBinder_Weak* AIBinder_Weak_new(AIBinder* binder)
522 void AIBinder_Weak_delete(AIBinder_Weak* weakBinder) __INTRODUCED_IN(29);
534 __attribute__((warn_unused_result)) AIBinder* AIBinder_Weak_promote(AIBinder_Weak* weakBinder)
Dbinder_auto_utils.h282 : public impl::ScopedAResource<AIBinder_Weak*, void, AIBinder_Weak_delete, nullptr> {
287 explicit ScopedAIBinder_Weak(AIBinder_Weak* a = nullptr) : ScopedAResource(a) {} in ScopedAResource()
/frameworks/native/libs/binder/ndk/test/include/iface/
Diface.h50 AIBinder_Weak* mWeakBinder = nullptr;
/frameworks/native/libs/binder/ndk/
Dibinder.cpp261 struct AIBinder_Weak { struct
264 AIBinder_Weak* AIBinder_Weak_new(AIBinder* binder) { in AIBinder_Weak_new() argument
269 return new AIBinder_Weak{wp<AIBinder>(binder)}; in AIBinder_Weak_new()
271 void AIBinder_Weak_delete(AIBinder_Weak* weakBinder) { in AIBinder_Weak_delete()
274 AIBinder* AIBinder_Weak_promote(AIBinder_Weak* weakBinder) { in AIBinder_Weak_promote()
/frameworks/native/libs/binder/ndk/test/
Dlibbinder_ndk_unit_test.cpp255 AIBinder_Weak* wBinder = AIBinder_Weak_new(binder); in TEST()