Home
last modified time | relevance | path

Searched refs:RateLevel (Results 1 – 17 of 17) sorted by relevance

/hardware/interfaces/sensors/1.0/vts/functional/
DVtsHalSensorsV1_0TargetTest.cpp76 Return<void> configDirectReport(int32_t sensorHandle, int32_t channelHandle, RateLevel rate, in configDirectReport()
346 testDirectReportOperation(SensorType::ACCELEROMETER, SharedMemType::ASHMEM, RateLevel::NORMAL, in TEST_P()
352 testDirectReportOperation(SensorType::ACCELEROMETER, SharedMemType::ASHMEM, RateLevel::FAST, in TEST_P()
359 RateLevel::VERY_FAST, sAccelNormChecker); in TEST_P()
364 testDirectReportOperation(SensorType::GYROSCOPE, SharedMemType::ASHMEM, RateLevel::NORMAL, in TEST_P()
370 testDirectReportOperation(SensorType::GYROSCOPE, SharedMemType::ASHMEM, RateLevel::FAST, in TEST_P()
376 testDirectReportOperation(SensorType::GYROSCOPE, SharedMemType::ASHMEM, RateLevel::VERY_FAST, in TEST_P()
382 testDirectReportOperation(SensorType::MAGNETIC_FIELD, SharedMemType::ASHMEM, RateLevel::NORMAL, in TEST_P()
388 testDirectReportOperation(SensorType::MAGNETIC_FIELD, SharedMemType::ASHMEM, RateLevel::FAST, in TEST_P()
395 RateLevel::VERY_FAST, NullChecker()); in TEST_P()
[all …]
/hardware/interfaces/sensors/2.0/vts/functional/
DVtsHalSensorsV2_0TargetTest.cpp163 Return<void> configDirectReport(int32_t sensorHandle, int32_t channelHandle, RateLevel rate, in configDirectReport()
187 bool getDirectChannelSensor(SensorInfo* sensor, SharedMemType* memType, RateLevel* rate);
195 void checkRateLevel(const SensorInfo& sensor, int32_t directChannelHandle, RateLevel rateLevel);
515 testDirectReportOperation(SensorType::ACCELEROMETER, SharedMemType::ASHMEM, RateLevel::NORMAL, in TEST_P()
521 testDirectReportOperation(SensorType::ACCELEROMETER, SharedMemType::ASHMEM, RateLevel::FAST, in TEST_P()
528 RateLevel::VERY_FAST, sAccelNormChecker); in TEST_P()
533 testDirectReportOperation(SensorType::GYROSCOPE, SharedMemType::ASHMEM, RateLevel::NORMAL, in TEST_P()
539 testDirectReportOperation(SensorType::GYROSCOPE, SharedMemType::ASHMEM, RateLevel::FAST, in TEST_P()
545 testDirectReportOperation(SensorType::GYROSCOPE, SharedMemType::ASHMEM, RateLevel::VERY_FAST, in TEST_P()
551 testDirectReportOperation(SensorType::MAGNETIC_FIELD, SharedMemType::ASHMEM, RateLevel::NORMAL, in TEST_P()
[all …]
/hardware/interfaces/sensors/common/vts/utils/include/sensors-vts-utils/
DSensorsHidlTestBase.h39 using ::android::hardware::sensors::V1_0::RateLevel;
62 configDirectReport(-1, c, RateLevel::STOP, [](auto, auto) {}); in TearDown()
83 RateLevel rate,
111 void testDirectReportOperation(SensorType type, SharedMemType memType, RateLevel rate,
119 static bool isDirectReportRateSupported(SensorInfo sensor, RateLevel rate);
/hardware/interfaces/sensors/2.0/multihal/tests/fake_subhal/
DSensorsSubHal.h42 using RateLevel = ::android::hardware::sensors::V1_0::RateLevel; variable
69 Return<void> configDirectReport(int32_t sensorHandle, int32_t channelHandle, RateLevel rate,
DSensorsSubHal.cpp47 using ::android::hardware::sensors::V1_0::RateLevel;
122 int32_t /* channelHandle */, RateLevel /* rate */, in configDirectReport() argument
/hardware/interfaces/sensors/2.0/default/
DSensors.h52 using RateLevel = ::android::hardware::sensors::V1_0::RateLevel; member
83 Return<void> configDirectReport(int32_t sensorHandle, int32_t channelHandle, RateLevel rate,
DSensors.cpp30 using ::android::hardware::sensors::V1_0::RateLevel;
178 RateLevel /* rate */, configDirectReport_cb _hidl_cb) { in configDirectReport() argument
/hardware/interfaces/sensors/common/vts/utils/
DSensorsHidlTestBase.cpp223 bool SensorsHidlTestBase::isDirectReportRateSupported(SensorInfo sensor, RateLevel rate) { in isDirectReportRateSupported()
241 RateLevel rate, in testDirectReportOperation()
304 case RateLevel::NORMAL: in testDirectReportOperation()
307 case RateLevel::FAST: in testDirectReportOperation()
310 case RateLevel::VERY_FAST: in testDirectReportOperation()
313 case RateLevel::STOP: in testDirectReportOperation()
354 configDirectReport(sensor.sensorHandle, channelHandle, RateLevel::STOP, in testDirectReportOperation()
/hardware/interfaces/sensors/1.0/default/include/sensors/
Dconvert.h37 int convertFromRateLevel(RateLevel rate);
/hardware/interfaces/sensors/2.0/multihal/include/
DHalProxy.h56 using RateLevel = ::android::hardware::sensors::V1_0::RateLevel; variable
91 Return<void> configDirectReport(int32_t sensorHandle, int32_t channelHandle, RateLevel rate,
/hardware/interfaces/sensors/1.0/default/
Dconvert.cpp375 int convertFromRateLevel(RateLevel rate) { in convertFromRateLevel()
377 case RateLevel::STOP: in convertFromRateLevel()
379 case RateLevel::NORMAL: in convertFromRateLevel()
381 case RateLevel::FAST: in convertFromRateLevel()
383 case RateLevel::VERY_FAST: in convertFromRateLevel()
DSensors.h62 int32_t sensorHandle, int32_t channelHandle, RateLevel rate,
DSensors.cpp303 int32_t sensorHandle, int32_t channelHandle, RateLevel rate, in configDirectReport()
323 if (rate == RateLevel::STOP) { in configDirectReport()
/hardware/interfaces/sensors/1.0/
DISensors.hal183 * @param rate rate level, see RateLevel enum.
194 int32_t sensorHandle, int32_t channelHandle, RateLevel rate)
Dtypes.hal791 * See RateLevel.
1269 enum RateLevel : int32_t {
/hardware/interfaces/sensors/2.0/
DISensors.hal21 import @1.0::RateLevel;
261 * @param rate rate level, see RateLevel enum.
272 RateLevel rate
/hardware/interfaces/sensors/2.0/multihal/
DHalProxy.cpp262 RateLevel rate, configDirectReport_cb _hidl_cb) { in configDirectReport()