/frameworks/base/tools/locked_region_code_injection/src/lockedregioncodeinjection/ |
D | LockTargetStateAnalysis.java | 100 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/av/media/libstagefright/ |
D | MediaExtractorFactory.cpp | 277 std::shared_ptr<std::list<sp<ExtractorPlugin>>> newList(new std::list<sp<ExtractorPlugin>>()); in LoadExtractors() local 289 "/extractors", &dlextinfo, *newList); in LoadExtractors() 299 "/extractors", NULL, *newList); in LoadExtractors() 305 "/extractors", NULL, *newList); in LoadExtractors() 307 newList->sort(compareFunc); in LoadExtractors() 308 gPlugins = newList; in LoadExtractors()
|
/frameworks/base/core/java/android/hardware/ |
D | SystemSensorManager.java | 487 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/ |
D | ProcessErrorsTest.java | 269 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/ |
D | HdmiUtils.java | 267 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/ |
D | TelephonyManager.java | 9584 List<String> newList = updateTelephonyProperty( in setSimOperatorNumericForPhone() local 9586 TelephonyProperties.icc_operator_numeric(newList); in setSimOperatorNumericForPhone() 9608 List<String> newList = updateTelephonyProperty( in setSimOperatorNameForPhone() local 9610 TelephonyProperties.icc_operator_alpha(newList); in setSimOperatorNameForPhone() 9632 List<String> newList = updateTelephonyProperty( in setSimCountryIsoForPhone() local 9634 TelephonyProperties.icc_operator_iso_country(newList); in setSimCountryIsoForPhone() 9656 List<String> newList = updateTelephonyProperty( in setSimStateForPhone() local 9658 TelephonyProperties.sim_state(newList); in setSimStateForPhone() 9764 List<String> newList = updateTelephonyProperty( in setBasebandVersionForPhone() local 9766 TelephonyProperties.baseband_version(newList); in setBasebandVersionForPhone() [all …]
|
D | ServiceState.java | 1876 List<NetworkRegistrationInfo> newList = new ArrayList<>(); in getNetworkRegistrationInfoList() local 1878 newList.add(new NetworkRegistrationInfo(nri)); in getNetworkRegistrationInfoList() 1880 return newList; in getNetworkRegistrationInfoList()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | ShortcutPackage.java | 1162 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/ |
D | egl_platform_entries.cpp | 613 void convertAttribs(const EGLAttrib* attribList, std::vector<EGLint>& newList) { in convertAttribs() argument 615 newList.push_back(static_cast<EGLint>(attr[0])); in convertAttribs() 616 newList.push_back(static_cast<EGLint>(attr[1])); in convertAttribs() 618 newList.push_back(EGL_NONE); in convertAttribs()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ActivityManagerService.java | 7794 int[] newList = new int[N+1]; in backgroundWhitelistUid() local 7795 System.arraycopy(mBackgroundAppIdWhitelist, 0, newList, 0, N); in backgroundWhitelistUid() 7796 newList[N] = UserHandle.getAppId(uid); in backgroundWhitelistUid() 7797 mBackgroundAppIdWhitelist = newList; in backgroundWhitelistUid()
|