Home
last modified time | relevance | path

Searched refs:RefBase (Results 1 – 22 of 22) sorted by relevance

/system/core/libutils/
DRefBase.cpp148 class RefBase::weakref_impl : public RefBase::weakref_type
153 RefBase* const mBase;
158 explicit weakref_impl(RefBase* base) in weakref_impl()
177 weakref_impl(RefBase* base) in weakref_impl()
411 void RefBase::incStrong(const void* id) const in incStrong()
432 void RefBase::decStrong(const void* id) const in decStrong()
465 void RefBase::forceIncStrong(const void* id) const in forceIncStrong()
490 int32_t RefBase::getStrongCount() const in getStrongCount()
496 RefBase* RefBase::weakref_type::refBase() const in refBase()
501 void RefBase::weakref_type::incWeak(const void* id) in incWeak()
[all …]
DRefBase_test.cpp35 class Foo : public RefBase {
50 class FooFixedAlloc : public RefBase {
86 TEST(RefBase, StrongMoves) { in TEST() argument
114 TEST(RefBase, WeakCopies) { in TEST() argument
131 TEST(RefBase, Comparisons) { in TEST() argument
215 TEST(RefBase, ReplacedComparison) { in TEST() argument
247 class Bar : public RefBase {
312 TEST(RefBase, RacingDestructors) { in TEST() argument
368 TEST(RefBase, RacingPromotions) { in TEST() argument
DAndroid.bp131 "RefBase.cpp",
/system/core/libutils/include/utils/
DRefBase.h246 class RefBase
260 RefBase* refBase() const;
302 typedef RefBase basetype;
305 RefBase();
306 virtual ~RefBase();
341 RefBase(const RefBase& o);
342 RefBase& operator=(const RefBase& o);
352 static void renameRefId(RefBase* ref,
364 typedef typename RefBase::weakref_type weakref_type;
DLooper.h69 class MessageHandler : public virtual RefBase {
100 class LooperCallback : public virtual RefBase {
138 class Looper : public RefBase {
DThread.h41 class Thread : virtual public RefBase
/system/libhwbinder/include/hwbinder/
DIBinder.h42 class IBinder : public virtual RefBase
60 class DeathRecipient : public virtual RefBase
DIPCThreadState.h166 Vector<RefBase::weakref_type*> mPendingWeakDerefs;
167 Vector<RefBase*> mPostWriteStrongDerefs;
168 Vector<RefBase::weakref_type*> mPostWriteWeakDerefs;
DBinder.h91 class BpHwRefBase : public virtual RefBase
108 RefBase::weakref_type* mRefs;
DProcessState.h35 class ProcessState : public virtual RefBase
104 RefBase::weakref_type* refs;
DIInterface.h27 class IInterface : public virtual RefBase
/system/libhidl/libhidlcache/include/hidlcache/
Dmapping.h50 sp<RefBase> lockMemoryCache(const sp<::android::hidl::memory::token::V1_0::IMemoryToken> key);
DMemoryDealer.h31 class MemoryDealer : public RefBase {
/system/libhwbinder/
DIInterface.cpp27 : RefBase() { in IInterface()
DIPCThreadState.cpp511 RefBase::weakref_type* refs = mPendingWeakDerefs[0]; in processPendingDerefs()
538 RefBase::weakref_type* refs = mPostWriteWeakDerefs[0]; in processPostWriteDerefs()
544 RefBase* obj = mPostWriteStrongDerefs[0]; in processPostWriteDerefs()
1054 RefBase::weakref_type* refs; in executeCommand()
1065 refs = (RefBase::weakref_type*)mIn.readPointer(); in executeCommand()
1081 refs = (RefBase::weakref_type*)mIn.readPointer(); in executeCommand()
1094 refs = (RefBase::weakref_type*)mIn.readPointer(); in executeCommand()
1103 refs = (RefBase::weakref_type*)mIn.readPointer(); in executeCommand()
1115 refs = (RefBase::weakref_type*)mIn.readPointer(); in executeCommand()
1202 if (reinterpret_cast<RefBase::weakref_type*>( in executeCommand()
DBinder.cpp34 : RefBase() in IBinder()
DBufferedTextOutput.cpp39 struct BufferedTextOutput::BufferState : public RefBase
DParcel.cpp102 reinterpret_cast<RefBase::weakref_type*>(obj.binder)->incWeak(who); in acquire_binder_object()
148 reinterpret_cast<RefBase::weakref_type*>(obj.binder)->decWeak(who); in release_object()
319 reinterpret_cast<RefBase::weakref_type*>(flat->binder)); in unflatten_binder()
/system/libhidl/libhidlcache/
Dmapping.cpp41 sp<RefBase> lockMemoryCache(const sp<::android::hidl::memory::token::V1_0::IMemoryToken> key) { in lockMemoryCache()
DHidlCache.h28 class HidlCache : public virtual RefBase {
34 class HidlCacheLock : public virtual RefBase {
/system/bt/service/ipc/binder/
Dinterface_with_instances_base.h40 virtual public android::RefBase {
/system/libhidl/base/include/hidl/
DHidlSupport.h69 struct hidl_death_recipient : public virtual RefBase {
306 class HidlMemory : public virtual hidl_memory, public virtual ::android::RefBase {