Home
last modified time | relevance | path

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

/system/core/libutils/
DRefBase_test.cpp50 class FooFixedAlloc : public RefBase { class
70 FooFixedAlloc(bool* deleted_check) : mDeleted(deleted_check) { in FooFixedAlloc() function in FooFixedAlloc
74 ~FooFixedAlloc() { in ~FooFixedAlloc()
83 int FooFixedAlloc::mAllocCount(0);
84 void* FooFixedAlloc::theMemory(nullptr);
217 FooFixedAlloc* foo = new FooFixedAlloc(&isDeleted); in TEST()
218 sp<FooFixedAlloc> sp1(foo); in TEST()
219 wp<FooFixedAlloc> wp1(sp1); in TEST()
223 FooFixedAlloc* foo2 = new FooFixedAlloc(&isDeleted2); in TEST()
226 sp<FooFixedAlloc> sp2(foo2); in TEST()
[all …]