Home
last modified time | relevance | path

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

/system/core/libutils/include/utils/
DRefBase.h293 class weakref_type
326 weakref_type* createWeak(const void* id) const;
328 weakref_type* getWeakRefs() const;
378 friend class weakref_type;
389 static void renameRefId(weakref_type* ref,
404 typedef typename RefBase::weakref_type weakref_type; typedef
442 void set_object_and_refs(T* other, weakref_type* refs);
454 inline weakref_type* get_refs() const { return m_refs; } in get_refs()
514 weakref_type* m_refs;
568 weakref_type* newRefs = other ? other->createWeak(this) : nullptr;
[all …]
/system/core/libutils/
DRefBase.cpp159 class RefBase::weakref_impl : public RefBase::weakref_type
524 RefBase* RefBase::weakref_type::refBase() const in refBase()
529 void RefBase::weakref_type::incWeak(const void* id) in incWeak()
538 void RefBase::weakref_type::incWeakRequireWeak(const void* id) in incWeakRequireWeak()
547 void RefBase::weakref_type::decWeak(const void* id) in decWeak()
586 bool RefBase::weakref_type::attemptIncStrong(const void* id) in attemptIncStrong()
685 bool RefBase::weakref_type::attemptIncWeak(const void* id) in attemptIncWeak()
707 int32_t RefBase::weakref_type::getWeakCount() const in getWeakCount()
714 void RefBase::weakref_type::printRefs() const in printRefs()
719 void RefBase::weakref_type::trackMe(bool enable, bool retain) in trackMe()
[all …]
DRefBase_fuzz.cpp63 RefBase::weakref_type* weakRefs;
/system/libhwbinder/include/hwbinder/
DIPCThreadState.h140 Vector<RefBase::weakref_type*> mPendingWeakDerefs;
142 Vector<RefBase::weakref_type*> mPostWriteWeakDerefs;
DProcessState.h99 RefBase::weakref_type* refs;
DBinder.h115 RefBase::weakref_type* mRefs;
/system/libhwbinder/
DIPCThreadState.cpp498 RefBase::weakref_type* refs = mPendingWeakDerefs[0]; in processPendingDerefs()
525 RefBase::weakref_type* refs = mPostWriteWeakDerefs[0]; in processPostWriteDerefs()
1050 RefBase::weakref_type* refs; in executeCommand()
1061 refs = (RefBase::weakref_type*)mIn.readPointer(); in executeCommand()
1077 refs = (RefBase::weakref_type*)mIn.readPointer(); in executeCommand()
1090 refs = (RefBase::weakref_type*)mIn.readPointer(); in executeCommand()
1099 refs = (RefBase::weakref_type*)mIn.readPointer(); in executeCommand()
1111 refs = (RefBase::weakref_type*)mIn.readPointer(); in executeCommand()
1200 if (reinterpret_cast<RefBase::weakref_type*>( in executeCommand()
DParcel.cpp96 reinterpret_cast<RefBase::weakref_type*>(obj.binder)->incWeak(who); in acquire_binder_object()
142 reinterpret_cast<RefBase::weakref_type*>(obj.binder)->decWeak(who); in release_object()