Home
last modified time | relevance | path

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

/frameworks/native/libs/binder/tests/
DbinderStabilityTest.cpp273 class MarksStabilityInConstructor : public BBinder { class
277 MarksStabilityInConstructor() { in MarksStabilityInConstructor() function in MarksStabilityInConstructor
280 ~MarksStabilityInConstructor() { in ~MarksStabilityInConstructor()
284 bool MarksStabilityInConstructor::gDestructed = false;
287 ASSERT_FALSE(MarksStabilityInConstructor::gDestructed); in TEST()
291 MarksStabilityInConstructor* binder = new MarksStabilityInConstructor(); in TEST()
292 ASSERT_FALSE(MarksStabilityInConstructor::gDestructed); in TEST()
294 sp<MarksStabilityInConstructor> binderSp = binder; in TEST()
295 ASSERT_FALSE(MarksStabilityInConstructor::gDestructed); in TEST()
298 ASSERT_TRUE(MarksStabilityInConstructor::gDestructed); in TEST()