/frameworks/base/tests/net/java/android/net/ |
D | IpSecAlgorithmTest.java | 63 algData.getKey(), Arrays.copyOf(KEY_MATERIAL, algData.getValue() / 8)); in testNoTruncLen() 70 new IpSecAlgorithm(IpSecAlgorithm.CRYPT_AES_CBC, Arrays.copyOf(KEY_MATERIAL, 256 / 8)); in testNoTruncLen() 78 Arrays.copyOf(KEY_MATERIAL, 512 / 8), in testTruncLenValidation() 86 Arrays.copyOf(KEY_MATERIAL, 512 / 8), in testTruncLenValidation() 97 new IpSecAlgorithm(IpSecAlgorithm.CRYPT_AES_CBC, Arrays.copyOf(KEY_MATERIAL, len / 8)); in testLenValidation() 100 new IpSecAlgorithm(IpSecAlgorithm.CRYPT_AES_CBC, Arrays.copyOf(KEY_MATERIAL, 384 / 8)); in testLenValidation() 109 new IpSecAlgorithm("rot13", Arrays.copyOf(KEY_MATERIAL, 128 / 8)); in testAlgoNameValidation() 119 IpSecAlgorithm.AUTH_HMAC_SHA512, Arrays.copyOf(KEY_MATERIAL, 512 / 8), 256); in testParcelUnparcel()
|
/frameworks/base/services/robotests/backup/src/com/android/server/backup/encryption/chunking/ |
D | EncryptedChunkTest.java | 39 Arrays.copyOf(new byte[] {1}, ChunkHash.HASH_LENGTH_BYTES); 41 Arrays.copyOf(new byte[] {2}, EncryptedChunk.NONCE_LENGTH_BYTES); 43 Arrays.copyOf(new byte[] {3}, EncryptedChunk.KEY_LENGTH_BYTES); 46 Arrays.copyOf(new byte[] {4}, ChunkHash.HASH_LENGTH_BYTES); 48 Arrays.copyOf(new byte[] {5}, EncryptedChunk.NONCE_LENGTH_BYTES); 50 Arrays.copyOf(new byte[] {6}, EncryptedChunk.KEY_LENGTH_BYTES); 55 byte[] shortNonce = Arrays.copyOf(new byte[] {2}, EncryptedChunk.NONCE_LENGTH_BYTES - 1); in testCreate_withIncorrectLength_throwsException()
|
D | LengthlessEncryptedChunkEncoderTest.java | 42 Arrays.copyOf(new byte[] {1}, EncryptedChunk.NONCE_LENGTH_BYTES); 44 Arrays.copyOf(new byte[] {2}, EncryptedChunk.KEY_LENGTH_BYTES);
|
D | InlineLengthsEncryptedChunkEncoderTest.java | 43 Arrays.copyOf(new byte[] {1}, EncryptedChunk.NONCE_LENGTH_BYTES); 45 Arrays.copyOf(new byte[] {2}, EncryptedChunk.KEY_LENGTH_BYTES);
|
/frameworks/base/core/tests/coretests/src/android/hardware/display/ |
D | BrightnessConfigurationTest.java | 62 float[] lux = Arrays.copyOf(LUX_LEVELS, LUX_LEVELS.length); in testCurveMustHaveZeroLuxPoint() 80 float[] lux = Arrays.copyOf(LUX_LEVELS, LUX_LEVELS.length + 1); in testCurveMustNotHaveArraysOfDifferentLengths() 86 float[] nits = Arrays.copyOf(NITS_LEVELS, NITS_LEVELS.length + 1); in testCurveMustNotHaveArraysOfDifferentLengths() 95 float[] lux = Arrays.copyOf(LUX_LEVELS, LUX_LEVELS.length); in testCurvesMustNotContainNaN() 101 float[] nits = Arrays.copyOf(NITS_LEVELS, NITS_LEVELS.length); in testCurvesMustNotContainNaN() 133 float[] lux = Arrays.copyOf(LUX_LEVELS, LUX_LEVELS.length); in testEquals() 139 float[] nits = Arrays.copyOf(NITS_LEVELS, NITS_LEVELS.length); in testEquals()
|
D | AmbientBrightnessDayStatsTest.java | 66 float[] stats = Arrays.copyOf(STATS, STATS.length + 1); in testStatsAndBoundariesMustHaveSameLength() 139 float[] differentStats = Arrays.copyOf(STATS, STATS.length); in testAmbientBrightnessDayStatsEquals() 146 float[] differentBucketBoundaries = Arrays.copyOf(BUCKET_BOUNDARIES, in testAmbientBrightnessDayStatsEquals()
|
/frameworks/base/core/java/android/net/metrics/ |
D | DnsEvent.java | 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/hardware/location/ |
D | ContextHubMessage.java | 66 return Arrays.copyOf(mData, mData.length); in getData() 93 mData = Arrays.copyOf(data, data.length); in setMsgData() 106 mData = Arrays.copyOf(data, data.length); in ContextHubMessage()
|
/frameworks/rs/tests/java_api/HealingBrush/src/rs/example/android/com/healingbrush/ |
D | DrawView.java | 105 ret = new Region(Arrays.copyOf(defaultPath, defaultPath.length), img); in getRegion() 107 ret = new Region(Arrays.copyOf(path, len), img); in getRegion() 131 path = Arrays.copyOf(path, 2 * (len + size * 2)); in movePoint() 143 path = Arrays.copyOf(path, 2 * (len + 2)); in upPoint()
|
/frameworks/base/tools/powermodel/src/com/android/powermodel/ |
D | AppList.java | 77 result.mAllApps = ImmutableList.copyOf(allApps); in build() 78 result.mRegularApps = ImmutableList.copyOf(regularApps); in build() 79 result.mSpecialApps = ImmutableMap.copyOf(specialApps); in build()
|
/frameworks/base/core/java/android/view/textservice/ |
D | SentenceSuggestionsInfo.java | 54 mSuggestionsInfos = Arrays.copyOf(suggestionsInfos, infoSize); in SentenceSuggestionsInfo() 55 mOffsets = Arrays.copyOf(offsets, infoSize); in SentenceSuggestionsInfo() 56 mLengths = Arrays.copyOf(lengths, infoSize); in SentenceSuggestionsInfo()
|
/frameworks/base/tools/powermodel/src/com/android/powermodel/component/ |
D | CpuProfile.java | 67 mCoreCount = Arrays.copyOf(value, value.length); in setCoreCount() 75 mCoreSpeeds.put(cluster, Arrays.copyOf(value, value.length)); in setCoreSpeeds() 91 mCorePower.put(cluster, Arrays.copyOf(value, value.length)); in setCorePower()
|
D | ModemProfile.java | 44 return Arrays.copyOf(txMa, txMa.length); in getTxMa() 74 mTxMa = Arrays.copyOf(value, value.length); in setTxMa()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/main/java/com/google/protobuf/ |
D | UnknownFieldSetLite.java | 78 int[] tags = Arrays.copyOf(first.tags, count); in mutableCopyOf() 80 Object[] objects = Arrays.copyOf(first.objects, count); in mutableCopyOf() 287 tags = Arrays.copyOf(tags, newLength); in ensureCapacity() 288 objects = Arrays.copyOf(objects, newLength); in ensureCapacity()
|
/frameworks/rs/tests/java_api/SSHealingBrush/src/rs/example/android/com/healingbrush/ |
D | DrawView.java | 97 Region ret = new Region(Arrays.copyOf(path, len), img); in getRegion() 120 path = Arrays.copyOf(path, 2 * (len + size * 2)); in movePoint() 132 path = Arrays.copyOf(path, 2 * (len + 2)); in upPoint()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/storage/ |
D | RecoverySessionStorageTest.java | 164 return Arrays.copyOf(TEST_LSKF_HASH, TEST_LSKF_HASH.length); in lskfHashFixture() 168 return Arrays.copyOf(TEST_KEY_CLAIMANT, TEST_KEY_CLAIMANT.length); in keyClaimantFixture() 172 return Arrays.copyOf(TEST_VAULT_PARAMS, TEST_VAULT_PARAMS.length); in vaultParamsFixture()
|
/frameworks/base/services/backup/java/com/android/server/backup/encryption/chunking/cdc/ |
D | ContentDefinedChunker.java | 104 chunkConsumer.accept(Arrays.copyOf(mChunkBuffer, chunkLength)); in chunkify() 111 chunkConsumer.accept(Arrays.copyOf(mChunkBuffer, chunkLength)); in chunkify()
|
/frameworks/base/core/java/android/hardware/camera2/params/ |
D | TonemapCurve.java | 123 mRed = Arrays.copyOf(red, red.length); in TonemapCurve() 124 mGreen = Arrays.copyOf(green, green.length); in TonemapCurve() 125 mBlue = Arrays.copyOf(blue, blue.length); in TonemapCurve()
|
/frameworks/base/wifi/java/android/net/wifi/hotspot2/pps/ |
D | HomeSp.java | 247 mMatchAllOis = Arrays.copyOf(source.mMatchAllOis, source.mMatchAllOis.length); in HomeSp() 250 mMatchAnyOis = Arrays.copyOf(source.mMatchAnyOis, source.mMatchAnyOis.length); in HomeSp() 253 mOtherHomePartners = Arrays.copyOf(source.mOtherHomePartners, in HomeSp() 257 mRoamingConsortiumOis = Arrays.copyOf(source.mRoamingConsortiumOis, in HomeSp()
|
/frameworks/base/services/robotests/backup/src/com/android/server/backup/encryption/chunk/ |
D | ChunkHashTest.java | 35 private static final byte[] TEST_HASH_1 = Arrays.copyOf(new byte[] {1}, HASH_LENGTH_BYTES); 36 private static final byte[] TEST_HASH_2 = Arrays.copyOf(new byte[] {2}, HASH_LENGTH_BYTES);
|
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/ |
D | Cube.java | 52 mVert = Arrays.copyOf(src.mVert, src.mVert.length); in clone() 53 mIndex = Arrays.copyOf(src.mIndex, src.mIndex.length); in clone()
|
D | TriData.java | 59 mVert = Arrays.copyOf(clone.mVert, clone.mVert.length); in TriData() 60 mIndex = Arrays.copyOf(clone.mIndex, clone.mIndex.length); in TriData()
|
/frameworks/base/core/java/android/net/ |
D | NetworkStats.java | 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() 401 txBytes = Arrays.copyOf(txBytes, newLength); in addValues() [all …]
|
/frameworks/base/services/core/java/com/android/server/locksettings/ |
D | SyntheticPasswordCrypto.java | 98 SecretKeySpec key = new SecretKeySpec(Arrays.copyOf(keyHash, AES_KEY_LENGTH), in encrypt() 112 SecretKeySpec key = new SecretKeySpec(Arrays.copyOf(keyHash, AES_KEY_LENGTH), in decrypt() 209 personalisation = Arrays.copyOf(personalisation, PADDING_LENGTH); in personalisedHash()
|
/frameworks/base/core/java/android/util/ |
D | IntArray.java | 72 return wrap(Arrays.copyOf(array, size)); in fromArray() 226 return Arrays.copyOf(mValues, mSize); in toArray()
|