Searched refs:collectionSize (Results 1 – 1 of 1) sorted by relevance
118 int collectionSize = collection.size(); in getSamplingPeriodNs() local119 if (collectionSize < 2) { in getSamplingPeriodNs()123 TestSensorEvent lastEvent = collection.get(collectionSize - 1); in getSamplingPeriodNs()124 return (lastEvent.timestamp - firstEvent.timestamp) / (collectionSize - 1); in getSamplingPeriodNs()