Home
last modified time | relevance | path

Searched refs:SensorInfoType (Results 1 – 3 of 3) sorted by relevance

/hardware/interfaces/sensors/common/vts/2_X/
DVtsHalSensorsV2_XTargetTest.h63 using SensorInfoType = ::android::hardware::sensors::V2_1::SensorInfo; variable
64 using SensorsHidlTestBaseV2_X = SensorsHidlTestBase<SensorTypeVersion, EventType, SensorInfoType>;
93 void waitForFlushEvents(const std::vector<SensorInfoType>& sensorsToWaitFor, in waitForFlushEvents()
105 void waitForEvents(const std::vector<SensorInfoType>& sensorsToWaitFor, milliseconds timeout) { in waitForEvents()
111 bool flushesReceived(const std::vector<SensorInfoType>& sensorsToWaitFor, in flushesReceived()
113 for (const SensorInfoType& sensor : sensorsToWaitFor) { in flushesReceived()
121 bool eventsReceived(const std::vector<SensorInfoType>& sensorsToWaitFor) { in eventsReceived()
122 for (const SensorInfoType& sensor : sensorsToWaitFor) { in eventsReceived()
181 SensorInfoType defaultSensorByType(SensorTypeVersion type) override;
182 std::vector<SensorInfoType> getSensorsList();
[all …]
/hardware/interfaces/sensors/2.0/vts/functional/
DVtsHalSensorsV2_0TargetTest.cpp215 SensorInfoType sensor; in TEST_P()
232 SensorInfoType sensor; in TEST_P()
285 SensorInfoType sensor; in TEST_P()
286 std::vector<SensorInfoType> sensors = getNonOneShotSensors(); in TEST_P()
295 runSingleFlushTest(std::vector<SensorInfoType>{sensor}, false /* activateSensor */, in TEST_P()
/hardware/interfaces/sensors/common/vts/utils/include/sensors-vts-utils/
DSensorsHidlTestBase.h157 template <class SensorTypeVersion, class EventType, class SensorInfoType>
187 virtual SensorInfoType defaultSensorByType(SensorTypeVersion type) = 0;
255 SensorInfoType sensor = defaultSensorByType(type); in testStreamingOperation()
313 SensorInfoType sensor = defaultSensorByType(type);
411 SensorInfoType sensor = defaultSensorByType(type); in testBatchingOperation()
489 SensorInfoType sensor = defaultSensorByType(type); in testDirectReportOperation()
645 static bool isDirectReportRateSupported(SensorInfoType sensor, RateLevel rate) { in isDirectReportRateSupported()
652 static bool isDirectChannelTypeSupported(SensorInfoType sensor, SharedMemType type) { in isDirectChannelTypeSupported()