Home
last modified time | relevance | path

Searched refs:extractReportMode (Results 1 – 4 of 4) sorted by relevance

/hardware/interfaces/sensors/aidl/vts/
DVtsAidlHalSensorsTargetTest.cpp386 inline static int32_t extractReportMode(int32_t flag) { in extractReportMode() function in SensorsAidlTest
444 if (extractReportMode(info.flags) != SensorInfo::SENSOR_FLAG_BITS_ONE_SHOT_MODE) { in getNonOneShotSensors()
454 int reportMode = extractReportMode(info.flags); in getNonOneShotAndNonSpecialSensors()
466 int reportMode = extractReportMode(info.flags); in getNonOneShotAndNonOnChangeAndNonSpecialSensors()
479 if (extractReportMode(info.flags) == SensorInfo::SENSOR_FLAG_BITS_ONE_SHOT_MODE) { in getOneShotSensors()
593 assertTypeMatchReportMode(info.type, extractReportMode(info.flags))); in TEST_P()
599 extractReportMode(info.flags))); in TEST_P()
822 extractReportMode(sensor.flags) == SensorInfo::SENSOR_FLAG_BITS_ONE_SHOT_MODE in TEST_P()
/hardware/interfaces/sensors/common/vts/2_X/
DVtsHalSensorsV2_XTargetTest.h312 if (extractReportMode(info.flags) != SensorFlagBits::ONE_SHOT_MODE) { in getNonOneShotSensors()
322 SensorFlagBits reportMode = extractReportMode(info.flags); in getNonOneShotAndNonSpecialSensors()
334 SensorFlagBits reportMode = extractReportMode(info.flags); in getNonOneShotAndNonOnChangeAndNonSpecialSensors()
347 if (extractReportMode(info.flags) == SensorFlagBits::ONE_SHOT_MODE) { in getOneShotSensors()
419 EXPECT_NO_FATAL_FAILURE(assertTypeMatchReportMode(s.type, extractReportMode(s.flags))); in TEST_P()
425 assertDelayMatchReportMode(s.minDelay, s.maxDelay, extractReportMode(s.flags))); in TEST_P()
709 int64_t samplingPeriodNs = extractReportMode(sensor.flags) == SensorFlagBits::ONE_SHOT_MODE in TEST_P()
/hardware/interfaces/sensors/1.0/vts/functional/
DVtsHalSensorsV1_0TargetTest.cpp193 EXPECT_NO_FATAL_FAILURE(assertTypeMatchReportMode(s.type, extractReportMode(s.flags))); in TEST_P()
199 assertDelayMatchReportMode(s.minDelay, s.maxDelay, extractReportMode(s.flags))); in TEST_P()
/hardware/interfaces/sensors/common/vts/utils/include/sensors-vts-utils/
DSensorsHidlTestBase.h544 inline static SensorFlagBits extractReportMode(uint64_t flag) { in extractReportMode() function