Searched refs:samplingPeriodNs (Results 1 – 6 of 6) sorted by relevance
158 if (batchInfo.samplingPeriodNs <= 0) { in activate()164 ::android::elapsedRealtimeNano() + batchInfo.samplingPeriodNs; in activate()243 const int64_t samplingPeriodNs, in batch() argument254 if (samplingPeriodNs < sensor->minDelay) { in batch()260 m_batchInfo[sensorHandle].samplingPeriodNs = samplingPeriodNs; in batch()266 const auto periodNs = b.samplingPeriodNs; in batch()483 const int64_t samplingPeriodNs = batchInfo.samplingPeriodNs; in batchThread() local484 LOG_ALWAYS_FATAL_IF(samplingPeriodNs <= 0); in batchThread()486 evRef.timestamp += samplingPeriodNs; in batchThread()
88 void HWSensorBase::batch(int32_t samplingPeriodNs) { in batch() argument89 samplingPeriodNs = in batch()90 std::clamp(samplingPeriodNs, mSensorInfo.minDelay * 1000, mSensorInfo.maxDelay * 1000); in batch()91 if (mSamplingPeriodNs != samplingPeriodNs) { in batch()92 unsigned int sampling_frequency = ns_to_frequency(samplingPeriodNs); in batch()94 mSamplingPeriodNs = samplingPeriodNs; in batch()
78 virtual void batch(int32_t samplingPeriodNs) = 0;111 void batch(int32_t samplingPeriodNs);
170 Return<Result> SensorsSubHal::batch(int32_t sensorHandle, int64_t samplingPeriodNs, in batch() argument174 sensor->second->batch(samplingPeriodNs); in batch()
61 Return<Result> batch(int32_t sensorHandle, int64_t samplingPeriodNs,
63 int64_t samplingPeriodNs,155 int64_t samplingPeriodNs = 0; member