Searched refs:oldList (Results 1 – 5 of 5) sorted by relevance
513 List<Sensor> oldList, List<Sensor> newList, List<Sensor> updated, in diffSortedSensorList() argument520 if (j < oldList.size() && (i >= newList.size() in diffSortedSensorList()521 || newList.get(i).getHandle() > oldList.get(j).getHandle())) { in diffSortedSensorList()524 removed.add(oldList.get(j)); in diffSortedSensorList()527 } else if (i < newList.size() && (j >= oldList.size() in diffSortedSensorList()528 || newList.get(i).getHandle() < oldList.get(j).getHandle())) { in diffSortedSensorList()537 } else if (i < newList.size() && j < oldList.size() in diffSortedSensorList()538 && newList.get(i).getHandle() == oldList.get(j).getHandle()) { in diffSortedSensorList()540 updated.add(oldList.get(j)); in diffSortedSensorList()
636 ArraySet<String> oldList = in setContentCaptureWhitelist() local639 CollectionUtils.size(oldList)); in setContentCaptureWhitelist()646 updateContentCaptureOptions(oldList); in setContentCaptureWhitelist()721 private void updateContentCaptureOptions(@Nullable ArraySet<String> oldList) { in updateContentCaptureOptions() argument727 if (oldList != null && adding != null) { in updateContentCaptureOptions()728 adding.removeAll(oldList); in updateContentCaptureOptions()
631 ArrayList<Long> oldList = entry.getValue(); in removeExpiredTimestamps() local632 if (oldList.isEmpty() || oldList.get(oldList.size() - 1) < beginCheckPeriod) { in removeExpiredTimestamps()
1550 ArrayList<RenderScript> oldList; in releaseAllContexts() local1552 oldList = mProcessContextList; in releaseAllContexts()1556 for (RenderScript prs : oldList) { in releaseAllContexts()1560 oldList.clear(); in releaseAllContexts()
1627 ArrayList<RenderScript> oldList; in releaseAllContexts() local1629 oldList = mProcessContextList; in releaseAllContexts()1633 for (RenderScript prs : oldList) { in releaseAllContexts()1637 oldList.clear(); in releaseAllContexts()