Home
last modified time | relevance | path

Searched refs:newItems (Results 1 – 3 of 3) sorted by relevance

/frameworks/libs/net/common/framework/android/net/util/
DLinkPropertiesUtils.java49 public CompareResult(@Nullable Collection<T> oldItems, @Nullable Collection<T> newItems) { in CompareResult() argument
53 if (newItems != null) { in CompareResult()
54 for (T newItem : newItems) { in CompareResult()
91 public CompareOrUpdateResult(Collection<T> oldItems, Collection<T> newItems, in CompareOrUpdateResult() argument
101 if (newItems != null) { in CompareOrUpdateResult()
102 for (T newItem : newItems) { in CompareOrUpdateResult()
/frameworks/libs/net/common/tests/unit/src/android/net/util/
DLinkPropertiesUtilsTest.java224 List<String> newItems = strArray("hello123", "goodbye000", "verywell"); in testCompareOrUpdateResult() local
235 result = new CompareOrUpdateResult<String, String>(emptyList, newItems, extractPrefix); in testCompareOrUpdateResult()
240 result = new CompareOrUpdateResult<String, String>(newItems, newItems, extractPrefix); in testCompareOrUpdateResult()
244 result = new CompareOrUpdateResult<>(oldItems, newItems, extractPrefix); in testCompareOrUpdateResult()
249 result = new CompareOrUpdateResult<String, String>(null, newItems, extractPrefix); in testCompareOrUpdateResult()
/frameworks/base/tests/net/common/java/android/net/
DLinkPropertiesTest.java990 private <T> void compareResult(List<T> oldItems, List<T> newItems, List<T> expectRemoved, in compareResult() argument
992 CompareResult<T> result = new CompareResult<>(oldItems, newItems); in compareResult()