Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/hardware/
DSystemSensorManager.java449 List<Sensor> oldList, List<Sensor> newList, List<Sensor> updated, in diffSortedSensorList() argument
456 if (j < oldList.size() && ( i >= newList.size() || in diffSortedSensorList()
457 newList.get(i).getHandle() > oldList.get(j).getHandle()) ) { in diffSortedSensorList()
460 removed.add(oldList.get(j)); in diffSortedSensorList()
463 } else if (i < newList.size() && ( j >= oldList.size() || in diffSortedSensorList()
464 newList.get(i).getHandle() < oldList.get(j).getHandle())) { in diffSortedSensorList()
473 } else if (i < newList.size() && j < oldList.size() && in diffSortedSensorList()
474 newList.get(i).getHandle() == oldList.get(j).getHandle()) { in diffSortedSensorList()
476 updated.add(oldList.get(j)); in diffSortedSensorList()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSmsUsageMonitor.java620 ArrayList<Long> oldList = entry.getValue(); in removeExpiredTimestamps() local
621 if (oldList.isEmpty() || oldList.get(oldList.size() - 1) < beginCheckPeriod) { in removeExpiredTimestamps()
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
DRenderScript.java1597 ArrayList<RenderScript> oldList; in releaseAllContexts() local
1599 oldList = mProcessContextList; in releaseAllContexts()
1603 for (RenderScript prs : oldList) { in releaseAllContexts()
1607 oldList.clear(); in releaseAllContexts()
/frameworks/base/rs/java/android/renderscript/
DRenderScript.java1546 ArrayList<RenderScript> oldList; in releaseAllContexts() local
1548 oldList = mProcessContextList; in releaseAllContexts()
1552 for (RenderScript prs : oldList) { in releaseAllContexts()
1556 oldList.clear(); in releaseAllContexts()