Home
last modified time | relevance | path

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

/frameworks/av/media/utils/tests/
Dmedia_synchronization_tests.cpp39 sp<MyObject<int>> refobj = new MyObject<int>(20); in TEST() local
40 atomic_wp<MyObject<int>> wpobj = refobj; in TEST()
46 ASSERT_EQ(refobj.get(), wpobj.load().promote().get()); in TEST()
50 ASSERT_EQ(10, refobj->get()); in TEST()
51 refobj->set(5); in TEST()
59 ASSERT_NE(nullptr, refobj.get()); in TEST()
63 sp<MyObject<int>> refobj = new MyObject<int>(20); in TEST() local
64 atomic_sp<MyObject<int>> spobj = refobj; in TEST()
67 ASSERT_EQ(refobj.get(), spobj.load().get()); in TEST()
72 ASSERT_EQ(10, refobj->get()); in TEST()
[all …]