Home
last modified time | relevance | path

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

/hardware/interfaces/sensors/common/vts/2_X/
DVtsHalSensorsV2_XTargetTest.h219 SensorsHidlEnvironmentBase<EventType>* getEnvironment() override { return mEnvironment; } in getEnvironment() function
453 getEnvironment()->registerCallback(&callback); in TEST_P()
476 getEnvironment()->unregisterCallback(); in TEST_P()
540 EXPECT_EQ(collectEvents(kCollectionTimeoutUs, kNumEvents, getEnvironment()).size(), 0); in TEST_P()
550 getEnvironment()->HidlTearDown(); in TEST_P()
551 getEnvironment()->HidlSetUp(); in TEST_P()
568 ASSERT_GE(collectEvents(kCollectionTimeoutUs, kNumEvents, getEnvironment()).size(), kNumEvents); in TEST_P()
573 getEnvironment()->HidlTearDown(); in TEST_P()
574 getEnvironment()->HidlSetUp(); in TEST_P()
580 ASSERT_EQ(collectEvents(kCollectionTimeoutUs, kNumEvents, getEnvironment()).size(), 0); in TEST_P()
[all …]
/hardware/interfaces/sensors/common/vts/utils/include/sensors-vts-utils/
DSensorsHidlTestBase.h166 virtual SensorsHidlEnvironmentBase<EventType>* getEnvironment() = 0;
204 return collectEvents(timeLimitUs, nEventLimit, getEnvironment(), clearBeforeStart,
271 events = collectEvents(minTimeUs, minNEvent, getEnvironment(), true /*clearBeforeStart*/); in testStreamingOperation()
338 events1 = collectEvents(collectionTimeoutUs, minNEvent, getEnvironment());
344 events2 = collectEvents(collectionTimeoutUs, minNEvent, getEnvironment());
448 getEnvironment()->setCollection(true); in testBatchingOperation()
461 getEnvironment()->setCollection(false); in testBatchingOperation()
/hardware/interfaces/sensors/2.0/vts/functional/
DVtsHalSensorsV2_0TargetTest.cpp259 getEnvironment()->HidlTearDown(); in TEST_P()
260 getEnvironment()->HidlSetUp(); in TEST_P()
/hardware/interfaces/sensors/1.0/vts/functional/
DVtsHalSensorsV1_0TargetTest.cpp84 SensorsHidlEnvironmentBase<Event>* getEnvironment() override { return mEnvironment; } in getEnvironment() function in SensorsHidlTest