Searched refs:samplingPeriod (Results 1 – 2 of 2) sorted by relevance
895 int HidRawSensor::batch(int64_t samplingPeriod, int64_t batchingPeriod) { in batch() argument901 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()
565 std::chrono::nanoseconds samplingPeriod,955 std::chrono::nanoseconds samplingPeriod, in testStreamingOperation() argument961 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()