Home
last modified time | relevance | path

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

/system/core/libutils/
DStrongPointer_test.cpp38 bool isDeleted; in TEST() local
39 SPFoo* foo = new SPFoo(&isDeleted); in TEST()
41 ASSERT_FALSE(isDeleted) << "Already deleted...?"; in TEST()
52 ASSERT_FALSE(isDeleted) << "deleted too early! still has a reference!"; in TEST()
57 ASSERT_TRUE(isDeleted) << "foo was leaked!"; in TEST()
DRefBase_test.cpp87 bool isDeleted; in TEST() local
88 Foo* foo = new Foo(&isDeleted); in TEST()
90 ASSERT_FALSE(isDeleted) << "Already deleted...?"; in TEST()
105 ASSERT_FALSE(isDeleted) << "deleted too early! still has a reference!"; in TEST()
110 ASSERT_TRUE(isDeleted) << "foo was leaked!"; in TEST()
115 bool isDeleted; in TEST() local
116 Foo* foo = new Foo(&isDeleted); in TEST()
118 ASSERT_FALSE(isDeleted) << "Foo (weak) already deleted...?"; in TEST()
126 ASSERT_FALSE(isDeleted) << "deleted too early! still has a reference!"; in TEST()
128 ASSERT_FALSE(isDeleted) << "Deletion on wp destruction should no longer occur"; in TEST()
[all …]