Home
last modified time | relevance | path

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

/hardware/libhardware/modules/sensors/dynamic_sensor/
DHidRawSensor.cpp895 int HidRawSensor::batch(int64_t samplingPeriod, int64_t batchingPeriod) { in batch() argument
901 if (samplingPeriod < 0 || batchingPeriod < 0) { in batch()
905 bool needRefresh = mSamplingPeriod != samplingPeriod || mBatchingPeriod != batchingPeriod; in batch()
914 int64_t periodMs = samplingPeriod / 1000000; //ns -> ms in batch()
932 mSamplingPeriod = samplingPeriod; in batch()
/hardware/interfaces/sensors/1.0/vts/functional/
DVtsHalSensorsV1_0TargetTest.cpp565 std::chrono::nanoseconds samplingPeriod,
955 std::chrono::nanoseconds samplingPeriod, in testStreamingOperation() argument
961 const int64_t samplingPeriodInNs = samplingPeriod.count(); in testStreamingOperation()
964 const size_t minNEvent = duration / samplingPeriod; in testStreamingOperation()
973 if (std::chrono::microseconds(sensor.minDelay) > samplingPeriod) { in testStreamingOperation()