Home
last modified time | relevance | path

Searched refs:samplingPeriod (Results 1 – 14 of 14) sorted by relevance

/frameworks/native/services/inputflinger/reader/mapper/
DSensorInputMapper.h44 bool enableSensor(InputDeviceSensorType sensorType, std::chrono::microseconds samplingPeriod,
95 std::chrono::nanoseconds samplingPeriod; member
105 this->samplingPeriod = std::chrono::nanoseconds(0); in resetValue()
DSensorInputMapper.cpp94 dump += StringPrintf(INDENT5 "samplingPeriod: %lld\n", sensor.samplingPeriod.count()); in dump()
332 std::chrono::microseconds samplingPeriod, in enableSensor() argument
336 ftl::enum_string(sensorType).c_str(), samplingPeriod.count(), in enableSensor()
351 it->second.samplingPeriod = in enableSensor()
352 std::chrono::duration_cast<std::chrono::nanoseconds>(samplingPeriod); in enableSensor()
398 timestamp - sensor.lastSampleTimeNs.value() < sensor.samplingPeriod.count()) { in sync()
DInputMapper.cpp98 std::chrono::microseconds samplingPeriod, in enableSensor() argument
DInputMapper.h98 std::chrono::microseconds samplingPeriod,
/frameworks/av/media/libheadtracking/
DSensorPoseProvider.cpp129 bool startSensor(int32_t sensor, std::chrono::microseconds samplingPeriod) override { in startSensor() argument
142 .samplingPeriod = static_cast<int32_t>(samplingPeriod.count())}); in startSensor()
146 if (mQueue->enableSensor(sensor, samplingPeriod.count(), 0, 0)) { in startSensor()
185 sensor.second.samplingPeriod, media::nsToFloatMs(sensor.second.maxPeriod), in toString()
215 int32_t samplingPeriod = 0; member
/frameworks/base/core/java/android/companion/virtual/sensor/
DVirtualSensorCallback.java54 @NonNull Duration samplingPeriod, @NonNull Duration batchReportLatency); in onConfigurationChanged() argument
/frameworks/av/media/libheadtracking/include/media/
DSensorPoseProvider.h90 virtual bool startSensor(int32_t sensor, std::chrono::microseconds samplingPeriod) = 0;
/frameworks/native/services/inputflinger/tests/fuzzers/
DInputReaderFuzzer.cpp125 std::chrono::microseconds samplingPeriod, in enableSensor() argument
127 return reader->enableSensor(deviceId, sensorType, samplingPeriod, maxBatchReportLatency); in enableSensor()
/frameworks/native/services/inputflinger/reader/
DInputDevice.cpp636 std::chrono::microseconds samplingPeriod, in enableSensor() argument
640 [&success, sensorType, samplingPeriod, maxBatchReportLatency](InputMapper& mapper) { in enableSensor()
641 success &= mapper.enableSensor(sensorType, samplingPeriod, maxBatchReportLatency); in enableSensor()
DInputReader.cpp718 std::chrono::microseconds samplingPeriod, in enableSensor() argument
724 return device->enableSensor(sensorType, samplingPeriod, maxBatchReportLatency); in enableSensor()
/frameworks/native/services/inputflinger/include/
DInputReaderBase.h371 std::chrono::microseconds samplingPeriod,
/frameworks/base/core/java/android/companion/virtual/
DVirtualDeviceParams.java722 final Duration samplingPeriod = in onConfigurationChanged() local
727 sensor, enabled, samplingPeriod, batchReportingLatency)); in onConfigurationChanged()
/frameworks/native/services/inputflinger/reader/include/
DInputReader.h90 std::chrono::microseconds samplingPeriod,
DInputDevice.h112 bool enableSensor(InputDeviceSensorType sensorType, std::chrono::microseconds samplingPeriod,