/aosp12/hardware/interfaces/sensors/2.0/vts/functional/ |
H A 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() 139 RateLevel::VERY_FAST, mGyroNormChecker); in TEST_P() 163 RateLevel::NORMAL, mAccelNormChecker); in TEST_P() 169 RateLevel::FAST, mAccelNormChecker); in TEST_P() 181 RateLevel::NORMAL, mGyroNormChecker); in TEST_P() 193 RateLevel::VERY_FAST, mGyroNormChecker); in TEST_P() 217 RateLevel rate; in TEST_P() [all …]
|
/aosp12/hardware/interfaces/sensors/1.0/vts/functional/ |
H A D | VtsHalSensorsV1_0TargetTest.cpp | 77 Return<void> configDirectReport(int32_t sensorHandle, int32_t channelHandle, RateLevel rate, in configDirectReport() 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() 405 RateLevel::VERY_FAST, NullChecker<Event>()); in TEST_P() 423 RateLevel::VERY_FAST, mAccelNormChecker); in TEST_P() 428 testDirectReportOperation(SensorType::GYROSCOPE, SharedMemType::GRALLOC, RateLevel::NORMAL, in TEST_P() 434 testDirectReportOperation(SensorType::GYROSCOPE, SharedMemType::GRALLOC, RateLevel::FAST, in TEST_P() [all …]
|
/aosp12/hardware/google/camera/common/sensor_listener/ |
H A 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()
|
H A 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_;
|
/aosp12/hardware/interfaces/sensors/common/vts/2_X/ |
H A D | VtsHalSensorsV2_XTargetTest.h | 245 RateLevel rateLevel); 816 RateLevel rateLevel) { in checkRateLevel() 827 if (rateLevel != RateLevel::STOP) { in checkRateLevel() 893 checkRateLevel(sensor, directChannelHandle, RateLevel::NORMAL); in verifyConfigure() 894 checkRateLevel(sensor, directChannelHandle, RateLevel::FAST); in verifyConfigure() 896 checkRateLevel(sensor, directChannelHandle, RateLevel::STOP); in verifyConfigure() 955 RateLevel* rate) { in getDirectChannelSensor() 974 RateLevel rates[kNumRateLevels] = {RateLevel::NORMAL, RateLevel::FAST, in getDirectChannelSensor() 975 RateLevel::VERY_FAST}; in getDirectChannelSensor() 976 *rate = RateLevel::STOP; in getDirectChannelSensor() [all …]
|
/aosp12/hardware/interfaces/sensors/common/vts/utils/include/sensors-vts-utils/ |
H A D | SensorsHidlTestBase.h | 41 using ::android::hardware::sensors::V1_0::RateLevel; 180 configDirectReport(-1, c, RateLevel::STOP, [](auto, auto) {}); in TearDown() 198 RateLevel rate, 475 void testDirectReportOperation(SensorTypeVersion type, SharedMemType memType, RateLevel rate, in testDirectReportOperation() 539 case RateLevel::NORMAL: in testDirectReportOperation() 542 case RateLevel::FAST: in testDirectReportOperation() 545 case RateLevel::VERY_FAST: in testDirectReportOperation() 548 case RateLevel::STOP: in testDirectReportOperation() 589 configDirectReport(sensor.sensorHandle, channelHandle, RateLevel::STOP, in testDirectReportOperation() 645 static bool isDirectReportRateSupported(SensorInfoType sensor, RateLevel rate) { in isDirectReportRateSupported()
|
/aosp12/hardware/libhardware/modules/sensors/dynamic_sensor/ |
H A D | DynamicSensorsSubHal.h | 37 using RateLevel = ::android::hardware::sensors::V1_0::RateLevel; variable 56 int32_t sensor_handle, int32_t channel_handle, RateLevel rate,
|
/aosp12/hardware/interfaces/sensors/common/default/2.X/multihal/include/ |
H A 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()
|
H A D | HalProxy.h | 60 using RateLevel = ::android::hardware::sensors::V1_0::RateLevel; variable 118 Return<void> configDirectReport(int32_t sensorHandle, int32_t channelHandle, RateLevel rate, 429 Return<void> configDirectReport(int32_t sensorHandle, int32_t channelHandle, RateLevel rate, in configDirectReport()
|
/aosp12/frameworks/native/services/sensorservice/hidl/ |
H A D | DirectReportChannel.h | 33 using ::android::hardware::sensors::V1_0::RateLevel; 50 Return<void> configure(int32_t sensorHandle, RateLevel rate,
|
H A D | DirectReportChannel.cpp | 34 Return<void> DirectReportChannel::configure(int32_t sensorHandle, RateLevel rate, in configure()
|
/aosp12/hardware/interfaces/sensors/common/default/2.X/multihal/tests/fake_subhal/ |
H A 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()
|
H A D | SensorsSubHal.cpp | 80 using ::android::hardware::sensors::V1_0::RateLevel; 156 int32_t /* sensorHandle */, int32_t /* channelHandle */, RateLevel /* rate */, in configDirectReport() argument
|
/aosp12/frameworks/base/core/java/android/hardware/ |
H A D | SensorDirectChannel.java | 73 public @interface RateLevel {} annotation in SensorDirectChannel 188 public int configure(Sensor sensor, @RateLevel int rateLevel) { in configure()
|
/aosp12/frameworks/hardware/interfaces/sensorservice/1.0/vts/functional/ |
H A D | VtsHalSensorManagerV1_0TargetTest.cpp | 44 using ::android::hardware::sensors::V1_0::RateLevel; 245 return maxLevel >= convertFromRateLevel(RateLevel::FAST); in TEST_P() 267 ASSERT_OK(chan->configure(handle, RateLevel::FAST, [&](auto token, auto res) { in TEST_P() 273 ASSERT_OK(chan->configure(handle, RateLevel::STOP, [](auto token, auto res) { in TEST_P()
|
/aosp12/hardware/interfaces/sensors/1.0/default/ |
H A 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()
|
H A D | Sensors.cpp | 303 int32_t sensorHandle, int32_t channelHandle, RateLevel rate, in configDirectReport() 323 if (rate == RateLevel::STOP) { in configDirectReport()
|
H A D | Sensors.h | 62 int32_t sensorHandle, int32_t channelHandle, RateLevel rate,
|
/aosp12/hardware/interfaces/sensors/common/default/2.X/ |
H A D | Sensors.h | 45 using RateLevel = ::android::hardware::sensors::V1_0::RateLevel; member 194 RateLevel /* rate */, in configDirectReport()
|
/aosp12/hardware/interfaces/sensors/common/utils/ |
H A 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()
|
/aosp12/frameworks/hardware/interfaces/sensorservice/1.0/ |
H A D | IDirectReportChannel.hal | 19 import android.hardware.sensors@1.0::RateLevel; 54 configure(int32_t sensorHandle, RateLevel rate)
|
H A D | README | 47 chan->configure(sensorHandle, RateLevel::FAST, [&](auto token, auto result) { 55 chan->configure(sensorHandle, RateLevel::STOP, [&](auto token, auto result) {
|
/aosp12/hardware/interfaces/sensors/1.0/default/include/sensors/ |
H A D | convert.h | 37 int convertFromRateLevel(RateLevel rate);
|
/aosp12/frameworks/native/services/sensorservice/ |
H A D | SensorDevice.cpp | 1073 RateLevel rate; in configureDirectChannel() 1076 rate = RateLevel::STOP; in configureDirectChannel() 1079 rate = RateLevel::NORMAL; in configureDirectChannel() 1082 rate = RateLevel::FAST; in configureDirectChannel() 1085 rate = RateLevel::VERY_FAST; in configureDirectChannel() 1094 if (rate == RateLevel::STOP) { in configureDirectChannel()
|
/aosp12/hardware/interfaces/sensors/2.0/ |
H A D | ISensors.hal | 21 import @1.0::RateLevel; 261 * @param rate rate level, see RateLevel enum. 272 RateLevel rate
|