Home
last modified time | relevance | path

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

/hardware/interfaces/sensors/2.0/vts/functional/
DVtsHalSensorsV2_0TargetTest.cpp159 SensorsHidlEnvironmentBase* getEnvironment() override { in getEnvironment() function in SensorsHidlTest
349 getEnvironment()->registerCallback(&callback); in TEST_F()
391 getEnvironment()->unregisterCallback(); in TEST_F()
620 ASSERT_EQ(collectEvents(kCollectionTimeoutUs, kNumEvents, getEnvironment()).size(), 0); in TEST_F()
644 ASSERT_GE(collectEvents(kCollectionTimeoutUs, kNumEvents, getEnvironment()).size(), kNumEvents); in TEST_F()
649 getEnvironment()->TearDown(); in TEST_F()
650 getEnvironment()->SetUp(); in TEST_F()
653 ASSERT_EQ(collectEvents(kCollectionTimeoutUs, kNumEvents, getEnvironment()).size(), 0); in TEST_F()
655 ASSERT_GE(collectEvents(kCollectionTimeoutUs, kNumEvents, getEnvironment()).size(), kNumEvents); in TEST_F()
674 getEnvironment()->registerCallback(&callback); in runFlushTest()
[all …]
/hardware/interfaces/sensors/common/vts/utils/
DSensorsHidlTestBase.cpp43 return collectEvents(timeLimitUs, nEventLimit, getEnvironment(), clearBeforeStart, in collectEvents()
559 getEnvironment()->setCollection(true); in testBatchingOperation()
572 getEnvironment()->setCollection(false); in testBatchingOperation()
/hardware/interfaces/sensors/common/vts/utils/include/sensors-vts-utils/
DSensorsHidlTestBase.h49 virtual SensorsHidlEnvironmentBase* getEnvironment() = 0;
/hardware/interfaces/sensors/1.0/vts/functional/
DVtsHalSensorsV1_0TargetTest.cpp73 SensorsHidlEnvironmentBase* getEnvironment() override { in getEnvironment() function in SensorsHidlTest