Searched refs:lastEvent (Results 1 – 3 of 3) sorted by relevance
/hardware/interfaces/sensors/common/vts/2_X/ |
D | VtsHalSensorsV2_XTargetTest.h | 479 auto lastEvent = events.back(); in TEST_P() local 490 ASSERT_EQ(lastEvent.sensorType, s.type); in TEST_P() 491 ASSERT_EQ(lastEvent.sensorType, s.type); in TEST_P() 492 ASSERT_EQ(lastEvent.timestamp, injectedEvent.timestamp); in TEST_P() 493 ASSERT_EQ(lastEvent.u.vec3.x, injectedEvent.u.vec3.x); in TEST_P() 494 ASSERT_EQ(lastEvent.u.vec3.y, injectedEvent.u.vec3.y); in TEST_P() 495 ASSERT_EQ(lastEvent.u.vec3.z, injectedEvent.u.vec3.z); in TEST_P() 496 ASSERT_EQ(lastEvent.u.vec3.status, injectedEvent.u.vec3.status); in TEST_P()
|
/hardware/interfaces/sensors/aidl/vts/ |
D | VtsAidlHalSensorsTargetTest.cpp | 666 auto lastEvent = events.back(); in TEST_P() local 677 ASSERT_EQ(lastEvent.sensorType, s.type); in TEST_P() 678 ASSERT_EQ(lastEvent.timestamp, injectedEvent.timestamp); in TEST_P() 679 ASSERT_EQ(lastEvent.payload.get<Event::EventPayload::Tag::vec3>().x, in TEST_P() 681 ASSERT_EQ(lastEvent.payload.get<Event::EventPayload::Tag::vec3>().y, in TEST_P() 683 ASSERT_EQ(lastEvent.payload.get<Event::EventPayload::Tag::vec3>().z, in TEST_P() 685 ASSERT_EQ(lastEvent.payload.get<Event::EventPayload::Tag::vec3>().status, in TEST_P()
|
/hardware/interfaces/automotive/vehicle/2.0/default/impl/vhal_v2_0/tests/ |
D | DefaultVhalImpl_test.cpp | 349 const auto& lastEvent = receivedEvents[receivedEvents.size() - 1]; in TEST_F() local 350 ASSERT_EQ((size_t)1, lastEvent->value.floatValues.size()); in TEST_F() 351 EXPECT_EQ(1.0f, lastEvent->value.floatValues[0]); in TEST_F()
|