Home
last modified time | relevance | path

Searched refs:weakref_type (Results 1 – 8 of 8) sorted by relevance

/frameworks/native/include/utils/
DRefBase.h76 class weakref_type
108 weakref_type* createWeak(const void* id) const;
110 weakref_type* getWeakRefs() const;
152 friend class weakref_type;
201 typedef typename RefBase::weakref_type weakref_type; typedef
224 void set_object_and_refs(T* other, weakref_type* refs);
236 inline weakref_type* get_refs() const { return m_refs; } in get_refs()
284 weakref_type* m_refs;
353 weakref_type* newRefs =
364 weakref_type* otherRefs(other.m_refs);
[all …]
/frameworks/native/libs/utils/
DRefBase.cpp52 class RefBase::weakref_impl : public RefBase::weakref_type
392 RefBase* RefBase::weakref_type::refBase() const in refBase()
397 void RefBase::weakref_type::incWeak(const void* id) in incWeak()
406 void RefBase::weakref_type::decWeak(const void* id) in decWeak()
438 bool RefBase::weakref_type::attemptIncStrong(const void* id) in attemptIncStrong()
501 bool RefBase::weakref_type::attemptIncWeak(const void* id) in attemptIncWeak()
522 int32_t RefBase::weakref_type::getWeakCount() const in getWeakCount()
527 void RefBase::weakref_type::printRefs() const in printRefs()
532 void RefBase::weakref_type::trackMe(bool enable, bool retain) in trackMe()
537 RefBase::weakref_type* RefBase::createWeak(const void* id) const in createWeak()
[all …]
/frameworks/native/libs/binder/
DIPCThreadState.cpp445 RefBase::weakref_type* refs = mPendingWeakDerefs[i]; in joinThreadPool()
900 RefBase::weakref_type* refs; in executeCommand()
912 refs = (RefBase::weakref_type*)mIn.readInt32(); in executeCommand()
928 refs = (RefBase::weakref_type*)mIn.readInt32(); in executeCommand()
941 refs = (RefBase::weakref_type*)mIn.readInt32(); in executeCommand()
950 refs = (RefBase::weakref_type*)mIn.readInt32(); in executeCommand()
962 refs = (RefBase::weakref_type*)mIn.readInt32(); in executeCommand()
DParcel.cpp84 static_cast<RefBase::weakref_type*>(obj.binder)->incWeak(who); in acquire_object()
121 static_cast<RefBase::weakref_type*>(obj.binder)->decWeak(who); in release_object()
269 static_cast<RefBase::weakref_type*>(flat->binder)); in unflatten_binder()
/frameworks/native/opengl/libagl/
DBufferObjectManager.h60 typedef void weakref_type; typedef
/frameworks/native/include/binder/
DProcessState.h86 RefBase::weakref_type* refs;
DBinder.h95 RefBase::weakref_type* mRefs;
DIPCThreadState.h113 Vector<RefBase::weakref_type*> mPendingWeakDerefs;