Searched refs:reportMode (Results 1 – 3 of 3) sorted by relevance
183 void assertTypeMatchReportMode(SensorType type, int reportMode) { in assertTypeMatchReportMode() argument190 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() argument196 switch (reportMode) { in assertDelayMatchReportMode()213 FAIL() << "Report mode " << static_cast<int>(reportMode) << " not checked"; in assertDelayMatchReportMode()454 int reportMode = extractReportMode(info.flags); in getNonOneShotAndNonSpecialSensors() local455 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 …]
560 SensorFlagBits reportMode) { in assertDelayMatchReportMode() argument561 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() argument590 ASSERT_TRUE(expected == (SensorFlagBits)-1 || expected == reportMode) in assertTypeMatchReportMode()591 << "reportMode=" << static_cast<int>(reportMode) in assertTypeMatchReportMode()
322 SensorFlagBits reportMode = extractReportMode(info.flags); in getNonOneShotAndNonSpecialSensors() local323 if (reportMode != SensorFlagBits::ONE_SHOT_MODE && in getNonOneShotAndNonSpecialSensors()324 reportMode != SensorFlagBits::SPECIAL_REPORTING_MODE) { in getNonOneShotAndNonSpecialSensors()334 SensorFlagBits reportMode = extractReportMode(info.flags); in getNonOneShotAndNonOnChangeAndNonSpecialSensors() local335 if (reportMode != SensorFlagBits::ONE_SHOT_MODE && in getNonOneShotAndNonOnChangeAndNonSpecialSensors()336 reportMode != SensorFlagBits::ON_CHANGE_MODE && in getNonOneShotAndNonOnChangeAndNonSpecialSensors()337 reportMode != SensorFlagBits::SPECIAL_REPORTING_MODE) { in getNonOneShotAndNonOnChangeAndNonSpecialSensors()