Home
last modified time | relevance | path

Searched refs:newLength (Results 1 – 20 of 20) sorted by relevance

/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/signature/
DThreadUnsafeByteArrayOutputStream.java73 int newLength = oldLength + Math.max(minGrowth, prefGrowth); in calculateNewLength() local
74 if (newLength - SOFT_MAX_ARRAY_LENGTH <= 0) { in calculateNewLength()
75 return newLength; in calculateNewLength()
82 int newLength = oldLength + minGrowth; in hugeLength() local
83 if (newLength < 0) { in hugeLength()
86 return Math.max(newLength, SOFT_MAX_ARRAY_LENGTH); in hugeLength()
/packages/inputmethods/LatinIME/common/src/com/android/inputmethod/latin/common/
DResizableIntArray.java86 public void setLength(final int newLength) { in setLength() argument
87 ensureCapacity(newLength); in setLength()
88 mLength = newLength; in setLength()
123 final int newLength = currentLength + length; in append() local
124 ensureCapacity(newLength); in append()
126 mLength = newLength; in append()
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/
DLapsAdapter.kt231 val newLength = formattedTime.length in formatLapTime() constant
232 if (!isBinding && mLastFormattedLapTimeLength != newLength) { in formatLapTime()
233 mLastFormattedLapTimeLength = newLength in formatLapTime()
252 val newLength = formattedTime.length in formatAccumulatedTime() constant
253 if (!isBinding && mLastFormattedAccumulatedTimeLength != newLength) { in formatAccumulatedTime()
254 mLastFormattedAccumulatedTimeLength = newLength in formatAccumulatedTime()
/packages/modules/Connectivity/framework-t/src/android/net/
DNetworkStats.java665 final int newLength = Math.max(size, 10) * 3 / 2; in insertEntry() local
666 iface = Arrays.copyOf(iface, newLength); in insertEntry()
667 uid = Arrays.copyOf(uid, newLength); in insertEntry()
668 set = Arrays.copyOf(set, newLength); in insertEntry()
669 tag = Arrays.copyOf(tag, newLength); in insertEntry()
670 metered = Arrays.copyOf(metered, newLength); in insertEntry()
671 roaming = Arrays.copyOf(roaming, newLength); in insertEntry()
672 defaultNetwork = Arrays.copyOf(defaultNetwork, newLength); in insertEntry()
673 rxBytes = Arrays.copyOf(rxBytes, newLength); in insertEntry()
674 rxPackets = Arrays.copyOf(rxPackets, newLength); in insertEntry()
[all …]
DNetworkStatsHistory.java661 final int newLength = Math.max(bucketStart.length, 10) * 3 / 2; in insertBucket() local
662 bucketStart = Arrays.copyOf(bucketStart, newLength); in insertBucket()
663 if (activeTime != null) activeTime = Arrays.copyOf(activeTime, newLength); in insertBucket()
664 if (rxBytes != null) rxBytes = Arrays.copyOf(rxBytes, newLength); in insertBucket()
665 if (rxPackets != null) rxPackets = Arrays.copyOf(rxPackets, newLength); in insertBucket()
666 if (txBytes != null) txBytes = Arrays.copyOf(txBytes, newLength); in insertBucket()
667 if (txPackets != null) txPackets = Arrays.copyOf(txPackets, newLength); in insertBucket()
668 if (operations != null) operations = Arrays.copyOf(operations, newLength); in insertBucket()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/
DAndroidSpellCheckerSession.java90 final int newLength = splitText.length(); in fixWronglyInvalidatedWordWithSingleQuote() local
97 + offset + "," + newLength); in fixWronglyInvalidatedWordWithSingleQuote()
100 additionalLengths.add(newLength); in fixWronglyInvalidatedWordWithSingleQuote()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/expected/
DExpectedKeyboardBuilder.java75 final int newLength = keys.length - 1 + replacingKeys.length; in replaceKeyAt() local
77 final ExpectedKey[] newKeys = Arrays.copyOf(keys, newLength); in replaceKeyAt()
/packages/apps/Settings/src/com/android/settings/datetime/timezone/
DSpannableUtil.java136 iterator.newLength(), // 3 in applyCaseMapToSpannable()
/packages/modules/NeuralNetworks/runtime/
DExecutionPlan.cpp345 const Dimensions& newDimensions, uint32_t newLength) { in redeclare() argument
346 auto createAndLogResult = [sourceOperandIndex, &newDimensions, newLength](bool changedShape) { in redeclare()
350 << ", newLength = " << newLength << ") -> " << toString(changedShape); in redeclare()
355 CHECK_GT(newLength, 0u); in redeclare()
358 const uint32_t paddedLength = roundUp(newLength, temp.padding); in redeclare()
DExecutionPlan.h159 uint32_t newLength);
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactsProvider2.java9958 int newLength = selectionArgs.length + 1; in insertSelectionArg() local
9959 String[] newSelectionArgs = new String[newLength]; in insertSelectionArg()
9970 int newLength = selectionArgs.length + 1; in appendSelectionArg() local
9971 String[] newSelectionArgs = new String[newLength]; in appendSelectionArg()
9972 newSelectionArgs[newLength] = arg; in appendSelectionArg()
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarProvider2.java5356 int newLength = selectionArgs.length + 1; in insertSelectionArg() local
5357 String[] newSelectionArgs = new String[newLength]; in insertSelectionArg()
/packages/apps/Car/DebuggingRestrictionController/libs/
Dokhttp-3.12.1.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/proguard/ okhttp3/ ...
/packages/apps/TV/libs/m2/
Dprotobuf-java-3.7.0.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
Dguava-28.0-jre.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
/packages/modules/RemoteKeyProvisioning/app/tests/unit/
Dtink-android-1.5.0.jarcom/google/crypto/tink/subtle/prf/StreamingPrf.class StreamingPrf.java package ...
/packages/apps/ManagedProvisioning/studio-dev/StubGenerator/
DStubGenerator.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/jf/ org/ ...
/packages/services/Telecomm/libs/
Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/packages/modules/RuntimeI18n/apex/hiddenapi/
Dhiddenapi-max-target-o-low-priority.txt3188 Landroid/icu/text/Edits$Iterator;->newLength()I
/packages/apps/TV/libs/
Dgoogle-java-format-1.7-all-deps.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...