Searched refs:AIBinder_Weak (Results 1 – 5 of 5) sorted by relevance
125 struct AIBinder_Weak;126 typedef struct AIBinder_Weak AIBinder_Weak; typedef515 __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)
50 AIBinder_Weak* mWeakBinder = nullptr;
284 : public impl::ScopedAResource<AIBinder_Weak*, void, AIBinder_Weak_delete, nullptr> {289 explicit ScopedAIBinder_Weak(AIBinder_Weak* a = nullptr) : ScopedAResource(a) {} in ScopedAResource()
268 struct AIBinder_Weak { struct271 AIBinder_Weak* AIBinder_Weak_new(AIBinder* binder) { in AIBinder_Weak_new() argument276 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()
291 AIBinder_Weak* wBinder = AIBinder_Weak_new(binder); in TEST()