Home
last modified time | relevance | path

Searched refs:MAGNETIC_FIELD (Results 1 – 10 of 10) sorted by relevance

/hardware/interfaces/sensors/2.0/vts/functional/
DVtsHalSensorsV2_0TargetTest.cpp57 testStreamingOperation(SensorTypeVersion::MAGNETIC_FIELD, std::chrono::milliseconds(200), in TEST_P()
63 testStreamingOperation(SensorTypeVersion::MAGNETIC_FIELD, std::chrono::milliseconds(20), in TEST_P()
69 testStreamingOperation(SensorTypeVersion::MAGNETIC_FIELD, std::chrono::milliseconds(5), in TEST_P()
87 testSamplingRateHotSwitchOperation(SensorTypeVersion::MAGNETIC_FIELD); in TEST_P()
88 testSamplingRateHotSwitchOperation(SensorTypeVersion::MAGNETIC_FIELD, false /*fastToSlow*/); in TEST_P()
103 testBatchingOperation(SensorTypeVersion::MAGNETIC_FIELD); in TEST_P()
144 testDirectReportOperation(SensorTypeVersion::MAGNETIC_FIELD, SharedMemType::ASHMEM, in TEST_P()
150 testDirectReportOperation(SensorTypeVersion::MAGNETIC_FIELD, SharedMemType::ASHMEM, in TEST_P()
156 testDirectReportOperation(SensorTypeVersion::MAGNETIC_FIELD, SharedMemType::ASHMEM, in TEST_P()
198 testDirectReportOperation(SensorTypeVersion::MAGNETIC_FIELD, SharedMemType::GRALLOC, in TEST_P()
[all …]
/hardware/interfaces/sensors/1.0/vts/functional/
DVtsHalSensorsV1_0TargetTest.cpp247 case SensorType::MAGNETIC_FIELD: { in TEST_P()
305 testStreamingOperation(SensorType::MAGNETIC_FIELD, std::chrono::milliseconds(200), in TEST_P()
311 testStreamingOperation(SensorType::MAGNETIC_FIELD, std::chrono::milliseconds(20), in TEST_P()
317 testStreamingOperation(SensorType::MAGNETIC_FIELD, std::chrono::milliseconds(5), in TEST_P()
335 testSamplingRateHotSwitchOperation(SensorType::MAGNETIC_FIELD); in TEST_P()
336 testSamplingRateHotSwitchOperation(SensorType::MAGNETIC_FIELD, false /*fastToSlow*/); in TEST_P()
351 testBatchingOperation(SensorType::MAGNETIC_FIELD); in TEST_P()
392 testDirectReportOperation(SensorType::MAGNETIC_FIELD, SharedMemType::ASHMEM, RateLevel::NORMAL, in TEST_P()
398 testDirectReportOperation(SensorType::MAGNETIC_FIELD, SharedMemType::ASHMEM, RateLevel::FAST, in TEST_P()
404 testDirectReportOperation(SensorType::MAGNETIC_FIELD, SharedMemType::ASHMEM, in TEST_P()
[all …]
/hardware/google/camera/common/sensor_listener/
Dgoog_sensor_motion.h36 MAGNETIC_FIELD, enumerator
Dgoog_sensor_motion.cc48 case MotionSensorType::MAGNETIC_FIELD: in GetHalSensorType()
49 return SensorType::MAGNETIC_FIELD; in GetHalSensorType()
/hardware/interfaces/sensors/1.0/default/
Dconvert.cpp87 case SensorType::MAGNETIC_FIELD: in convertFromSensorEvent()
220 case SensorType::MAGNETIC_FIELD: in convertToSensorEvent()
/hardware/google/camera/common/sensor_listener/tests/
Dgoog_sensor_motion_test.cc192 ptr = GoogSensorMotion::Create(MotionSensorType::MAGNETIC_FIELD, in TEST()
/hardware/interfaces/sensors/common/vts/utils/include/sensors-vts-utils/
DSensorsHidlTestBase.h77 CHECK_TYPE_STRING_FOR_SENSOR_TYPE(MAGNETIC_FIELD); in assertTypeMatchStringType()
109 case SensorTypeT::MAGNETIC_FIELD: in expectedReportModeForType()
/hardware/interfaces/sensors/common/default/2.X/
DSensor.cpp254 mSensorInfo.type = SensorType::MAGNETIC_FIELD; in MagnetometerSensor()
/hardware/interfaces/sensors/common/default/2.X/multihal/tests/fake_subhal/
DSensor.cpp260 mSensorInfo.type = SensorType::MAGNETIC_FIELD; in MagnetometerSensor()
/hardware/interfaces/sensors/1.0/
Dtypes.hal140 * MAGNETIC_FIELD
149 MAGNETIC_FIELD = 2,
275 * Similar to MAGNETIC_FIELD, but the hard iron calibration is
1183 * SensorType::ACCELEROMETER, SensorType::MAGNETIC_FIELD,