Home
last modified time | relevance | path

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

/system/core/libutils/
DRefBase_test.cpp92 wp<Foo> wp1(sp1); in TEST() local
111 ASSERT_TRUE(wp1.promote().get() == nullptr); in TEST()
119 wp<Foo> wp1(foo); in TEST() local
122 wp<Foo> wp2 = wp1; in TEST()
127 wp1 = nullptr; in TEST()
137 wp<Foo> wp1(sp1); in TEST() local
140 ASSERT_TRUE(wp1 == wp2); in TEST()
141 ASSERT_TRUE(wp1 == sp1); in TEST()
143 ASSERT_TRUE(wp1 != sp2); in TEST()
144 ASSERT_TRUE(wp1 <= wp2); in TEST()
[all …]