/packages/modules/Connectivity/tests/unit/java/android/net/ |
D | IpSecAlgorithmTest.java | 63 return Arrays.copyOf(KEY_MATERIAL, keyLenInBits / 8); in generateKey() 82 algData.getKey(), Arrays.copyOf(KEY_MATERIAL, algData.getValue() / 8)); in testNoTruncLen() 89 new IpSecAlgorithm(IpSecAlgorithm.CRYPT_AES_CBC, Arrays.copyOf(KEY_MATERIAL, 256 / 8)); in testNoTruncLen() 142 Arrays.copyOf(KEY_MATERIAL, 512 / 8), in testTruncLenValidation() 150 Arrays.copyOf(KEY_MATERIAL, 512 / 8), in testTruncLenValidation() 161 new IpSecAlgorithm(IpSecAlgorithm.CRYPT_AES_CBC, Arrays.copyOf(KEY_MATERIAL, len / 8)); in testLenValidation() 164 new IpSecAlgorithm(IpSecAlgorithm.CRYPT_AES_CBC, Arrays.copyOf(KEY_MATERIAL, 384 / 8)); in testLenValidation() 173 new IpSecAlgorithm("rot13", Arrays.copyOf(KEY_MATERIAL, 128 / 8)); in testAlgoNameValidation() 183 IpSecAlgorithm.AUTH_HMAC_SHA512, Arrays.copyOf(KEY_MATERIAL, 512 / 8), 256); in testParcelUnparcel()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/ |
D | AuctionServerDataCompressor.java | 52 return Arrays.copyOf(mData, mData.length); in getData() 57 return new UncompressedData(Arrays.copyOf(data, data.length)); in create() 76 return Arrays.copyOf(mData, mData.length); in getData() 81 return new CompressedData(Arrays.copyOf(data, data.length)); in create()
|
D | AuctionServerPayloadUnformattedData.java | 36 return Arrays.copyOf(mData, mData.length); in getData() 41 return new AuctionServerPayloadUnformattedData(Arrays.copyOf(data, data.length)); in create()
|
D | AuctionServerPayloadFormattedData.java | 36 return Arrays.copyOf(mData, mData.length); in getData() 41 return new AuctionServerPayloadFormattedData(Arrays.copyOf(data, data.length)); in create()
|
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/discovery/info/ |
D | FiraConnectorCapabilitiesTest.java | 79 byte[] bytes = Arrays.copyOf(TEST_BYTES, TEST_BYTES.length); in fromBytes_invalidProtocolVersion() 87 byte[] bytes = Arrays.copyOf(TEST_BYTES, TEST_BYTES.length); in fromBytes_invalidOptimizedDataPacketSize() 96 byte[] bytes = Arrays.copyOf(TEST_BYTES, TEST_BYTES.length); in fromBytes_invalidMaxMessageBufferSize() 105 byte[] bytes = Arrays.copyOf(TEST_BYTES, TEST_BYTES.length); in fromBytes_invalidMaxConcurrentFragmentedMessageSessionSupported() 113 byte[] bytes = Arrays.copyOf(TEST_BYTES, TEST_BYTES.length); in fromBytes_invalidSecureComponent()
|
D | RegulatoryInfoTest.java | 63 byte[] bytes = Arrays.copyOf(TEST_BYTES, TEST_BYTES.length); in fromBytes_invalidSourceOfInfo() 70 byte[] bytes = Arrays.copyOf(TEST_BYTES, TEST_BYTES.length); in fromBytes_invalidReservedField() 77 byte[] bytes = Arrays.copyOf(TEST_BYTES, TEST_BYTES.length); in fromBytes_invalidCountryCode() 143 byte[] bytes = Arrays.copyOf(TEST_BYTES, TEST_BYTES.length); in testSourceOfInfo()
|
D | FiraConnectorMessageTest.java | 63 byte[] bytes = Arrays.copyOf(TEST_BYTES, TEST_BYTES.length); in fromBytes_failedInvalidMessageType() 71 byte[] bytes = Arrays.copyOf(TEST_BYTES, TEST_BYTES.length); in fromBytes_failedInvalidInstructionCode() 79 byte[] bytes = Arrays.copyOf(TEST_BYTES, TEST_BYTES.length); in testHeaderFromBytes()
|
/packages/modules/ImsMedia/framework/src/android/telephony/imsmedia/ |
D | MediaQualityThreshold.java | 69 mRtpInactivityTimerMillis = Arrays.copyOf(builder.mRtpInactivityTimerMillis, in MediaQualityThreshold() 74 mRtpPacketLossRate = Arrays.copyOf(builder.mRtpPacketLossRate, in MediaQualityThreshold() 76 mRtpJitterMillis = Arrays.copyOf(builder.mRtpJitterMillis, in MediaQualityThreshold() 234 this.mRtpInactivityTimerMillis = Arrays.copyOf(timer, timer.length); in setRtpInactivityTimerMillis() 286 this.mRtpPacketLossRate = Arrays.copyOf(packetLossRate, packetLossRate.length); in setRtpPacketLossRate() 298 this.mRtpJitterMillis = Arrays.copyOf(jitter, jitter.length); in setRtpJitterMillis()
|
/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/AppSearch/testing/coretests/src/android/app/appsearch/external/safeparcel/ |
D | GenericDocumentParcelTest.java | 52 .isEqualTo(Arrays.copyOf(stringValues, stringValues.length)); in testPropertyParcel_onePropertySet_success() 58 .isEqualTo(Arrays.copyOf(longValues, longValues.length)); in testPropertyParcel_onePropertySet_success() 64 .isEqualTo(Arrays.copyOf(doubleValues, doubleValues.length)); in testPropertyParcel_onePropertySet_success() 70 .isEqualTo(Arrays.copyOf(booleanValues, booleanValues.length)); in testPropertyParcel_onePropertySet_success() 76 .isEqualTo(Arrays.copyOf(bytesValues, bytesValues.length)); in testPropertyParcel_onePropertySet_success() 82 .isEqualTo(Arrays.copyOf(embeddingValues, embeddingValues.length)); in testPropertyParcel_onePropertySet_success() 88 .isEqualTo(Arrays.copyOf(docValues, docValues.length)); in testPropertyParcel_onePropertySet_success()
|
/packages/modules/Connectivity/nearby/service/java/com/android/server/nearby/managers/ |
D | MergedDiscoveryRequest.java | 75 return ImmutableSet.copyOf(mScanTypes); in getScanTypes() 80 return ImmutableSet.copyOf(mActions); in getActions() 85 return ImmutableSet.copyOf(mScanFilters); in getScanFilters() 90 return ImmutableSet.copyOf(mMediums); in getMediums()
|
/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/modules/Uwb/androidx_backend/src/androidx/core/uwb/backend/impl/internal/ |
D | UwbServiceImpl.java | 250 ImmutableList.copyOf(supportedChannels), in getRangingCapabilities() 251 ImmutableList.copyOf(supportedNtfConfigs), in getRangingCapabilities() 252 ImmutableList.copyOf(supportedConfigIds), in getRangingCapabilities() 253 ImmutableList.copyOf(supportedSlotDurations), in getRangingCapabilities() 254 ImmutableList.copyOf(supportedRangingUpdateRates), in getRangingCapabilities()
|
/packages/modules/AdServices/adservices/libraries/cobalt/java/com/android/cobalt/data/ |
D | EventVector.java | 36 return new AutoValue_EventVector(ImmutableList.copyOf(eventCodes)); in create() 45 return new AutoValue_EventVector(ImmutableList.copyOf(eventCodes)); in create()
|
/packages/modules/AdServices/adservices/service-core/jni/java/com/android/adservices/ohttp/ |
D | EncapsulatedSharedSecret.java | 39 : Arrays.copyOf(originalBytes, originalBytes.length); in serializeToBytes() 46 : new AutoValue_EncapsulatedSharedSecret(Arrays.copyOf(bytes, bytes.length)); in create()
|
D | ObliviousHttpRequest.java | 46 return Arrays.copyOf(plainText(), plainText().length); in getPlainText() 51 return Arrays.copyOf(cipherText(), cipherText().length); in getCipherText()
|
/packages/services/Car/service/src/com/android/car/audio/ |
D | AudioFocusStack.java | 35 mActiveFocusList = List.copyOf(activeFocusList); in AudioFocusStack() 36 mInactiveFocusList = List.copyOf(inactiveFocusList); in AudioFocusStack()
|
/packages/modules/Connectivity/service-t/src/com/android/server/net/ |
D | InterfaceMapValue.java | 33 interfaceName = Arrays.copyOf(iface.getBytes(), IF_NAME_SIZE); in InterfaceMapValue() 44 interfaceName = Arrays.copyOf(ifName, IF_NAME_SIZE); in InterfaceMapValue()
|
/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() 173 p.clientId = mClientId == null ? null : Arrays.copyOf(mClientId, mClientId.length); in toParcelable()
|
/packages/modules/AdServices/adservices/tests/unittest/framework/src/com/android/adservices/ |
D | AdServicesParcelableUtilTest.java | 176 ImmutableMap.copyOf( in testWriteMapToParcelThenRead_success() 222 ImmutableSet.copyOf( in testWriteSetToParcelThenRead_success() 259 ImmutableSet.copyOf(AdServicesParcelableUtil.readStringSetFromParcel(targetParcel)); in testWriteStringSetToParcelThenRead_success() 294 ImmutableSet.copyOf( in testWriteIntegerSetToParcelThenRead_success() 347 ImmutableList.copyOf( in testWriteInstantListToParcelThenRead_success()
|
/packages/apps/Car/SystemUI/src/com/android/systemui/car/users/ |
D | CarDisplayTrackerImpl.java | 77 callbacks = List.copyOf(mDisplayCallbacks); 86 callbacks = List.copyOf(mDisplayCallbacks); 95 callbacks = List.copyOf(mDisplayCallbacks); 115 callbacks = List.copyOf(mBrightnessCallbacks);
|
/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/Mms/tests/unittests/src/com/android/mms/service/metrics/ |
D | PersistMmsAtomsStorageTest.java | 255 mTestablePersistMmsAtomsStorage.addIncomingMms(copyOf(mIncomingMms1Proto)); in addIncomingMms_updateExistingEntries() 261 IncomingMms newIncomingMm1Proto = copyOf(mIncomingMms1Proto); in addIncomingMms_updateExistingEntries() 298 IncomingMms lastMms = copyOf(mms); in addIncomingMms_tooManyEntries() 395 mTestablePersistMmsAtomsStorage.addOutgoingMms(copyOf(mOutgoingMms1Proto)); in addOutgoingMms_updateExistingEntries() 401 OutgoingMms newOutgoingMm1Proto = copyOf(mOutgoingMms1Proto); in addOutgoingMms_updateExistingEntries() 439 OutgoingMms lastMms = copyOf(mms); in addOutgoingMms_tooManyEntries() 611 private static IncomingMms copyOf(IncomingMms source) { in copyOf() method in PersistMmsAtomsStorageTest 615 private static OutgoingMms copyOf(OutgoingMms source) { in copyOf() method in PersistMmsAtomsStorageTest
|