Searched refs:samplingPeriodNs (Results 1 – 6 of 6) sorted by relevance
141 if (batchInfo.samplingPeriodNs <= 0) { in activate()147 ::android::elapsedRealtimeNano() + batchInfo.samplingPeriodNs; in activate()163 const int64_t samplingPeriodNs, in batch() argument174 if (samplingPeriodNs < sensor->minDelay) { in batch()180 m_batchInfo[sensorHandle].samplingPeriodNs = samplingPeriodNs; in batch()315 const int64_t samplingPeriodNs = batchInfo.samplingPeriodNs; in batchThread() local316 LOG_ALWAYS_FATAL_IF(samplingPeriodNs <= 0); in batchThread()318 evRef.timestamp += samplingPeriodNs; in batchThread()
56 int64_t samplingPeriodNs,132 int64_t samplingPeriodNs = 0; member
75 virtual void batch(int32_t samplingPeriodNs) = 0;108 void batch(int32_t samplingPeriodNs);
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()
59 Return<Result> batch(int32_t sensorHandle, int64_t samplingPeriodNs,
168 Return<Result> SensorsSubHal::batch(int32_t sensorHandle, int64_t samplingPeriodNs, in batch() argument172 sensor->second->batch(samplingPeriodNs); in batch()