Searched refs:injectedEvent (Results 1 – 2 of 2) sorted by relevance
459 EventType injectedEvent; in TEST_P() local460 injectedEvent.timestamp = android::elapsedRealtimeNano(); in TEST_P()462 injectedEvent.u.vec3 = data; in TEST_P()468 injectedEvent.sensorType = s.type; in TEST_P()469 injectedEvent.sensorHandle = s.sensorHandle; in TEST_P()470 EXPECT_EQ(Result::OK, getSensors()->injectSensorData(injectedEvent)); 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()[all …]
643 Event injectedEvent; in TEST_P() local644 injectedEvent.timestamp = android::elapsedRealtimeNano(); in TEST_P()646 injectedEvent.payload.set<Event::EventPayload::Tag::vec3>(data); in TEST_P()652 injectedEvent.sensorType = s.type; in TEST_P()653 injectedEvent.sensorHandle = s.sensorHandle; in TEST_P()654 ASSERT_TRUE(getSensors()->injectSensorData(injectedEvent).isOk()); in TEST_P()678 ASSERT_EQ(lastEvent.timestamp, injectedEvent.timestamp); in TEST_P()680 injectedEvent.payload.get<Event::EventPayload::Tag::vec3>().x); in TEST_P()682 injectedEvent.payload.get<Event::EventPayload::Tag::vec3>().y); in TEST_P()684 injectedEvent.payload.get<Event::EventPayload::Tag::vec3>().z); in TEST_P()[all …]