Home
last modified time | relevance | path

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

/system/core/libutils/
DRefBase_test.cpp95 ASSERT_EQ(2, foo->getWeakRefs()->getWeakCount()); in TEST()
117 EXPECT_EQ(0, foo->getWeakRefs()->getWeakCount()); in TEST()
120 EXPECT_EQ(1, foo->getWeakRefs()->getWeakCount()); in TEST()
123 ASSERT_EQ(2, foo->getWeakRefs()->getWeakCount()); in TEST()
125 EXPECT_EQ(1, foo->getWeakRefs()->getWeakCount()); in TEST()
356 ASSERT_TRUE(bar->getWeakRefs()->getWeakCount() >= 1); in TEST()
414 ASSERT_EQ(bar->getWeakRefs()->getWeakCount(), 2); in TEST()
DRefBase_fuzz.cpp191 weakRefs = ref->getWeakRefs(); in LLVMFuzzerTestOneInput()
DRefBase.cpp730 RefBase::weakref_type* RefBase::getWeakRefs() const in getWeakRefs() function in android::RefBase
/system/core/libutils/include/utils/
DRefBase.h328 weakref_type* getWeakRefs() const;
331 inline void printRefs() const { getWeakRefs()->printRefs(); } in printRefs()
336 getWeakRefs()->trackMe(enable, retain); in trackMe()
479 return m_refs == o->getWeakRefs(); // Implies m_ptr == o.mptr.
543 auto refs = other->getWeakRefs(); in fromExisting()
/system/libhwbinder/
DProcessState.cpp235 if (b) e->refs = b->getWeakRefs(); in getStrongProxyForHandle()
270 if (b) e->refs = b->getWeakRefs(); in getWeakProxyForHandle()
DBpHwBinder.cpp142 getWeakRefs()->incWeak(this); in linkToDeath()
DIPCThreadState.cpp701 proxy->getWeakRefs()->incWeak(mProcess.get()); in incWeakHandle()
702 mPostWriteWeakDerefs.push(proxy->getWeakRefs()); in incWeakHandle()
1259 proxy->getWeakRefs()->decWeak(proxy); in executeCommand()
DParcel.cpp212 obj.binder = reinterpret_cast<uintptr_t>(local->getWeakRefs()); in flatten_binder()