Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/foundation/tests/
DAData_test.cpp294 const std::shared_ptr<EventCounter> _constShared(new EventCounter(&destructions)); in TEST_F() local
397 EXPECT_TRUE(u.set(_constShared)); in TEST_F()
398 EXPECT_EQ(2L, _constShared.use_count()); // even though it is const, we can add a use count in TEST_F()
442 const std::shared_ptr<DerivedCounter> _constShared(new DerivedCounter(&destructions)); in TEST_F() local
596 EXPECT_TRUE(u.set(_constShared)); in TEST_F()
597 EXPECT_EQ(2L, _constShared.use_count()); // even though it is const, we can add a use count in TEST_F()
707 const sp<EventCounter> _constShared(new EventCounter(&destructions)); in TEST_F() local
778 EXPECT_TRUE(u.set(_constShared)); in TEST_F()
816 const sp<EventCounter> _constShared(new EventCounter(&destructions)); in TEST_F() local
891 EXPECT_TRUE(u.set(_constShared)); in TEST_F()
[all …]