Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/tests/unit/
DCommonPoolTests.cpp146 class ObjectTracker { class
150 ObjectTracker() { in ObjectTracker() function in ObjectTracker
153 ObjectTracker(const ObjectTracker&) { in ObjectTracker() function in ObjectTracker
156 ObjectTracker(ObjectTracker&&) { in ObjectTracker() argument
159 ~ObjectTracker() { in ~ObjectTracker()
166 std::atomic_int ObjectTracker::sGlobalCount{0};
169 ASSERT_EQ(0, ObjectTracker::count()); in TEST()
171 ObjectTracker obj; in TEST()
172 ASSERT_EQ(1, ObjectTracker::count()); in TEST()
173 EXPECT_LT(1, CommonPool::async([obj] { return ObjectTracker::count(); }).get()); in TEST()
[all …]