Home
last modified time | relevance | path

Searched refs:newList (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiUtils.java219 List<T> newList = new ArrayList<>(); in mergeToUnmodifiableList() local
220 newList.addAll(a); in mergeToUnmodifiableList()
221 newList.addAll(b); in mergeToUnmodifiableList()
222 return Collections.unmodifiableList(newList); in mergeToUnmodifiableList()
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/util/
DDiffUtilActivity.java79 List<String> newList = createRandomCheeseList(oldList, 5); in onCreate()
81 new MyCallback(oldList, newList)); in onCreate()
83 return new Pair(newList, diffResult); in onCreate()
/frameworks/base/core/java/android/hardware/
DSystemSensorManager.java484 List<Sensor> oldList, List<Sensor> newList, List<Sensor> updated, in diffSortedSensorList() argument
491 if (j < oldList.size() && ( i >= newList.size() || in diffSortedSensorList()
492 newList.get(i).getHandle() > oldList.get(j).getHandle()) ) { in diffSortedSensorList()
498 } else if (i < newList.size() && ( j >= oldList.size() || in diffSortedSensorList()
499 newList.get(i).getHandle() < oldList.get(j).getHandle())) { in diffSortedSensorList()
502 added.add(newList.get(i)); in diffSortedSensorList()
505 updated.add(newList.get(i)); in diffSortedSensorList()
508 } else if (i < newList.size() && j < oldList.size() && in diffSortedSensorList()
509 newList.get(i).getHandle() == oldList.get(j).getHandle()) { in diffSortedSensorList()
/frameworks/base/tests/SmokeTest/tests/src/com/android/smoketest/
DProcessErrorsTest.java269 List<ProcessErrorStateInfo> newList = new ArrayList<ProcessErrorStateInfo>(errList.size()); in reportWrappedListContents() local
271 newList.add(err.info); in reportWrappedListContents()
273 return reportListContents(newList); in reportWrappedListContents()
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutPackage.java950 public void enforceShortcutCountsBeforeOperation(List<ShortcutInfo> newList, in enforceShortcutCountsBeforeOperation() argument
968 for (int i = newList.size() - 1; i >= 0; i--) { in enforceShortcutCountsBeforeOperation()
969 final ShortcutInfo newShortcut = newList.get(i); in enforceShortcutCountsBeforeOperation()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java12213 int[] newList = new int[N+1];
12214 System.arraycopy(mBackgroundAppIdWhitelist, 0, newList, 0, N);
12215 newList[N] = UserHandle.getAppId(uid);
12216 mBackgroundAppIdWhitelist = newList;
/frameworks/opt/setupwizard/tools/docs/
Djsilver.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/clearsilver/ org/ ...