Searched refs:newLogs (Results 1 – 1 of 1) sorted by relevance
264 private void getNextBatch(ArrayList<SecurityEvent> newLogs) throws IOException { in getNextBatch() argument268 SecurityLog.readEvents(newLogs); in getNextBatch()276 SecurityLog.readEventsSince(startNanos, newLogs); in getNextBatch()281 for (int i = 0; i < newLogs.size() - 1; i++) { in getNextBatch()282 if (newLogs.get(i).getTimeNanos() > newLogs.get(i+1).getTimeNanos()) { in getNextBatch()285 newLogs.sort((e1, e2) -> Long.signum(e1.getTimeNanos() - e2.getTimeNanos())); in getNextBatch()290 if (DEBUG) Slog.d(TAG, "Got " + newLogs.size() + " new events."); in getNextBatch()296 private void saveLastEvents(ArrayList<SecurityEvent> newLogs) { in saveLastEvents() argument298 if (newLogs.isEmpty()) { in saveLastEvents()305 mLastEventNanos = newLogs.get(newLogs.size() - 1).getTimeNanos(); in saveLastEvents()[all …]