Home
last modified time | relevance | path

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

/frameworks/native/services/sensorservice/hidl/
DDirectReportChannel.h33 using ::android::hardware::sensors::V1_0::RateLevel;
50 Return<void> configure(int32_t sensorHandle, RateLevel rate,
DDirectReportChannel.cpp34 Return<void> DirectReportChannel::configure(int32_t sensorHandle, RateLevel rate, in configure()
/frameworks/base/core/java/android/hardware/
DSensorDirectChannel.java73 public @interface RateLevel {} annotation in SensorDirectChannel
188 public int configure(Sensor sensor, @RateLevel int rateLevel) { in configure()
DSensor.java840 @SensorDirectChannel.RateLevel
/frameworks/native/services/sensorservice/
DSensorsWrapper.h34 using ::android::hardware::sensors::V1_0::RateLevel;
79 RateLevel rate,
143 RateLevel rate, in configDirectReport()
DSensorDevice.cpp879 RateLevel rate; in configureDirectChannel()
882 rate = RateLevel::STOP; in configureDirectChannel()
885 rate = RateLevel::NORMAL; in configureDirectChannel()
888 rate = RateLevel::FAST; in configureDirectChannel()
891 rate = RateLevel::VERY_FAST; in configureDirectChannel()
900 if (rate == RateLevel::STOP) { in configureDirectChannel()
/frameworks/hardware/interfaces/sensorservice/1.0/vts/functional/
DVtsHalSensorManagerV1_0TargetTest.cpp36 using ::android::hardware::sensors::V1_0::RateLevel;
216 ASSERT_TRUE(maxLevel >= convertFromRateLevel(RateLevel::FAST)) in TEST_F()
235 ASSERT_OK(chan->configure(handle, RateLevel::FAST, [&](auto token, auto res) { in TEST_F()
241 ASSERT_OK(chan->configure(handle, RateLevel::STOP, [](auto token, auto res) { in TEST_F()
/frameworks/hardware/interfaces/sensorservice/1.0/
DIDirectReportChannel.hal19 import android.hardware.sensors@1.0::RateLevel;
54 configure(int32_t sensorHandle, RateLevel rate)
DREADME47 chan->configure(sensorHandle, RateLevel::FAST, [&](auto token, auto result) {
55 chan->configure(sensorHandle, RateLevel::STOP, [&](auto token, auto result) {