Home
last modified time | relevance | path

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

/frameworks/base/tools/locked_region_code_injection/src/lockedregioncodeinjection/
DLockTargetStateAnalysis.java100 List<LockTarget> newList = new ArrayList<>(state1.getTargets()); in merge() local
102 if (!newList.contains(otherTarget)) { in merge()
103 newList.add(otherTarget); in merge()
107 return new LockTargetState(base.getType(), newList); in merge()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/main/java/com/google/protobuf/
DProtobufArrayList.java68 List<E> newList = new ArrayList<E>(capacity); in mutableCopyWithCapacity() local
69 newList.addAll(list); in mutableCopyWithCapacity()
70 return new ProtobufArrayList<E>(newList); in mutableCopyWithCapacity()
DLazyStringArrayList.java108 ArrayList<Object> newList = new ArrayList<Object>(capacity); in mutableCopyWithCapacity() local
109 newList.addAll(list); in mutableCopyWithCapacity()
110 return new LazyStringArrayList(newList); in mutableCopyWithCapacity()
DFieldSet.java265 final List newList = new ArrayList(); in setField() local
266 newList.addAll((List) value); in setField()
267 for (final Object element : newList) { in setField()
270 value = newList; in setField()
DGeneratedMessageV3.java2446 final List newList = new ArrayList();
2449 newList.add(getRepeated(message, i));
2451 return Collections.unmodifiableList(newList);
2457 final List newList = new ArrayList();
2460 newList.add(getRepeated(builder, i));
2462 return Collections.unmodifiableList(newList);
DGeneratedMessage.java2777 final List newList = new ArrayList();
2780 newList.add(getRepeated(message, i));
2782 return Collections.unmodifiableList(newList);
2788 final List newList = new ArrayList();
2791 newList.add(getRepeated(builder, i));
2793 return Collections.unmodifiableList(newList);
/frameworks/av/media/libstagefright/
DMediaExtractorFactory.cpp280 std::shared_ptr<std::list<sp<ExtractorPlugin>>> newList(new std::list<sp<ExtractorPlugin>>()); in LoadExtractors() local
292 "/extractors", &dlextinfo, *newList); in LoadExtractors()
302 "/extractors", NULL, *newList); in LoadExtractors()
304 newList->sort(compareFunc); in LoadExtractors()
305 gPlugins = newList; in LoadExtractors()
/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()
501 } else if (i < newList.size() && (j >= oldList.size() in diffSortedSensorList()
502 || newList.get(i).getHandle() < oldList.get(j).getHandle())) { in diffSortedSensorList()
505 added.add(newList.get(i)); in diffSortedSensorList()
508 updated.add(newList.get(i)); in diffSortedSensorList()
511 } else if (i < newList.size() && j < oldList.size() in diffSortedSensorList()
512 && 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/hdmi/
DHdmiUtils.java267 List<T> newList = new ArrayList<>(); in mergeToUnmodifiableList() local
268 newList.addAll(a); in mergeToUnmodifiableList()
269 newList.addAll(b); in mergeToUnmodifiableList()
270 return Collections.unmodifiableList(newList); in mergeToUnmodifiableList()
/frameworks/base/telephony/java/android/telephony/
DServiceState.java1820 List<NetworkRegistrationInfo> newList = new ArrayList<>(); in getNetworkRegistrationInfoList() local
1822 newList.add(new NetworkRegistrationInfo(nri)); in getNetworkRegistrationInfoList()
1824 return newList; in getNetworkRegistrationInfoList()
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutPackage.java1162 public void enforceShortcutCountsBeforeOperation(List<ShortcutInfo> newList, in enforceShortcutCountsBeforeOperation() argument
1180 for (int i = newList.size() - 1; i >= 0; i--) { in enforceShortcutCountsBeforeOperation()
1181 final ShortcutInfo newShortcut = newList.get(i); in enforceShortcutCountsBeforeOperation()
/frameworks/native/opengl/libs/EGL/
Degl_platform_entries.cpp612 void convertAttribs(const EGLAttrib* attribList, std::vector<EGLint>& newList) { in convertAttribs() argument
614 newList.push_back(static_cast<EGLint>(attr[0])); in convertAttribs()
615 newList.push_back(static_cast<EGLint>(attr[1])); in convertAttribs()
617 newList.push_back(EGL_NONE); in convertAttribs()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java7763 int[] newList = new int[N+1]; in backgroundWhitelistUid() local
7764 System.arraycopy(mBackgroundAppIdWhitelist, 0, newList, 0, N); in backgroundWhitelistUid()
7765 newList[N] = UserHandle.getAppId(uid); in backgroundWhitelistUid()
7766 mBackgroundAppIdWhitelist = newList; in backgroundWhitelistUid()