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