mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-01-27 18:59:11 +00:00
Sensors with reporting mode "One-shot" and "Special" will not trigger event on "activate", hence the test that expecting the event count after calling activate() will fail. Skipping the event count assertion if the device only has sensors with these reporting mode. Bug: 349268211 Test: run vts -m VtsAidlHalSensorsTargetTest -t Sensors/SensorsAidlTest#CallInitializeTwice/0_android_hardware_sensors_ISensors_default Change-Id: I656a652fc205961b8e6207942ccf16a71a08dc14