HomeSort by relevance Sort by last modified time
    Searched defs:mLastEvents (Results 1 - 2 of 2) sorted by null

  /frameworks/base/core/java/android/content/
SyncStatusInfo.java 137 private final ArrayList<String> mLastEvents = new ArrayList<>();
188 parcel.writeString(mLastEvents.get(i));
245 mLastEvents.clear();
249 mLastEvents.add(parcel.readString());
302 mLastEvents.addAll(other.mLastEvents);
337 mLastEvents.remove(MAX_EVENT_COUNT - 1);
340 mLastEvents.add(0, message);
355 return mLastEvents.get(i);
  /frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
SecurityLogMonitor.java 119 private final ArrayList<SecurityEvent> mLastEvents = new ArrayList<>();
272 final long startNanos = mLastEvents.isEmpty()
297 mLastEvents.clear();
300 // we aren't going to have any overlap next time, leave mLastEvents events empty.
314 mLastEvents.addAll(newLogs.subList(pos, newLogs.size()));
315 if (DEBUG) Slog.d(TAG, mLastEvents.size() + " events saved for overlap check");
331 // For the first batch mLastEvents will be empty, so no iterations will happen.
332 while (lastPos < mLastEvents.size() && curPos < newLogs.size()) {
339 final SecurityEvent lastEvent = mLastEvents.get(lastPos);
365 // Assign an id to the new logs, after the overlap with mLastEvents
    [all...]

Completed in 115 milliseconds