Searched refs:oldList (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/media/controls/ui/util/ |
D | MediaDiffUtilTest.kt | 42 val oldList = listOf<MediaCommonViewModel>() in <lambda>() constant 44 val mediaLoadedCallback = MediaViewModelCallback(oldList, newList) in <lambda>() 47 oldList, in <lambda>() 61 val oldList = listOf<MediaCommonViewModel>() in <lambda>() constant 63 val mediaLoadedCallback = MediaViewModelCallback(oldList, newList) in <lambda>() 66 oldList, in <lambda>() 80 val oldList = listOf(mediaControl) in <lambda>() constant 82 val mediaLoadedCallback = MediaViewModelCallback(oldList, newList) in <lambda>() 85 oldList, in <lambda>() 99 val oldList = listOf(mediaRecs) in <lambda>() constant [all …]
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/mobile/dataservice/ |
D | DataServiceUtils.java | 30 public static <T> boolean shouldUpdateEntityList(List<T> oldList, List<T> newList) { in shouldUpdateEntityList() argument 31 if ((oldList != null && in shouldUpdateEntityList() 32 (newList.isEmpty() || !newList.equals(oldList))) in shouldUpdateEntityList() 33 || (!newList.isEmpty() && oldList == null)) { in shouldUpdateEntityList()
|
/frameworks/base/core/java/android/hardware/ |
D | SystemSensorManager.java | 692 List<Sensor> oldList, List<Sensor> newList, List<Sensor> updated, in diffSortedSensorList() argument 699 if (j < oldList.size() && (i >= newList.size() in diffSortedSensorList() 700 || newList.get(i).getHandle() > oldList.get(j).getHandle())) { in diffSortedSensorList() 703 removed.add(oldList.get(j)); in diffSortedSensorList() 706 } else if (i < newList.size() && (j >= oldList.size() in diffSortedSensorList() 707 || newList.get(i).getHandle() < oldList.get(j).getHandle())) { in diffSortedSensorList() 716 } else if (i < newList.size() && j < oldList.size() in diffSortedSensorList() 717 && newList.get(i).getHandle() == oldList.get(j).getHandle()) { in diffSortedSensorList() 719 updated.add(oldList.get(j)); in diffSortedSensorList()
|
/frameworks/base/services/contentcapture/java/com/android/server/contentcapture/ |
D | ContentCapturePerUserService.java | 641 ArraySet<String> oldList = in setContentCaptureWhitelist() local 644 CollectionUtils.size(oldList)); in setContentCaptureWhitelist() 651 updateContentCaptureOptions(oldList); in setContentCaptureWhitelist() 726 private void updateContentCaptureOptions(@Nullable ArraySet<String> oldList) { in updateContentCaptureOptions() argument 732 if (oldList != null && adding != null) { in updateContentCaptureOptions() 733 adding.removeAll(oldList); in updateContentCaptureOptions()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | SmsUsageMonitor.java | 638 ArrayList<Long> oldList = entry.getValue(); in removeExpiredTimestamps() local 639 if (oldList.isEmpty() || oldList.get(oldList.size() - 1) < beginCheckPeriod) { in removeExpiredTimestamps()
|
/frameworks/base/rs/java/android/renderscript/ |
D | RenderScript.java | 1550 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/ |
D | RenderScript.java | 1627 ArrayList<RenderScript> oldList; in releaseAllContexts() local 1629 oldList = mProcessContextList; in releaseAllContexts() 1633 for (RenderScript prs : oldList) { in releaseAllContexts() 1637 oldList.clear(); in releaseAllContexts()
|