/hardware/interfaces/sensors/1.0/vts/functional/ |
D | VtsHalSensorsV1_0TargetTest.cpp | 76 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/ |
D | VtsHalSensorsV2_0TargetTest.cpp | 163 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/ |
D | SensorsHidlTestBase.h | 39 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/ |
D | SensorsSubHal.h | 42 using RateLevel = ::android::hardware::sensors::V1_0::RateLevel; variable 69 Return<void> configDirectReport(int32_t sensorHandle, int32_t channelHandle, RateLevel rate,
|
D | SensorsSubHal.cpp | 47 using ::android::hardware::sensors::V1_0::RateLevel; 122 int32_t /* channelHandle */, RateLevel /* rate */, in configDirectReport() argument
|
/hardware/interfaces/sensors/2.0/default/ |
D | Sensors.h | 52 using RateLevel = ::android::hardware::sensors::V1_0::RateLevel; member 83 Return<void> configDirectReport(int32_t sensorHandle, int32_t channelHandle, RateLevel rate,
|
D | Sensors.cpp | 30 using ::android::hardware::sensors::V1_0::RateLevel; 178 RateLevel /* rate */, configDirectReport_cb _hidl_cb) { in configDirectReport() argument
|
/hardware/interfaces/sensors/common/vts/utils/ |
D | SensorsHidlTestBase.cpp | 223 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/ |
D | convert.h | 37 int convertFromRateLevel(RateLevel rate);
|
/hardware/interfaces/sensors/2.0/multihal/include/ |
D | HalProxy.h | 56 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/ |
D | convert.cpp | 375 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()
|
D | Sensors.h | 62 int32_t sensorHandle, int32_t channelHandle, RateLevel rate,
|
D | Sensors.cpp | 303 int32_t sensorHandle, int32_t channelHandle, RateLevel rate, in configDirectReport() 323 if (rate == RateLevel::STOP) { in configDirectReport()
|
/hardware/interfaces/sensors/1.0/ |
D | ISensors.hal | 183 * @param rate rate level, see RateLevel enum. 194 int32_t sensorHandle, int32_t channelHandle, RateLevel rate)
|
D | types.hal | 791 * See RateLevel. 1269 enum RateLevel : int32_t {
|
/hardware/interfaces/sensors/2.0/ |
D | ISensors.hal | 21 import @1.0::RateLevel; 261 * @param rate rate level, see RateLevel enum. 272 RateLevel rate
|
/hardware/interfaces/sensors/2.0/multihal/ |
D | HalProxy.cpp | 262 RateLevel rate, configDirectReport_cb _hidl_cb) { in configDirectReport()
|