Home
last modified time | relevance | path

Searched refs:oldList (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/java/android/hardware/
DSystemSensorManager.java513 List<Sensor> oldList, List<Sensor> newList, List<Sensor> updated, in diffSortedSensorList() argument
520 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()
/frameworks/base/services/contentcapture/java/com/android/server/contentcapture/
DContentCapturePerUserService.java636 ArraySet<String> oldList = in setContentCaptureWhitelist() local
639 CollectionUtils.size(oldList)); in setContentCaptureWhitelist()
646 updateContentCaptureOptions(oldList); in setContentCaptureWhitelist()
721 private void updateContentCaptureOptions(@Nullable ArraySet<String> oldList) { in updateContentCaptureOptions() argument
727 if (oldList != null && adding != null) { in updateContentCaptureOptions()
728 adding.removeAll(oldList); in updateContentCaptureOptions()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSmsUsageMonitor.java631 ArrayList<Long> oldList = entry.getValue(); in removeExpiredTimestamps() local
632 if (oldList.isEmpty() || oldList.get(oldList.size() - 1) < beginCheckPeriod) { in removeExpiredTimestamps()
/frameworks/base/rs/java/android/renderscript/
DRenderScript.java1550 ArrayList<RenderScript> oldList; in releaseAllContexts() local
1552 oldList = mProcessContextList; in releaseAllContexts()
1556 for (RenderScript prs : oldList) { in releaseAllContexts()
1560 oldList.clear(); in releaseAllContexts()
/frameworks/rs/support/java/src/androidx/renderscript/
DRenderScript.java1627 ArrayList<RenderScript> oldList; in releaseAllContexts() local
1629 oldList = mProcessContextList; in releaseAllContexts()
1633 for (RenderScript prs : oldList) { in releaseAllContexts()
1637 oldList.clear(); in releaseAllContexts()