/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/ |
D | PersistAtomsStorage.java | 66 int newLength = mAtoms.voiceCallSession.length + 1; in addVoiceCallSession() local 67 if (newLength > MAX_NUM_CALL_SESSIONS) { in addVoiceCallSession() 69 newLength = MAX_NUM_CALL_SESSIONS; in addVoiceCallSession() 71 mAtoms.voiceCallSession = Arrays.copyOf(mAtoms.voiceCallSession, newLength); in addVoiceCallSession() 74 if (newLength > 1) { in addVoiceCallSession() 77 insertAt = sRandom.nextInt(newLength); in addVoiceCallSession() 78 mAtoms.voiceCallSession[newLength - 1] = mAtoms.voiceCallSession[insertAt]; in addVoiceCallSession()
|
/frameworks/base/core/java/android/net/metrics/ |
D | DnsEvent.java | 80 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/ |
D | TableLayout.java | 507 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/ |
D | MtpPacket.cpp | 57 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/ |
D | DisplayDensityUtils.java | 160 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/ |
D | NetworkStats.java | 562 final int newLength = Math.max(size, 10) * 3 / 2; in insertEntry() local 563 iface = Arrays.copyOf(iface, newLength); in insertEntry() 564 uid = Arrays.copyOf(uid, newLength); in insertEntry() 565 set = Arrays.copyOf(set, newLength); in insertEntry() 566 tag = Arrays.copyOf(tag, newLength); in insertEntry() 567 metered = Arrays.copyOf(metered, newLength); in insertEntry() 568 roaming = Arrays.copyOf(roaming, newLength); in insertEntry() 569 defaultNetwork = Arrays.copyOf(defaultNetwork, newLength); in insertEntry() 570 rxBytes = Arrays.copyOf(rxBytes, newLength); in insertEntry() 571 rxPackets = Arrays.copyOf(rxPackets, newLength); in insertEntry() [all …]
|
D | NetworkStatsHistory.java | 446 final int newLength = Math.max(bucketStart.length, 10) * 3 / 2; in insertBucket() local 447 bucketStart = Arrays.copyOf(bucketStart, newLength); in insertBucket() 448 if (activeTime != null) activeTime = Arrays.copyOf(activeTime, newLength); in insertBucket() 449 if (rxBytes != null) rxBytes = Arrays.copyOf(rxBytes, newLength); in insertBucket() 450 if (rxPackets != null) rxPackets = Arrays.copyOf(rxPackets, newLength); in insertBucket() 451 if (txBytes != null) txBytes = Arrays.copyOf(txBytes, newLength); in insertBucket() 452 if (txPackets != null) txPackets = Arrays.copyOf(txPackets, newLength); in insertBucket() 453 if (operations != null) operations = Arrays.copyOf(operations, newLength); in insertBucket()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | PasswordTextView.java | 218 int newLength = mText.length(); in append() local 220 if (newLength > visibleChars) { in append() 224 charState = mTextChars.get(newLength - 1); in append() 230 if (newLength > 1) { in append() 231 CharState previousState = mTextChars.get(newLength - 2); in append()
|
/frameworks/base/core/java/android/content/res/ |
D | AssetManager.java | 313 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/android/text/ |
D | SpannableStringBuilder.java | 148 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()
|
D | TextUtils.java | 1239 return iterator.destinationIndex() + iterator.newLength(); in toUpperMapToDest()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | PointerLocationView.java | 945 final int newLength = mLength + length; 948 if (newLength > oldCapacity) {
|
/frameworks/base/non-updatable-api/ |
D | current.txt | 20518 method public int newLength();
|
/frameworks/base/api/ |
D | current.txt | 20518 method public int newLength();
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 28568 Landroid/icu/text/Edits$Iterator;->newLength()I
|