Home
last modified time | relevance | path

Searched refs:arraycopy (Results 1 – 25 of 324) sorted by relevance

12345678910>>...13

/frameworks/base/core/java/com/android/internal/util/
DGrowingArrayUtils.java51 System.arraycopy(array, 0, newArray, 0, currentSize); in append()
67 System.arraycopy(array, 0, newArray, 0, currentSize); in append()
82 System.arraycopy(array, 0, newArray, 0, currentSize); in append()
97 System.arraycopy(array, 0, newArray, 0, currentSize); in append()
112 System.arraycopy(array, 0, newArray, 0, currentSize); in append()
134 System.arraycopy(array, index, array, index + 1, currentSize - index); in insert()
142 System.arraycopy(array, 0, newArray, 0, index); in insert()
144 System.arraycopy(array, index, newArray, index + 1, array.length - index); in insert()
155 System.arraycopy(array, index, array, index + 1, currentSize - index); in insert()
161 System.arraycopy(array, 0, newArray, 0, index); in insert()
[all …]
/frameworks/libs/service_entitlement/java/com/android/libraries/entitlement/eapaka/
DMasterKey.java84 System.arraycopy(identityBytes, 0, data, index, identityBytes.length); in from()
86 System.arraycopy(ik, 0, data, index, ik.length); in from()
88 System.arraycopy(ck, 0, data, index, ck.length); in from()
122 System.arraycopy(teks, index, mEncr, 0, LENGTH_K_ENCR); in generateTransientEapKeys()
125 System.arraycopy(teks, index, mAut, 0, LENGTH_K_AUT); in generateTransientEapKeys()
128 System.arraycopy(teks, index, mMsk, 0, LENGTH_MSK); in generateTransientEapKeys()
131 System.arraycopy(teks, index, mEmsk, 0, LENGTH_EMSK); in generateTransientEapKeys()
196 System.arraycopy(w, 0, teks, index, 20); in generatePsudoRandomNumber()
238 System.arraycopy(BytesConverter.convertIntegerTo4Bytes(t[i]), 0, bytesH[i], 0, 4); in doFunctionG()
244 System.arraycopy(c, 0, bytesM1, 0, 20); in doFunctionG()
[all …]
DEapAkaChallenge.java170 System.arraycopy(data, index + 4, mRand, 0, RAND_LENGTH); in parseRandAndAutn()
177 System.arraycopy(data, index + 4, mAutn, 0, AUTN_LENGTH); in parseRandAndAutn()
199 System.arraycopy(mRand, 0, challengeData, 1, RAND_LENGTH); in getSimAuthChallengeData()
201 System.arraycopy(mAutn, 0, challengeData, RAND_LENGTH + 2, AUTN_LENGTH); in getSimAuthChallengeData()
/frameworks/base/obex/javax/obex/
DObexSession.java88 System.arraycopy(description, 1, realmString, 0, realmString.length); in handleAuthChall()
163 System.arraycopy(userName, 0, header.mAuthResp, 38, userName.length); in handleAuthChall()
170 System.arraycopy(challenge, 0, digest, 0, challenge.length); in handleAuthChall()
173 System.arraycopy(password, 0, digest, challenge.length + 1, password.length); in handleAuthChall()
179 System.arraycopy(ObexHelper.computeMd5Hash(digest), 0, header.mAuthResp, 2, 16); in handleAuthChall()
184 System.arraycopy(challenge, 0, header.mAuthResp, 20, 16); in handleAuthChall()
209 System.arraycopy(mChallengeDigest, 0, temp, 0, 16); in handleAuthResp()
210 System.arraycopy(correctPassword, 0, temp, 16, correctPassword.length); in handleAuthResp()
DClientSession.java114 System.arraycopy(header.nonce, 0, mChallengeDigest, 0, 16); in connect()
137 System.arraycopy(head, 0, requestPacket, 4, head.length); in connect()
182 System.arraycopy(head.nonce, 0, mChallengeDigest, 0, 16); in get()
188 System.arraycopy(mConnectionId, 0, head.mConnectionID, 0, 4); in get()
237 System.arraycopy(header.nonce, 0, mChallengeDigest, 0, 16); in disconnect()
242 System.arraycopy(mConnectionId, 0, header.mConnectionID, 0, 4); in disconnect()
254 System.arraycopy(mConnectionId, 0, head, 1, 4); in disconnect()
302 System.arraycopy(head.nonce, 0, mChallengeDigest, 0, 16); in put()
310 System.arraycopy(mConnectionId, 0, head.mConnectionID, 0, 4); in put()
348 System.arraycopy(headset.nonce, 0, mChallengeDigest, 0, 16); in setPath()
[all …]
DPrivateInputStream.java122 System.arraycopy(mData, mIndex, b, offset1, currentDataLength); in read()
134 System.arraycopy(mData, mIndex, b, offset1, remainReadLength); in read()
152 System.arraycopy(mData, mIndex, temp, 0, mData.length - mIndex); in writeBytes()
153 System.arraycopy(body, start, temp, mData.length - mIndex, body.length - start); in writeBytes()
DApplicationParameter.java147 System.arraycopy(mArray, 0, array_tmp, 0, mLength); in addAPPHeader()
153 System.arraycopy(value, 0, mArray, mLength, len); in addAPPHeader()
159 System.arraycopy(mArray, 0, para, 0, mLength); in getAPPparam()
DPasswordAuthentication.java56 System.arraycopy(userName, 0, mUserName, 0, userName.length); in PasswordAuthentication()
60 System.arraycopy(password, 0, mPassword, 0, password.length); in PasswordAuthentication()
/frameworks/base/keystore/java/android/security/keystore/
DArrayUtils.java62 System.arraycopy(arr1, offset1, result, 0, len1); in concat()
63 System.arraycopy(arr2, offset2, result, len1, len2); in concat()
92 System.arraycopy(src, srcOffset, dst, dstOffset, length); in copy()
104 System.arraycopy(arr, offset, result, 0, len); in subarray()
115 System.arraycopy(arr1, 0, result, 0, arr1.length); in concat()
116 System.arraycopy(arr2, 0, result, arr1.length, arr2.length); in concat()
/frameworks/base/core/java/android/util/
DArraySet.java374 System.arraycopy(ohashes, 0, mHashes, 0, mSize); in ensureCapacity()
375 System.arraycopy(oarray, 0, mArray, 0, mSize); in ensureCapacity()
486 System.arraycopy(ohashes, 0, mHashes, 0, ohashes.length); in add()
487 System.arraycopy(oarray, 0, mArray, 0, oarray.length); in add()
497 System.arraycopy(mHashes, index, mHashes, index + 1, oSize - index); in add()
498 System.arraycopy(mArray, index, mArray, index + 1, oSize - index); in add()
555 System.arraycopy(array.mHashes, 0, mHashes, 0, N); in addAll()
556 System.arraycopy(array.mArray, 0, mArray, 0, N); in addAll()
637 System.arraycopy(ohashes, 0, mHashes, 0, index); in removeAt()
638 System.arraycopy(oarray, 0, mArray, 0, index); in removeAt()
[all …]
DIntArray.java111 System.arraycopy(mValues, index, mValues, index + 1, rightSegment); in add()
142 System.arraycopy(values.mValues, 0, mValues, mSize, count); in addAll()
153 System.arraycopy(values, 0, mValues, mSize, count); in addAll()
168 System.arraycopy(mValues, 0, newValues, 0, currentSize); in ensureCapacity()
222 System.arraycopy(mValues, index + 1, mValues, index, mSize - index - 1); in remove()
DArrayMap.java406 System.arraycopy(ohashes, 0, mHashes, 0, osize); in ensureCapacity()
407 System.arraycopy(oarray, 0, mArray, 0, osize<<1); in ensureCapacity()
605 System.arraycopy(ohashes, 0, mHashes, 0, ohashes.length); in put()
606 System.arraycopy(oarray, 0, mArray, 0, oarray.length); in put()
615 System.arraycopy(mHashes, index, mHashes, index + 1, osize - index); in put()
616 System.arraycopy(mArray, index << 1, mArray, (index + 1) << 1, (mSize - index) << 1); in put()
707 System.arraycopy(array.mHashes, 0, mHashes, 0, N); in putAll()
708 System.arraycopy(array.mArray, 0, mArray, 0, N<<1); in putAll()
784 System.arraycopy(ohashes, 0, mHashes, 0, index); in removeAt()
785 System.arraycopy(oarray, 0, mArray, 0, index << 1); in removeAt()
[all …]
DSparseLongArray.java133 System.arraycopy(mKeys, index + size, mKeys, index, mSize - (index + size)); in removeAtRange()
134 System.arraycopy(mValues, index + size, mValues, index, mSize - (index + size)); in removeAtRange()
142 System.arraycopy(mKeys, index + 1, mKeys, index, mSize - (index + 1)); in removeAt()
143 System.arraycopy(mValues, index + 1, mValues, index, mSize - (index + 1)); in removeAt()
DLongArray.java117 System.arraycopy(mValues, index, mValues, index + 1, rightSegment); in add()
130 System.arraycopy(values.mValues, 0, mValues, mSize, count); in addAll()
145 System.arraycopy(mValues, 0, newValues, 0, currentSize); in ensureCapacity()
205 System.arraycopy(mValues, index + 1, mValues, index, mSize - index - 1); in remove()
/frameworks/base/services/core/java/com/android/server/display/utils/
DRollingBuffer.java164 System.arraycopy(mTimes, mStart, times, 0, mCount - mStart); in expandBuffer()
165 System.arraycopy(mTimes, 0, times, mCount - mStart, mStart); in expandBuffer()
166 System.arraycopy(mValues, mStart, values, 0, mCount - mStart); in expandBuffer()
167 System.arraycopy(mValues, 0, values, mCount - mStart, mStart); in expandBuffer()
/frameworks/base/libs/hwui/apex/java/android/graphics/
DColorMatrix.java76 System.arraycopy(src, 0, mArray, 0, 20); in ColorMatrix()
83 System.arraycopy(src.mArray, 0, mArray, 0, 20); in ColorMatrix()
110 System.arraycopy(src.mArray, 0, mArray, 0, 20); in set()
117 System.arraycopy(src, 0, mArray, 0, 20); in set()
203 System.arraycopy(tmp, 0, mArray, 0, 20); in setConcat()
/frameworks/base/core/java/android/os/
DBroadcaster.java90 System.arraycopy(oldTargets, 0, r.targets, 0, n); in request()
92 System.arraycopy(oldWhats, 0, r.targetWhats, 0, n); in request()
130 System.arraycopy(targets, 0, r.targets, 0, i); in cancelRequest()
131 System.arraycopy(whats, 0, r.targetWhats, 0, i); in cancelRequest()
136 System.arraycopy(targets, i+1, r.targets, i, in cancelRequest()
138 System.arraycopy(whats, i+1, r.targetWhats, i, in cancelRequest()
DWorkSource.java330 System.arraycopy(other.mUids, 0, mUids, 0, mNum); in set()
336 System.arraycopy(other.mNames, 0, mNames, 0, mNum); in set()
634 if (i1 < N1) System.arraycopy(uids1, i1+1, uids1, i1, N1-i1); in removeUids()
669 System.arraycopy(uids1, i1+1, uids1, i1, N1-i1); in removeUidsAndNames()
670 System.arraycopy(names1, i1+1, names1, i1, N1-i1); in removeUidsAndNames()
735 if (i1 > 0) System.arraycopy(uids1, 0, newuids, 0, i1); in updateUidsLocked()
736 if (i1 < N1) System.arraycopy(uids1, i1, newuids, i1+1, N1-i1); in updateUidsLocked()
740 if (i1 < N1) System.arraycopy(uids1, i1, uids1, i1+1, N1-i1); in updateUidsLocked()
766 System.arraycopy(uids1, i1, uids1, start, N1-i1); in updateUidsLocked()
849 System.arraycopy(mUids, i1, mUids, start, mNum-i1); in updateUidsAndNamesLocked()
[all …]
/frameworks/libs/net/common/framework/com/android/net/module/util/
DDnsSdTxtRecord.java129 System.arraycopy(oldBytes, 0, mData, 0, avStart); in remove()
130 System.arraycopy(oldBytes, avStart + avLen + 1, mData, avStart, in remove()
182 System.arraycopy(oldBytes, 0, mData, 0, insertion); in insert()
184 System.arraycopy(oldBytes, insertion, mData, newLen - secondHalfLen, secondHalfLen); in insert()
186 System.arraycopy(keyBytes, 0, mData, insertion + 1, keyBytes.length); in insert()
189 System.arraycopy(value, 0, mData, insertion + keyBytes.length + 2, valLen); in insert()
233 System.arraycopy(mData, avStart + aLen + 2, value, 0, avLen - aLen - 1); in getValue()
/frameworks/base/core/tests/coretests/src/android/content/pm/
DLimitedLengthInputStreamTest.java87 System.arraycopy(TEST_STRING1, offset, expected, 0, length); in checkReadBytesWithOffsetAndLength_WithString1()
92 System.arraycopy(temp, 0, actual, 0, length); in checkReadBytesWithOffsetAndLength_WithString1()
128 System.arraycopy(temp, 0, actual, 0, actual.length); in testReadBytesWithOffsetAndLength_ZeroOffset_PastEnd_Success()
137 System.arraycopy(TEST_STRING1, offset, expected, 0, length); in checkReadBytes_WithString1()
142 System.arraycopy(temp, 0, actual, 0, length); in checkReadBytes_WithString1()
/frameworks/base/core/java/android/view/inputmethod/
DSparseRectFArray.java174 System.arraycopy(mKeys, 0, newArray, 0, mCount); in ensureBufferSize()
180 System.arraycopy(mCoordinates, 0, newArray, 0, mCount * 4); in ensureBufferSize()
186 System.arraycopy(mFlagsArray, 0, newArray, 0, mCount); in ensureBufferSize()
255 System.arraycopy(builder.mKeys, 0, mKeys, 0, builder.mCount); in SparseRectFArray()
256 System.arraycopy(builder.mCoordinates, 0, mCoordinates, 0, builder.mCount * 4); in SparseRectFArray()
257 System.arraycopy(builder.mFlagsArray, 0, mFlagsArray, 0, builder.mCount); in SparseRectFArray()
/frameworks/base/rs/java/android/renderscript/
DProgram.java276 System.arraycopy(str, 0, buf2, 0, str.length); in setShader()
372 System.arraycopy(mInputs, 0, p.mInputs, 0, mInputCount); in initProgram()
374 System.arraycopy(mOutputs, 0, p.mOutputs, 0, mOutputCount); in initProgram()
376 System.arraycopy(mConstants, 0, p.mConstants, 0, mConstantCount); in initProgram()
379 System.arraycopy(mTextureTypes, 0, p.mTextures, 0, mTextureCount); in initProgram()
381 System.arraycopy(mTextureNames, 0, p.mTextureNames, 0, mTextureCount); in initProgram()
/frameworks/base/telephony/common/com/google/android/mms/pdu/
DEncodedStringValue.java63 System.arraycopy(data, 0, mData, 0, data.length); in EncodedStringValue()
117 System.arraycopy(mData, 0, byteArray, 0, mData.length); in getTextString()
134 System.arraycopy(textString, 0, mData, 0, textString.length); in setTextString()
180 System.arraycopy(textString, 0, mData, 0, textString.length); in appendTextString()
205 System.arraycopy(mData, 0, dstBytes, 0, len); in clone()
/frameworks/base/services/core/java/com/android/server/utils/
DWatchedSparseBooleanMatrix.java257 System.arraycopy(mKeys, index + 1, mKeys, index, mSize - (index + 1)); in removeAt()
259 System.arraycopy(mMap, index + 1, mMap, index, mSize - (index + 1)); in removeAt()
429 System.arraycopy(mInUse, 0, newInUse, 0, minOrder); in resizeMatrix()
431 System.arraycopy(mMap, 0, newMap, 0, minOrder); in resizeMatrix()
433 System.arraycopy(mKeys, 0, newKeys, 0, minOrder); in resizeMatrix()
439 System.arraycopy(mValues, row, newValues, newRow, minOrder / PACKING); in resizeMatrix()
496 System.arraycopy(mValues, src * mOrder / PACKING, in pack()
673 System.arraycopy(meta, 0, result, 0, meta.length); in matrixToString()
674 System.arraycopy(data, 0, result, meta.length, data.length); in matrixToString()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/util/
DCachedPathIteratorFactory.java62 System.arraycopy(points, 0, itemPoints, 0, nPoints); in CachedPathIteratorFactory()
259 System.arraycopy(coords, 0, curve, 2, coords.length); in getPointAtLength()
358 System.arraycopy(mCoordinates[mNextIndex], 0, points, 2, in next()
367 System.arraycopy(points, 2, mCurrentCoords, 0, mCoordinates[mNextIndex].length); in next()
369 System.arraycopy(mCoordinates[mNextIndex], 0, mCurrentCoords, 0, in next()
379 System.arraycopy(mCurrentCoords, 0, coords, 0, getNumberOfPoints(mCurrentType) * 2); in currentSegment()
460 System.arraycopy(coords, 0, curve, 2, coords.length); in currentSegment()
466 System.arraycopy(curve, 2, coords, 0, coords.length); in currentSegment()

12345678910>>...13