Home
last modified time | relevance | path

Searched refs:copyOf (Results 1 – 25 of 92) sorted by relevance

1234

/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/expected/
DAbstractKeyboardBuilder.java58 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/apps/MusicFX/src/com/android/musicfx/
DControlPanelEffect.java262 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/
DDhcpLease.java59 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/IPsec/src/java/com/android/internal/net/eap/statemachine/
DEapMsChapV2MethodStateMachine.java528 return Arrays.copyOf(sha1.digest(), CHALLENGE_HASH_LEN); in challengeHash()
558 byte[] zPasswordHash = Arrays.copyOf(passwordHash, Z_PASSWORD_HASH_LEN); in challengeResponse()
586 return Arrays.copyOf(output, RESPONSE_SECTION_LEN); in desEncrypt()
644 return Arrays.copyOf(sha1.digest(), MASTER_KEY_LEN); in getMasterKey()
658 return Arrays.copyOf(sha1.digest(), SESSION_KEY_LEN); in getAsymmetricStartKey()
/packages/apps/Camera2/src/com/android/camera/one/v2/core/
DResponseListenerBroadcaster.java35 mListeners = ImmutableList.copyOf(listeners); in ResponseListenerBroadcaster()
39 mListeners = ImmutableList.copyOf(listeners); in ResponseListenerBroadcaster()
/packages/apps/Tag/src/com/android/apps/tag/record/
DMimeRecord.java45 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/
DBoundedRect.java190 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/apps/Dialer/java/com/android/dialer/speeddial/loader/
DSpeedDialUiItemMutator.java301 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/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
DFilterDrawRepresentation.java106 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/Launcher3/quickstep/src/com/android/quickstep/
DRecentTasksList.java90 : () -> callback.accept(copyOf(mTasks)); in getTasks()
183 private ArrayList<Task> copyOf(ArrayList<Task> tasks) { in copyOf() method in RecentTasksList
/packages/apps/Dialer/java/com/android/dialer/blocking/
DBlocking.java174 return ImmutableMap.copyOf(blockedStatus);
181 return ImmutableMap.copyOf(blockedStatus);
/packages/apps/TV/tests/common/src/com/android/tv/testing/
DEpgTestData.java173 ImmutableList.copyOf(channels), in toTvChannels()
194 ImmutableList.copyOf(programs),
DFakeEpgReader.java124 return ImmutableList.copyOf( in getPrograms()
142 ImmutableList.copyOf(Iterables.filter(programs, isProgramDuring(validRange)))); in getPrograms()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/controller/
DColorChooser.java173 cpd.setColor(Arrays.copyOf(c, 4)); in showColorPicker()
174 cpd.setOrigColor(Arrays.copyOf(c, 4)); in showColorPicker()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/internal/
DMoreKeySpecTests.java305 final String[] actual = Arrays.copyOf(moreKeys, moreKeys.length); in assertGetBooleanValue()
345 final String[] actual = Arrays.copyOf(moreKeys, moreKeys.length); in assertGetIntValue()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/security/
DInitialLockSetupServiceTest.java178 byte[] expectedPassword = Arrays.copyOf(password, password.length); in testSetLockPassword_setsDevicePassword()
190 byte[] expectedPassword = Arrays.copyOf(password, password.length); in testSetLockPin_setsDevicePin()
/packages/apps/TV/common/src/com/android/tv/common/flags/impl/
DDefaultCloudEpgFlags.java50 .addAllElement(ImmutableList.copyOf(value.split(","))) in setThirdPartyEpgInputCsv()
/packages/services/Car/tests/obd2_test/src/com/android/car/obd2/test/
DUtils.java40 int[] newArray = Arrays.copyOf(arrays[0], totalSize); in concatIntArrays()
/packages/apps/TV/common/src/com/android/tv/common/support/tis/
DSimpleSessionManager.java55 return ImmutableSet.copyOf(sessions); in getSessions()
/packages/apps/Tag/src/com/android/apps/tag/message/
DParsedNdefMessage.java38 mRecords = ImmutableList.copyOf(records); in ParsedNdefMessage()
/packages/apps/Camera2/src/com/android/camera/data/
DFilmstripItemAttributes.java99 return new FilmstripItemAttributes(EnumSet.copyOf(mAttributes)); in build()
/packages/apps/Settings/src/com/android/settings/biometrics/face/
DFaceEnrollSidecar.java39 mDisabledFeatures = Arrays.copyOf(disabledFeatures, disabledFeatures.length); in FaceEnrollSidecar()
/packages/modules/IPsec/src/java/android/net/ipsec/ike/
DIkeSessionParams.java379 return Arrays.copyOf(mPsk, mPsk.length); in getPsk()
492 Arrays.copyOf(
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/biometrics/face/
DFaceEnrollSidecar.java39 mDisabledFeatures = Arrays.copyOf(disabledFeatures, disabledFeatures.length); in FaceEnrollSidecar()
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapUtils.java436 utf8Bytes = Arrays.copyOf(utf8Bytes, i + 1); in truncateUtf8StringToBytearray()
443 utf8Bytes = Arrays.copyOf(utf8Bytes, maxLength); in truncateUtf8StringToBytearray()

1234