Searched refs:samplingPeriod (Results 1 – 3 of 3) sorted by relevance
360 std::chrono::nanoseconds samplingPeriod, in testStreamingOperation() argument366 const int64_t samplingPeriodInNs = samplingPeriod.count(); in testStreamingOperation()369 const size_t minNEvent = duration / samplingPeriod; in testStreamingOperation()378 if (std::chrono::microseconds(sensor.minDelay) > samplingPeriod) { in testStreamingOperation()
896 int HidRawSensor::batch(int64_t samplingPeriod, int64_t batchingPeriod) { in batch() argument902 if (samplingPeriod < 0 || batchingPeriod < 0) { in batch()906 bool needRefresh = mSamplingPeriod != samplingPeriod || mBatchingPeriod != batchingPeriod; in batch()915 int64_t periodMs = samplingPeriod / 1000000; //ns -> ms in batch()935 mSamplingPeriod = samplingPeriod; in batch()
107 void testStreamingOperation(SensorType type, std::chrono::nanoseconds samplingPeriod,