Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/hardware/
DSystemSensorManager.java487 List<Sensor> oldList, List<Sensor> newList, List<Sensor> updated, in diffSortedSensorList() argument
494 if (j < oldList.size() && (i >= newList.size() in diffSortedSensorList()
495 || newList.get(i).getHandle() > oldList.get(j).getHandle())) { in diffSortedSensorList()
498 removed.add(oldList.get(j)); in diffSortedSensorList()
501 } else if (i < newList.size() && (j >= oldList.size() in diffSortedSensorList()
502 || newList.get(i).getHandle() < oldList.get(j).getHandle())) { in diffSortedSensorList()
511 } else if (i < newList.size() && j < oldList.size() in diffSortedSensorList()
512 && newList.get(i).getHandle() == oldList.get(j).getHandle()) { in diffSortedSensorList()
514 updated.add(oldList.get(j)); in diffSortedSensorList()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSmsUsageMonitor.java616 ArrayList<Long> oldList = entry.getValue(); in removeExpiredTimestamps() local
617 if (oldList.isEmpty() || oldList.get(oldList.size() - 1) < beginCheckPeriod) { in removeExpiredTimestamps()
/frameworks/rs/support/java/src/androidx/renderscript/
DRenderScript.java1622 ArrayList<RenderScript> oldList; in releaseAllContexts() local
1624 oldList = mProcessContextList; in releaseAllContexts()
1628 for (RenderScript prs : oldList) { in releaseAllContexts()
1632 oldList.clear(); in releaseAllContexts()
/frameworks/base/rs/java/android/renderscript/
DRenderScript.java1552 ArrayList<RenderScript> oldList; in releaseAllContexts() local
1554 oldList = mProcessContextList; in releaseAllContexts()
1558 for (RenderScript prs : oldList) { in releaseAllContexts()
1562 oldList.clear(); in releaseAllContexts()