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.h125 struct AIBinder_Weak;
126 typedef struct AIBinder_Weak AIBinder_Weak; typedef
515 __attribute__((warn_unused_result)) AIBinder_Weak* AIBinder_Weak_new(AIBinder* binder)
525 void AIBinder_Weak_delete(AIBinder_Weak* weakBinder) __INTRODUCED_IN(29);
537 __attribute__((warn_unused_result)) AIBinder* AIBinder_Weak_promote(AIBinder_Weak* weakBinder)
/frameworks/native/libs/binder/ndk/tests/include/iface/
Diface.h50 AIBinder_Weak* mWeakBinder = nullptr;
/frameworks/native/libs/binder/ndk/include_cpp/android/
Dbinder_auto_utils.h284 : public impl::ScopedAResource<AIBinder_Weak*, void, AIBinder_Weak_delete, nullptr> {
289 explicit ScopedAIBinder_Weak(AIBinder_Weak* a = nullptr) : ScopedAResource(a) {} in ScopedAResource()
/frameworks/native/libs/binder/ndk/
Dibinder.cpp268 struct AIBinder_Weak { struct
271 AIBinder_Weak* AIBinder_Weak_new(AIBinder* binder) { in AIBinder_Weak_new() argument
276 return new AIBinder_Weak{wp<AIBinder>(binder)}; in AIBinder_Weak_new()
278 void AIBinder_Weak_delete(AIBinder_Weak* weakBinder) { in AIBinder_Weak_delete()
281 AIBinder* AIBinder_Weak_promote(AIBinder_Weak* weakBinder) { in AIBinder_Weak_promote()
/frameworks/native/libs/binder/ndk/tests/
Dlibbinder_ndk_unit_test.cpp291 AIBinder_Weak* wBinder = AIBinder_Weak_new(binder); in TEST()