Home
last modified time | relevance | path

Searched refs:GetInstance (Results 1 – 25 of 32) sorted by relevance

12

/frameworks/base/cmds/statsd/tests/e2e/
DValueMetric_pull_e2e_test.cpp77 EXPECT_EQ((size_t)1, StatsPullerManagerImpl::GetInstance().mReceivers.size()); in TEST()
79 StatsPullerManagerImpl::GetInstance().mReceivers.begin()-> in TEST()
81 int64_t& expectedPullTimeNs = StatsPullerManagerImpl::GetInstance().mReceivers.begin()-> in TEST()
184 EXPECT_EQ((size_t)1, StatsPullerManagerImpl::GetInstance().mReceivers.size()); in TEST()
186 StatsPullerManagerImpl::GetInstance().mReceivers.begin()-> in TEST()
188 int64_t& expectedPullTimeNs = StatsPullerManagerImpl::GetInstance().mReceivers.begin()-> in TEST()
DGaugeMetric_e2e_pull_test.cpp77 EXPECT_EQ((size_t)1, StatsPullerManagerImpl::GetInstance().mReceivers.size()); in TEST()
79 StatsPullerManagerImpl::GetInstance().mReceivers.begin()-> in TEST()
81 int64_t& nextPullTimeNs = StatsPullerManagerImpl::GetInstance().mReceivers.begin()-> in TEST()
324 EXPECT_EQ((size_t)1, StatsPullerManagerImpl::GetInstance().mReceivers.size()); in TEST()
326 StatsPullerManagerImpl::GetInstance().mReceivers.begin()-> in TEST()
328 int64_t& nextPullTimeNs = StatsPullerManagerImpl::GetInstance().mReceivers.begin()-> in TEST()
/frameworks/native/services/surfaceflinger/tests/unittests/
DEventControlThreadTest.cpp50 ::testing::UnitTest::GetInstance()->current_test_info(); in EventControlThreadTest()
56 ::testing::UnitTest::GetInstance()->current_test_info(); in ~EventControlThreadTest()
DEventThreadTest.cpp90 ::testing::UnitTest::GetInstance()->current_test_info(); in EventThreadTest()
108 ::testing::UnitTest::GetInstance()->current_test_info(); in ~EventThreadTest()
/frameworks/native/cmds/dumpstate/tests/
Ddumpstate_test.cpp201 Dumpstate& ds = Dumpstate::GetInstance();
623 EXPECT_THAT(Dumpstate::GetInstance().listener_name_, StrEq("whatever")); in TEST_F()
624 EXPECT_FALSE(Dumpstate::GetInstance().report_section_); in TEST_F()
630 EXPECT_THAT(Dumpstate::GetInstance().listener_name_, StrEq("whatever")); in TEST_F()
631 EXPECT_FALSE(Dumpstate::GetInstance().report_section_); in TEST_F()
637 Dumpstate::GetInstance().listener_ = nullptr; in TEST_F()
641 EXPECT_THAT(Dumpstate::GetInstance().listener_name_, StrEq("whatever")); in TEST_F()
642 EXPECT_TRUE(Dumpstate::GetInstance().report_section_); in TEST_F()
647 Progress GetInstance(int32_t max, double growth_factor, const std::string& path = "") { in GetInstance() function in android::os::dumpstate::ProgressTest
681 Progress progress = GetInstance(10, 1.2); // 20% growth factor in TEST_F()
[all …]
Ddumpstate_smoke_test.cpp111 Dumpstate& ZippedBugreportGenerationTest::ds = Dumpstate::GetInstance();
/frameworks/rs/
DrsFallbackAdaptation.h29 static RsFallbackAdaptation& GetInstance();
DrsFallbackAdaptation.cpp45 RsFallbackAdaptation& RsFallbackAdaptation::GetInstance() in GetInstance() function in RsFallbackAdaptation
DrsHidlAdaptation.h43 static RsHidlAdaptation& GetInstance();
DrsApiStubs.cpp154 RsFallbackAdaptation& instance = RsFallbackAdaptation::GetInstance(); in rsContextCreate()
158 RsHidlAdaptation& instance = RsHidlAdaptation::GetInstance(); in rsContextCreate()
728 RsFallbackAdaptation& instance = RsFallbackAdaptation::GetInstance(); in rsContextCreateGL()
/frameworks/base/cmds/statsd/src/external/
DStatsPullerManager.h66 & mPullerManager = StatsPullerManagerImpl::GetInstance();
DStatsPullerManagerImpl.h51 static StatsPullerManagerImpl& GetInstance();
DStatsPullerManagerImpl.cpp193 StatsPullerManagerImpl& StatsPullerManagerImpl::GetInstance() { in GetInstance() function in android::os::statsd::StatsPullerManagerImpl
/frameworks/base/libs/hwui/tests/unit/
Dmain.cpp41 auto testinfo = ::testing::UnitTest::GetInstance()->current_test_info(); in gtestSigHandler()
/frameworks/native/libs/gui/tests/
DStreamSplitter_test.cpp38 ::testing::UnitTest::GetInstance()->current_test_info(); in StreamSplitterTest()
45 ::testing::UnitTest::GetInstance()->current_test_info(); in ~StreamSplitterTest()
DGLTest.cpp33 ::testing::UnitTest::GetInstance()->current_test_info(); in SetUp()
137 ::testing::UnitTest::GetInstance()->current_test_info(); in TearDown()
DIGraphicBufferProducer_test.cpp88 ::testing::UnitTest::GetInstance()->current_test_info(); in SetUp()
122 ::testing::UnitTest::GetInstance()->current_test_info(); in TearDown()
DSurfaceTextureClient_test.cpp47 ::testing::UnitTest::GetInstance()->current_test_info(); in SetUp()
104 ::testing::UnitTest::GetInstance()->current_test_info(); in TearDown()
DBufferQueue_test.cpp51 ::testing::UnitTest::GetInstance()->current_test_info(); in BufferQueueTest()
58 ::testing::UnitTest::GetInstance()->current_test_info(); in ~BufferQueueTest()
DCpuConsumer_test.cpp63 ::testing::UnitTest::GetInstance()->current_test_info(); in SetUp()
/frameworks/native/cmds/dumpstate/
DDumpstateService.cpp34 DumpstateService::DumpstateService() : ds_(Dumpstate::GetInstance()) { in DumpstateService()
Ddumpstate.h188 static Dumpstate& GetInstance();
Dutils.cpp73 static Dumpstate& ds = Dumpstate::GetInstance();
89 Dumpstate& Dumpstate::GetInstance() { in GetInstance() function in Dumpstate
/frameworks/native/libs/vr/libbufferhubqueue/tests/
Dbuffer_hub_queue_producer-test.cpp93 ::testing::UnitTest::GetInstance()->current_test_info(); in SetUp()
/frameworks/native/vulkan/api/
Dvulkan.api6463 instanceObject := GetInstance(instance)
6473 instanceObject := GetInstance(instance)
6504 instanceObject := GetInstance(instance)
8640 instanceObject := GetInstance(instance)
8824 instanceObject := GetInstance(instance)
9093 instanceObject := GetInstance(instance)
9113 instanceObject := GetInstance(instance)
9133 instanceObject := GetInstance(instance)
9152 instanceObject := GetInstance(instance)
9171 instanceObject := GetInstance(instance)
[all …]

12