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.cpp172 SensorsHidlEnvironmentBase* getEnvironment() override { return mEnvironment; } in getEnvironment() function in SensorsHidlTest
380 getEnvironment()->registerCallback(&callback); in TEST_P()
422 getEnvironment()->unregisterCallback(); in TEST_P()
658 ASSERT_EQ(collectEvents(kCollectionTimeoutUs, kNumEvents, getEnvironment()).size(), 0); in TEST_P()
667 getEnvironment()->HidlTearDown(); in TEST_P()
668 getEnvironment()->HidlSetUp(); in TEST_P()
685 ASSERT_GE(collectEvents(kCollectionTimeoutUs, kNumEvents, getEnvironment()).size(), kNumEvents); in TEST_P()
690 getEnvironment()->HidlTearDown(); in TEST_P()
691 getEnvironment()->HidlSetUp(); in TEST_P()
697 ASSERT_EQ(collectEvents(kCollectionTimeoutUs, kNumEvents, getEnvironment()).size(), 0); in TEST_P()
[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.cpp83 SensorsHidlEnvironmentBase* getEnvironment() override { return mEnvironment; } in getEnvironment() function in SensorsHidlTest