Searched refs:numOfEvents (Results 1 – 2 of 2) sorted by relevance
66 int numOfEvents = filteredEvents.size(); in computeAvgRate() local67 if (numOfEvents >= 2) { in computeAvgRate()68 long lastTimestamp = filteredEvents.get(numOfEvents - 1).timestamp; in computeAvgRate()71 (lastTimestamp - firstTimestamp) / (numOfEvents - 1), in computeAvgRate()128 public List<TestSensorEvent> getSensorEvents(boolean specifyHandler, int numOfEvents) in getSensorEvents() argument133 numOfEvents, in getSensorEvents()135 listener.waitForEvents(eventLatch, numOfEvents, false); in getSensorEvents()
93 int numOfEvents = filteredEvents.size(); in computeAvgRate() local94 if (numOfEvents >= 2) { in computeAvgRate()95 long lastTimestamp = filteredEvents.get(numOfEvents - 1).ts; in computeAvgRate()98 (lastTimestamp - firstTimestamp) / (numOfEvents - 1), in computeAvgRate()