Home
last modified time | relevance | path

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

/aosp12/frameworks/native/libs/binder/tests/
H A DbinderStabilityTest.cpp325 class MarksStabilityInConstructor : public BBinder { class
329 MarksStabilityInConstructor() { in MarksStabilityInConstructor() function in MarksStabilityInConstructor
332 ~MarksStabilityInConstructor() { in ~MarksStabilityInConstructor()
336 bool MarksStabilityInConstructor::gDestructed = false;
339 ASSERT_FALSE(MarksStabilityInConstructor::gDestructed); in TEST()
343 MarksStabilityInConstructor* binder = new MarksStabilityInConstructor(); in TEST()
344 ASSERT_FALSE(MarksStabilityInConstructor::gDestructed); in TEST()
346 sp<MarksStabilityInConstructor> binderSp = binder; in TEST()
347 ASSERT_FALSE(MarksStabilityInConstructor::gDestructed); in TEST()
350 ASSERT_TRUE(MarksStabilityInConstructor::gDestructed); in TEST()