Searched refs:getEnvironment (Results 1 – 5 of 5) sorted by relevance
/hardware/interfaces/sensors/common/vts/2_X/ |
D | VtsHalSensorsV2_XTargetTest.h | 218 SensorsVtsEnvironmentBase<EventType>* getEnvironment() override { return mEnvironment; } in getEnvironment() function 452 getEnvironment()->registerCallback(&callback); in TEST_P() 475 getEnvironment()->unregisterCallback(); in TEST_P() 539 EXPECT_EQ(getEnvironment()->collectEvents(kCollectionTimeoutUs, kNumEvents).size(), 0); in TEST_P() 548 getEnvironment()->TearDown(); in TEST_P() 549 getEnvironment()->SetUp(); in TEST_P() 556 EXPECT_GE(getEnvironment()->collectEvents(kCollectionTimeoutUs, kNumEvents).size(), kNumEvents); in TEST_P() 571 ASSERT_GE(getEnvironment()->collectEvents(kCollectionTimeoutUs, kNumEvents).size(), kNumEvents); in TEST_P() 576 getEnvironment()->TearDown(); in TEST_P() 577 getEnvironment()->SetUp(); in TEST_P() [all …]
|
/hardware/interfaces/sensors/aidl/vts/ |
D | VtsAidlHalSensorsTargetTest.cpp | 343 inline SensorsAidlEnvironment* getEnvironment() { return mEnvironment; } in getEnvironment() function in SensorsAidlTest 507 getEnvironment()->registerCallback(&callback); in runFlushTest() 534 getEnvironment()->unregisterCallback(); in runFlushTest() 627 getEnvironment()->registerCallback(&callback); in TEST_P() 659 getEnvironment()->unregisterCallback(); in TEST_P() 719 EXPECT_EQ(getEnvironment()->collectEvents(kCollectionTimeoutUs, kNumEvents).size(), 0); in TEST_P() 728 getEnvironment()->TearDown(); in TEST_P() 729 getEnvironment()->SetUp(); in TEST_P() 736 EXPECT_GE(getEnvironment()->collectEvents(kCollectionTimeoutUs, kNumEvents).size(), kNumEvents); in TEST_P() 746 ASSERT_GE(getEnvironment()->collectEvents(kCollectionTimeoutUs, kNumEvents).size(), kNumEvents); in TEST_P() [all …]
|
/hardware/interfaces/sensors/common/vts/utils/include/sensors-vts-utils/ |
D | SensorsHidlTestBase.h | 166 virtual SensorsVtsEnvironmentBase<EventType>* getEnvironment() = 0; 228 events = getEnvironment()->collectEvents( in testStreamingOperation() 287 events1 = getEnvironment()->collectEvents(collectionTimeoutUs, minNEvent); 293 events2 = getEnvironment()->collectEvents(collectionTimeoutUs, minNEvent); 397 getEnvironment()->setCollection(true); in testBatchingOperation() 399 getEnvironment()->collectEvents(0 /*timeLimitUs*/, 0 /*nEventLimit*/, in testBatchingOperation() 407 events = getEnvironment()->collectEvents(allowedBatchDeliverTimeNs / 1000, minFifoCount, in testBatchingOperation() 411 getEnvironment()->setCollection(false); in testBatchingOperation()
|
/hardware/interfaces/sensors/2.0/vts/functional/ |
D | VtsHalSensorsV2_0TargetTest.cpp | 259 getEnvironment()->TearDown(); in TEST_P() 260 getEnvironment()->SetUp(); in TEST_P()
|
/hardware/interfaces/sensors/1.0/vts/functional/ |
D | VtsHalSensorsV1_0TargetTest.cpp | 84 SensorsVtsEnvironmentBase<Event>* getEnvironment() override { return mEnvironment; } in getEnvironment() function in SensorsHidlTest
|