Home
last modified time | relevance | path

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

/hardware/interfaces/sensors/aidl/vts/
DVtsAidlHalSensorsTargetTest.cpp183 void assertTypeMatchReportMode(SensorType type, int reportMode) { in assertTypeMatchReportMode() argument
190 ASSERT_TRUE(expected == INT32_MAX || expected == reportMode) in assertTypeMatchReportMode()
191 << "reportMode=" << static_cast<int>(reportMode) in assertTypeMatchReportMode()
195 void assertDelayMatchReportMode(int32_t minDelayUs, int32_t maxDelayUs, int reportMode) { in assertDelayMatchReportMode() argument
196 switch (reportMode) { in assertDelayMatchReportMode()
213 FAIL() << "Report mode " << static_cast<int>(reportMode) << " not checked"; in assertDelayMatchReportMode()
454 int reportMode = extractReportMode(info.flags); in getNonOneShotAndNonSpecialSensors() local
455 if (reportMode != SensorInfo::SENSOR_FLAG_BITS_ONE_SHOT_MODE && in getNonOneShotAndNonSpecialSensors()
456 reportMode != SensorInfo::SENSOR_FLAG_BITS_SPECIAL_REPORTING_MODE) { in getNonOneShotAndNonSpecialSensors()
466 int reportMode = extractReportMode(info.flags); in getNonOneShotAndNonOnChangeAndNonSpecialSensors() local
[all …]
/hardware/interfaces/sensors/common/vts/utils/include/sensors-vts-utils/
DSensorsHidlTestBase.h560 SensorFlagBits reportMode) { in assertDelayMatchReportMode() argument
561 switch (reportMode) { in assertDelayMatchReportMode()
578 FAIL() << "Report mode " << static_cast<int>(reportMode) << " not checked"; in assertDelayMatchReportMode()
583 static void assertTypeMatchReportMode(SensorTypeVersion type, SensorFlagBits reportMode) { in assertTypeMatchReportMode() argument
590 ASSERT_TRUE(expected == (SensorFlagBits)-1 || expected == reportMode) in assertTypeMatchReportMode()
591 << "reportMode=" << static_cast<int>(reportMode) in assertTypeMatchReportMode()
/hardware/interfaces/sensors/common/vts/2_X/
DVtsHalSensorsV2_XTargetTest.h322 SensorFlagBits reportMode = extractReportMode(info.flags); in getNonOneShotAndNonSpecialSensors() local
323 if (reportMode != SensorFlagBits::ONE_SHOT_MODE && in getNonOneShotAndNonSpecialSensors()
324 reportMode != SensorFlagBits::SPECIAL_REPORTING_MODE) { in getNonOneShotAndNonSpecialSensors()
334 SensorFlagBits reportMode = extractReportMode(info.flags); in getNonOneShotAndNonOnChangeAndNonSpecialSensors() local
335 if (reportMode != SensorFlagBits::ONE_SHOT_MODE && in getNonOneShotAndNonOnChangeAndNonSpecialSensors()
336 reportMode != SensorFlagBits::ON_CHANGE_MODE && in getNonOneShotAndNonOnChangeAndNonSpecialSensors()
337 reportMode != SensorFlagBits::SPECIAL_REPORTING_MODE) { in getNonOneShotAndNonOnChangeAndNonSpecialSensors()