/hardware/interfaces/sensors/2.0/vts/functional/ |
D | VtsHalSensorsV2_0TargetTest.cpp | 109 RateLevel::NORMAL, mAccelNormChecker); in TEST_P() 115 RateLevel::FAST, mAccelNormChecker); in TEST_P() 121 RateLevel::VERY_FAST, mAccelNormChecker); in TEST_P() 127 RateLevel::NORMAL, mGyroNormChecker); in TEST_P() 132 testDirectReportOperation(SensorTypeVersion::GYROSCOPE, SharedMemType::ASHMEM, RateLevel::FAST, in TEST_P() 139 RateLevel::VERY_FAST, mGyroNormChecker); in TEST_P() 145 RateLevel::NORMAL, NullChecker<EventType>()); in TEST_P() 151 RateLevel::FAST, NullChecker<EventType>()); in TEST_P() 157 RateLevel::VERY_FAST, NullChecker<EventType>()); in TEST_P() 163 RateLevel::NORMAL, mAccelNormChecker); in TEST_P() [all …]
|
/hardware/interfaces/sensors/1.0/vts/functional/ |
D | VtsHalSensorsV1_0TargetTest.cpp | 77 Return<void> configDirectReport(int32_t sensorHandle, int32_t channelHandle, RateLevel rate, in configDirectReport() 356 testDirectReportOperation(SensorType::ACCELEROMETER, SharedMemType::ASHMEM, RateLevel::NORMAL, in TEST_P() 362 testDirectReportOperation(SensorType::ACCELEROMETER, SharedMemType::ASHMEM, RateLevel::FAST, in TEST_P() 369 RateLevel::VERY_FAST, mAccelNormChecker); in TEST_P() 374 testDirectReportOperation(SensorType::GYROSCOPE, SharedMemType::ASHMEM, RateLevel::NORMAL, in TEST_P() 380 testDirectReportOperation(SensorType::GYROSCOPE, SharedMemType::ASHMEM, RateLevel::FAST, in TEST_P() 386 testDirectReportOperation(SensorType::GYROSCOPE, SharedMemType::ASHMEM, RateLevel::VERY_FAST, 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() 405 RateLevel::VERY_FAST, NullChecker<Event>()); in TEST_P() [all …]
|
/hardware/interfaces/sensors/aidl/default/multihal/ |
D | HalProxyAidl.cpp | 61 static ::android::hardware::sensors::V1_0::RateLevel convertRateLevel( in convertRateLevel() 62 ISensors::RateLevel rateLevel) { in convertRateLevel() 64 case ISensors::RateLevel::STOP: in convertRateLevel() 65 return ::android::hardware::sensors::V1_0::RateLevel::STOP; in convertRateLevel() 66 case ISensors::RateLevel::NORMAL: in convertRateLevel() 67 return ::android::hardware::sensors::V1_0::RateLevel::NORMAL; in convertRateLevel() 68 case ISensors::RateLevel::FAST: in convertRateLevel() 69 return ::android::hardware::sensors::V1_0::RateLevel::FAST; in convertRateLevel() 70 case ISensors::RateLevel::VERY_FAST: in convertRateLevel() 71 return ::android::hardware::sensors::V1_0::RateLevel::VERY_FAST; in convertRateLevel() [all …]
|
/hardware/google/camera/common/sensor_listener/ |
D | goog_gyro_direct.cc | 36 using ::android::hardware::sensors::V1_0::RateLevel; 41 GoogGyroDirect::GoogGyroDirect(RateLevel rate_level, in GoogGyroDirect() 71 RateLevel rate_level; in Create() 73 rate_level = RateLevel::NORMAL; in Create() 75 rate_level = RateLevel::FAST; in Create() 77 rate_level = RateLevel::VERY_FAST; in Create() 98 gyro_direct_channel_->configure(sensor_info_.sensorHandle, RateLevel::STOP, in DisableDirectChannel()
|
D | goog_gyro_direct.h | 120 GoogGyroDirect(::android::hardware::sensors::V1_0::RateLevel rate_level, 131 ::android::hardware::sensors::V1_0::RateLevel gyro_direct_rate_level_;
|
/hardware/libhardware/modules/sensors/dynamic_sensor/ |
D | DynamicSensorsSubHal.h | 37 using RateLevel = ::android::hardware::sensors::V1_0::RateLevel; variable 56 int32_t sensor_handle, int32_t channel_handle, RateLevel rate,
|
/hardware/interfaces/sensors/common/vts/2_X/ |
D | VtsHalSensorsV2_XTargetTest.h | 211 Return<void> configDirectReport(int32_t sensorHandle, int32_t channelHandle, RateLevel rate, in configDirectReport() 234 bool getDirectChannelSensor(SensorInfoType* sensor, SharedMemType* memType, RateLevel* rate); 244 RateLevel rateLevel); 840 RateLevel rateLevel) { in checkRateLevel() 851 if (rateLevel != RateLevel::STOP) { in checkRateLevel() 917 checkRateLevel(sensor, directChannelHandle, RateLevel::NORMAL); in verifyConfigure() 918 checkRateLevel(sensor, directChannelHandle, RateLevel::FAST); in verifyConfigure() 919 checkRateLevel(sensor, directChannelHandle, RateLevel::VERY_FAST); in verifyConfigure() 920 checkRateLevel(sensor, directChannelHandle, RateLevel::STOP); in verifyConfigure() 923 configDirectReport(-1 /* sensorHandle */, directChannelHandle, RateLevel::NORMAL, in verifyConfigure() [all …]
|
/hardware/interfaces/sensors/common/vts/utils/include/sensors-vts-utils/ |
D | SensorsHidlTestBase.h | 41 using ::android::hardware::sensors::V1_0::RateLevel; 180 configDirectReport(-1, c, RateLevel::STOP, [](auto, auto) {}); in TearDown() 198 RateLevel rate, 425 void testDirectReportOperation(SensorTypeVersion type, SharedMemType memType, RateLevel rate, in testDirectReportOperation() 489 case RateLevel::NORMAL: in testDirectReportOperation() 492 case RateLevel::FAST: in testDirectReportOperation() 495 case RateLevel::VERY_FAST: in testDirectReportOperation() 498 case RateLevel::STOP: in testDirectReportOperation() 539 configDirectReport(sensor.sensorHandle, channelHandle, RateLevel::STOP, in testDirectReportOperation() 595 static bool isDirectReportRateSupported(SensorInfoType sensor, RateLevel rate) { in isDirectReportRateSupported()
|
/hardware/interfaces/sensors/aidl/android/hardware/sensors/ |
D | ISensors.aidl | 80 int configDirectReport(in int sensorHandle, in int channelHandle, in RateLevel rate); in configDirectReport() 279 enum RateLevel { enum
|
/hardware/interfaces/sensors/common/default/2.X/multihal/include/ |
D | SubHalWrapper.h | 51 using RateLevel = ::android::hardware::sensors::V1_0::RateLevel; variable 85 RateLevel rate, 134 Return<void> configDirectReport(int32_t sensorHandle, int32_t channelHandle, RateLevel rate, in configDirectReport()
|
D | HalProxy.h | 61 using RateLevel = ::android::hardware::sensors::V1_0::RateLevel; variable 118 Return<void> configDirectReport(int32_t sensorHandle, int32_t channelHandle, RateLevel rate, 431 Return<void> configDirectReport(int32_t sensorHandle, int32_t channelHandle, RateLevel rate, in configDirectReport()
|
/hardware/interfaces/sensors/aidl/aidl_api/android.hardware.sensors/current/android/hardware/sensors/ |
D | ISensors.aidl | 39 …rt(in int sensorHandle, in int channelHandle, in android.hardware.sensors.ISensors.RateLevel rate); in configDirectReport() 64 enum RateLevel { enum
|
/hardware/interfaces/sensors/aidl/aidl_api/android.hardware.sensors/2/android/hardware/sensors/ |
D | ISensors.aidl | 39 …rt(in int sensorHandle, in int channelHandle, in android.hardware.sensors.ISensors.RateLevel rate); in configDirectReport() 64 enum RateLevel { enum
|
/hardware/interfaces/sensors/aidl/aidl_api/android.hardware.sensors/1/android/hardware/sensors/ |
D | ISensors.aidl | 39 …rt(in int sensorHandle, in int channelHandle, in android.hardware.sensors.ISensors.RateLevel rate); in configDirectReport() 62 enum RateLevel { enum
|
/hardware/interfaces/sensors/common/default/2.X/multihal/tests/fake_subhal/ |
D | SensorsSubHal.h | 44 using RateLevel = ::android::hardware::sensors::V1_0::RateLevel; variable 71 Return<void> configDirectReport(int32_t sensorHandle, int32_t channelHandle, RateLevel rate, 150 Return<void> configDirectReport(int32_t sensorHandle, int32_t channelHandle, RateLevel rate, in configDirectReport()
|
D | SensorsSubHal.cpp | 80 using ::android::hardware::sensors::V1_0::RateLevel; 156 int32_t /* sensorHandle */, int32_t /* channelHandle */, RateLevel /* rate */, in configDirectReport() argument
|
/hardware/interfaces/sensors/1.0/default/include/sensors/ |
D | convert.h | 39 int convertFromRateLevel(RateLevel rate);
|
/hardware/interfaces/sensors/aidl/vts/ |
D | VtsAidlHalSensorsTargetTest.cpp | 122 bool isDirectReportRateSupported(SensorInfo sensor, ISensors::RateLevel rate) { in isDirectReportRateSupported() 339 ISensors::RateLevel rateLevel, int32_t* reportToken); 376 ISensors::RateLevel rate, int32_t* reportToken) { in configDirectReport() 953 ISensors::RateLevel rateLevel, int32_t* reportToken) { in checkRateLevel() 964 if (rateLevel != ISensors::RateLevel::STOP) { in checkRateLevel() 1061 checkRateLevel(sensor, directChannelHandle, ISensors::RateLevel::NORMAL, &reportToken); in verifyConfigure() 1062 checkRateLevel(sensor, directChannelHandle, ISensors::RateLevel::FAST, &reportToken); in verifyConfigure() 1063 checkRateLevel(sensor, directChannelHandle, ISensors::RateLevel::VERY_FAST, &reportToken); in verifyConfigure() 1064 checkRateLevel(sensor, directChannelHandle, ISensors::RateLevel::STOP, &reportToken); in verifyConfigure() 1068 ISensors::RateLevel::NORMAL, &reportToken); in verifyConfigure() [all …]
|
/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/common/default/2.X/ |
D | Sensors.h | 45 using RateLevel = ::android::hardware::sensors::V1_0::RateLevel; member 194 RateLevel /* rate */, in configDirectReport()
|
/hardware/interfaces/sensors/common/utils/ |
D | ISensorsWrapper.h | 46 using ::android::hardware::sensors::V1_0::RateLevel; 100 RateLevel rate, 163 Return<void> configDirectReport(int32_t sensorHandle, int32_t channelHandle, RateLevel rate, in configDirectReport()
|
/hardware/interfaces/sensors/aidl/default/multihal/include/ |
D | HalProxyAidl.h | 35 ::aidl::android::hardware::sensors::ISensors::RateLevel in_rate,
|
/hardware/interfaces/sensors/aidl/default/ |
D | Sensors.cpp | 57 ISensors::RateLevel /* in_rate */, in configDirectReport() argument
|