Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/net/metrics/
DDnsEvent.java80 public void resize(int newLength) { in resize() argument
81 eventTypes = Arrays.copyOf(eventTypes, newLength); in resize()
82 returnCodes = Arrays.copyOf(returnCodes, newLength); in resize()
83 latenciesMs = Arrays.copyOf(latenciesMs, newLength); in resize()
/frameworks/base/core/java/android/widget/
DTableLayout.java507 final int newLength = widths.length; in findLargestCells() local
510 if (mMaxWidths == null || mMaxWidths.length != newLength) { in findLargestCells()
511 mMaxWidths = new int[newLength]; in findLargestCells()
513 System.arraycopy(widths, 0, mMaxWidths, 0, newLength); in findLargestCells()
517 final int difference = newLength - length; in findLargestCells()
522 mMaxWidths = new int[newLength]; in findLargestCells()
534 length = Math.min(length, newLength); in findLargestCells()
/frameworks/av/media/mtp/
DMtpPacket.cpp57 int newLength = length + mAllocationIncrement; in allocate() local
58 mBuffer = (uint8_t *)realloc(mBuffer, newLength); in allocate()
63 mBufferSize = newLength; in allocate()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/display/
DDisplayDensityUtils.java160 int newLength = values.length + 1; in DisplayDensityUtils() local
161 values = Arrays.copyOf(values, newLength); in DisplayDensityUtils()
164 entries = Arrays.copyOf(entries, newLength); in DisplayDensityUtils()
/frameworks/base/core/java/android/net/
DNetworkStats.java391 final int newLength = Math.max(size, 10) * 3 / 2; in addValues() local
392 iface = Arrays.copyOf(iface, newLength); in addValues()
393 uid = Arrays.copyOf(uid, newLength); in addValues()
394 set = Arrays.copyOf(set, newLength); in addValues()
395 tag = Arrays.copyOf(tag, newLength); in addValues()
396 metered = Arrays.copyOf(metered, newLength); in addValues()
397 roaming = Arrays.copyOf(roaming, newLength); in addValues()
398 defaultNetwork = Arrays.copyOf(defaultNetwork, newLength); in addValues()
399 rxBytes = Arrays.copyOf(rxBytes, newLength); in addValues()
400 rxPackets = Arrays.copyOf(rxPackets, newLength); in addValues()
[all …]
DNetworkStatsHistory.java444 final int newLength = Math.max(bucketStart.length, 10) * 3 / 2; in insertBucket() local
445 bucketStart = Arrays.copyOf(bucketStart, newLength); in insertBucket()
446 if (activeTime != null) activeTime = Arrays.copyOf(activeTime, newLength); in insertBucket()
447 if (rxBytes != null) rxBytes = Arrays.copyOf(rxBytes, newLength); in insertBucket()
448 if (rxPackets != null) rxPackets = Arrays.copyOf(rxPackets, newLength); in insertBucket()
449 if (txBytes != null) txBytes = Arrays.copyOf(txBytes, newLength); in insertBucket()
450 if (txPackets != null) txPackets = Arrays.copyOf(txPackets, newLength); in insertBucket()
451 if (operations != null) operations = Arrays.copyOf(operations, newLength); in insertBucket()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/main/java/com/google/protobuf/
DUnknownFieldSetLite.java285 int newLength = count + increment; in ensureCapacity() local
287 tags = Arrays.copyOf(tags, newLength); in ensureCapacity()
288 objects = Arrays.copyOf(objects, newLength); in ensureCapacity()
DRopeByteString.java164 final int newLength = left.size() + right.size(); in concatenate() local
165 if (newLength < ByteString.CONCATENATE_BY_COPY_SIZE) { in concatenate()
202 if (newLength >= minLengthByDepth[newDepth]) { in concatenate()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DPasswordTextView.java216 int newLength = mText.length(); in append() local
218 if (newLength > visibleChars) { in append()
222 charState = mTextChars.get(newLength - 1); in append()
228 if (newLength > 1) { in append()
229 CharState previousState = mTextChars.get(newLength - 2); in append()
/frameworks/base/core/java/android/content/res/
DAssetManager.java313 int newLength = sSystemApkAssets.length; in setApkAssets() local
316 newApkAssets[newLength++] = apkAsset; in setApkAssets()
321 if (newLength != newApkAssets.length) { in setApkAssets()
322 newApkAssets = Arrays.copyOf(newApkAssets, newLength); in setApkAssets()
/frameworks/base/core/java/com/android/internal/widget/
DPointerLocationView.java915 final int newLength = mLength + length;
918 if (newLength > oldCapacity) {
/frameworks/base/core/java/android/text/
DSpannableStringBuilder.java148 final int newLength = newText.length; in resizeFor() local
149 final int delta = newLength - oldLength; in resizeFor()
151 System.arraycopy(mText, oldLength - after, newText, newLength - after, after); in resizeFor()
DTextUtils.java1239 return iterator.destinationIndex() + iterator.newLength(); in toUpperMapToDest()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...