Searched defs:refcnt (Results 1 - 1 of 1) sorted by relevance

/frameworks/base/libs/hwui/tests/unit/
H A DRenderNodeTests.cpp58 DecRefOnReleased(int* refcnt) : mRefCnt(refcnt) {} argument
66 int refcnt = 0; local
67 sp<DecRefOnReleased> listener(new DecRefOnReleased(&refcnt));
72 refcnt++;
76 EXPECT_EQ(1, refcnt);
79 refcnt++;
82 EXPECT_EQ(2, refcnt);
85 EXPECT_EQ(1, refcnt);
88 EXPECT_EQ(1, refcnt);
[all...]

Completed in 29 milliseconds