Home
last modified time | relevance | path

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

/frameworks/native/libs/binder/tests/
DbinderStabilityTest.cpp342 class MarksStabilityInConstructor : public BBinder { class
346 MarksStabilityInConstructor() { in MarksStabilityInConstructor() function in MarksStabilityInConstructor
349 ~MarksStabilityInConstructor() { in ~MarksStabilityInConstructor()
353 bool MarksStabilityInConstructor::gDestructed = false;
356 ASSERT_FALSE(MarksStabilityInConstructor::gDestructed); in TEST()
360 MarksStabilityInConstructor* binder = new MarksStabilityInConstructor(); in TEST()
361 ASSERT_FALSE(MarksStabilityInConstructor::gDestructed); in TEST()
363 sp<MarksStabilityInConstructor> binderSp = binder; in TEST()
364 ASSERT_FALSE(MarksStabilityInConstructor::gDestructed); in TEST()
367 ASSERT_TRUE(MarksStabilityInConstructor::gDestructed); in TEST()