/packages/modules/Connectivity/tests/unit/java/android/net/ |
D | IpSecAlgorithmTest.java | 62 return Arrays.copyOf(KEY_MATERIAL, keyLenInBits / 8); in generateKey() 81 algData.getKey(), Arrays.copyOf(KEY_MATERIAL, algData.getValue() / 8)); in testNoTruncLen() 88 new IpSecAlgorithm(IpSecAlgorithm.CRYPT_AES_CBC, Arrays.copyOf(KEY_MATERIAL, 256 / 8)); in testNoTruncLen() 143 Arrays.copyOf(KEY_MATERIAL, 512 / 8), in testTruncLenValidation() 151 Arrays.copyOf(KEY_MATERIAL, 512 / 8), in testTruncLenValidation() 162 new IpSecAlgorithm(IpSecAlgorithm.CRYPT_AES_CBC, Arrays.copyOf(KEY_MATERIAL, len / 8)); in testLenValidation() 165 new IpSecAlgorithm(IpSecAlgorithm.CRYPT_AES_CBC, Arrays.copyOf(KEY_MATERIAL, 384 / 8)); in testLenValidation() 174 new IpSecAlgorithm("rot13", Arrays.copyOf(KEY_MATERIAL, 128 / 8)); in testAlgoNameValidation() 184 IpSecAlgorithm.AUTH_HMAC_SHA512, Arrays.copyOf(KEY_MATERIAL, 512 / 8), 256); in testParcelUnparcel()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/expected/ |
D | AbstractKeyboardBuilder.java | 58 mRows[rowIndex] = Arrays.copyOf(row, row.length); in AbstractKeyboardBuilder() 104 : Arrays.copyOf(mRows, rowIndex + 1); in setRowAt() 128 final E[] newElements = Arrays.copyOf(elements, elements.length + 1); in setElementAt() 139 : Arrays.copyOf(elements, columnIndex + 1); in setElementAt()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/watchdog/ |
D | ResourceOveruseConfigurationSubject.java | 70 && ImmutableSet.copyOf(actual.getSafeToKillPackages()).equals( in isEquals() 71 ImmutableSet.copyOf(expected.getSafeToKillPackages())) in isEquals() 72 && ImmutableSet.copyOf(actual.getVendorPackagePrefixes()).equals( in isEquals() 73 ImmutableSet.copyOf(expected.getVendorPackagePrefixes())) in isEquals()
|
D | InternalResourceOveruseConfigurationSubject.java | 119 && ImmutableSet.copyOf(actual.safeToKillPackages).equals( in isEquals() 120 ImmutableSet.copyOf(expected.safeToKillPackages)) in isEquals() 121 && ImmutableSet.copyOf(actual.vendorPackagePrefixes).equals( in isEquals() 122 ImmutableSet.copyOf(expected.vendorPackagePrefixes)) in isEquals()
|
/packages/modules/Connectivity/tests/common/java/android/net/ |
D | DependenciesTest.java | 84 final byte[] copy = Arrays.copyOf(src, src.length); in testCopyOf() 88 assertArrayEquals(new byte[0], Arrays.copyOf(src, 0)); in testCopyOf() 91 final byte[] biggerCopy = Arrays.copyOf(src, src.length + excess); in testCopyOf()
|
/packages/apps/MusicFX/src/com/android/musicfx/ |
D | ControlPanelEffect.java | 262 mEQPresetOpenSLESBandLevel[preset] = Arrays.copyOf( in initEffectsPreferences() 274 final short[] eQPresetCIExtremeBandLevel = Arrays.copyOf( in initEffectsPreferences() 276 final short[] eQPresetUserBandLevelDefault = Arrays.copyOf( in initEffectsPreferences() 618 final short[] eQPresetCIExtremeBandLevelDefault = Arrays.copyOf( in setParameterInt() 620 final short[] eQPresetUserBandLevelDefault = Arrays.copyOf( in setParameterInt() 706 final short[][] eQPresetOpenSLESBandLevelDefault = Arrays.copyOf( in setParameterInt() 708 final short[] eQPresetCIExtremeBandLevelDefault = Arrays.copyOf( in setParameterInt() 710 final short[] eQPresetUserBandLevelDefault = Arrays.copyOf( in setParameterInt() 1138 final short[] eQPresetCIExtremeBandLevel = Arrays.copyOf( in openSession() 1140 final short[] eQPresetUserBandLevelDefault = Arrays.copyOf( in openSession()
|
/packages/modules/NetworkStack/src/android/net/dhcp/ |
D | DhcpLease.java | 59 mClientId = (clientId == null ? null : Arrays.copyOf(clientId, clientId.length)); in DhcpLease() 77 return Arrays.copyOf(mClientId, mClientId.length); in getClientId() 172 p.clientId = mClientId == null ? null : Arrays.copyOf(mClientId, mClientId.length); in toParcelable()
|
/packages/modules/Wifi/framework/java/android/net/wifi/hotspot2/pps/ |
D | HomeSp.java | 309 mMatchAllOis = Arrays.copyOf(source.mMatchAllOis, source.mMatchAllOis.length); in HomeSp() 312 mMatchAnyOis = Arrays.copyOf(source.mMatchAnyOis, source.mMatchAnyOis.length); in HomeSp() 315 mOtherHomePartners = Arrays.copyOf(source.mOtherHomePartners, in HomeSp() 319 mRoamingConsortiumOis = Arrays.copyOf(source.mRoamingConsortiumOis, in HomeSp()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/ |
D | RecentTasksList.java | 103 ArrayList<Task> result = copyOf(mResultsUi); in getTasks() 123 ArrayList<Task> result = copyOf(mResultsUi); in getTasks() 216 private ArrayList<Task> copyOf(ArrayList<Task> tasks) { in copyOf() method in RecentTasksList
|
/packages/apps/Camera2/src/com/android/camera/one/v2/core/ |
D | ResponseListenerBroadcaster.java | 35 mListeners = ImmutableList.copyOf(listeners); in ResponseListenerBroadcaster() 39 mListeners = ImmutableList.copyOf(listeners); in ResponseListenerBroadcaster()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/ |
D | VolumeGroupBuilder.java | 79 .thenReturn(ImmutableList.copyOf(array))); in build() 82 .thenReturn(ImmutableList.copyOf(addressToContexts.keySet())); in build()
|
/packages/modules/IPsec/src/java/android/net/ipsec/ike/ |
D | ChildSessionParams.java | 250 return Arrays.copyOf(mInboundTrafficSelectors, mInboundTrafficSelectors.length); in getInboundTrafficSelectorsInternal() 255 return Arrays.copyOf(mOutboundTrafficSelectors, mOutboundTrafficSelectors.length); in getOutboundTrafficSelectorsInternal() 260 return Arrays.copyOf(mSaProposals, mSaProposals.length); in getSaProposalsInternal()
|
/packages/modules/IPsec/src/java/com/android/internal/net/eap/statemachine/ |
D | EapMsChapV2MethodStateMachine.java | 532 return Arrays.copyOf(sha1.digest(), CHALLENGE_HASH_LEN); in challengeHash() 562 byte[] zPasswordHash = Arrays.copyOf(passwordHash, Z_PASSWORD_HASH_LEN); in challengeResponse() 590 return Arrays.copyOf(output, RESPONSE_SECTION_LEN); in desEncrypt() 648 return Arrays.copyOf(sha1.digest(), MASTER_KEY_LEN); in getMasterKey() 662 return Arrays.copyOf(sha1.digest(), SESSION_KEY_LEN); in getAsymmetricStartKey()
|
/packages/apps/Tag/src/com/android/apps/tag/record/ |
D | MimeRecord.java | 45 mContent = Arrays.copyOf(content, content.length); in MimeRecord() 55 return Arrays.copyOf(mContent, mContent.length); in getContent()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/ |
D | BoundedRect.java | 190 float[] c0 = Arrays.copyOf(c, 2); in resizeInner() 280 float[] c0 = Arrays.copyOf(c, 2); in fixedAspectResizeInner() 347 float[] unrotated = Arrays.copyOf(innerRotated, 8); in reconstrain()
|
/packages/providers/MediaProvider/src/com/android/providers/media/util/ |
D | LongArray.java | 67 return wrap(Arrays.copyOf(array, size)); in fromArray() 208 return Arrays.copyOf(mValues, mSize); in toArray()
|
D | RedactingFileDescriptor.java | 126 res = Arrays.copyOf(res, res.length + 4); in removeRange() 133 res = Arrays.copyOf(res, res.length + 2); in removeRange()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
D | FilterDrawRepresentation.java | 106 mPoints = Arrays.copyOf(copy.mPoints, copy.mPoints.length); in StrokeData() 294 mCurrent.mPoints = Arrays.copyOf(mCurrent.mPoints, mCurrent.mPoints.length * 2); in addPoint() 372 stroke.mPoints = Arrays.copyOf(stroke.mPoints, count * 2); in deSerializeRepresentation()
|
/packages/apps/Dialer/java/com/android/dialer/blocking/ |
D | Blocking.java | 174 return ImmutableMap.copyOf(blockedStatus); 181 return ImmutableMap.copyOf(blockedStatus);
|
/packages/apps/Dialer/java/com/android/dialer/speeddial/loader/ |
D | SpeedDialUiItemMutator.java | 301 ImmutableList.copyOf(entriesToInsert), in loadSpeedDialUiItemsInternal() 302 ImmutableList.copyOf(entriesToUpdate), in loadSpeedDialUiItemsInternal() 303 ImmutableList.copyOf(entriesToDelete)); in loadSpeedDialUiItemsInternal() 334 return ImmutableList.copyOf(speedDialUiItems); in speedDialUiItemsWithUpdatedIds()
|
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
D | TunUtils.java | 99 return Arrays.copyOf(inBytes, bytesRead); in receiveFromTun() 201 byte[] reflected = Arrays.copyOf(pkt, pkt.length); in getReflectedPacket()
|
/packages/modules/IPsec/tests/cts/src/android/ipsec/ike/cts/ |
D | TunUtils.java | 107 return Arrays.copyOf(inBytes, bytesRead); in receiveFromTun() 207 byte[] reflected = Arrays.copyOf(pkt, pkt.length); in getReflectedPacket()
|
/packages/apps/TV/tests/common/src/com/android/tv/testing/ |
D | EpgTestData.java | 173 ImmutableList.copyOf(channels), in toTvChannels() 194 ImmutableList.copyOf(programs),
|
D | FakeEpgReader.java | 124 return ImmutableList.copyOf( in getPrograms() 142 ImmutableList.copyOf(Iterables.filter(programs, isProgramDuring(validRange)))); in getPrograms()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/controller/ |
D | ColorChooser.java | 173 cpd.setColor(Arrays.copyOf(c, 4)); in showColorPicker() 174 cpd.setOrigColor(Arrays.copyOf(c, 4)); in showColorPicker()
|