Home
last modified time | relevance | path

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

1234

/frameworks/base/core/java/android/hardware/location/
DContextHubMessage.java62 return Arrays.copyOf(mData, mData.length); in getData()
89 mData = Arrays.copyOf(data, data.length); in setMsgData()
102 mData = Arrays.copyOf(data, data.length); in ContextHubMessage()
DContextHubInfo.java310 return Arrays.copyOf(mSupportedSensors, mSupportedSensors.length); in getSupportedSensors()
321 return Arrays.copyOf(mMemoryRegions, mMemoryRegions.length); in getMemoryRegions()
332 mSupportedSensors = Arrays.copyOf(supportedSensors, supportedSensors.length); in setSupportedSensors()
345 mMemoryRegions = Arrays.copyOf(memoryRegions, memoryRegions.length); in setMemoryRegions()
/frameworks/rs/java/tests/HealingBrush/src/rs/example/android/com/healingbrush/
DDrawView.java105 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/core/java/android/view/textservice/
DSentenceSuggestionsInfo.java54 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/services/core/java/com/android/server/connectivity/
DDnsEventListenerService.java82 byte[] eventTypes = Arrays.copyOf(mEventTypes, mEventCount); in logAndClear()
83 byte[] returnCodes = Arrays.copyOf(mReturnCodes, mEventCount); in logAndClear()
84 int[] latenciesMs = Arrays.copyOf(mLatenciesMs, mEventCount); in logAndClear()
/frameworks/base/core/java/android/hardware/camera2/params/
DTonemapCurve.java122 mRed = Arrays.copyOf(red, red.length); in TonemapCurve()
123 mGreen = Arrays.copyOf(green, green.length); in TonemapCurve()
124 mBlue = Arrays.copyOf(blue, blue.length); in TonemapCurve()
DBlackLevelPattern.java54 mCfaOffsets = Arrays.copyOf(offsets, COUNT); in BlackLevelPattern()
/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/engine/
DCube.java52 mVert = Arrays.copyOf(src.mVert, src.mVert.length); in clone()
53 mIndex = Arrays.copyOf(src.mIndex, src.mIndex.length); in clone()
DTriData.java59 mVert = Arrays.copyOf(clone.mVert, clone.mVert.length); in TriData()
60 mIndex = Arrays.copyOf(clone.mIndex, clone.mIndex.length); in TriData()
DViewMatrix.java71 mStartEyePoint = Arrays.copyOf(src.mStartEyePoint,src.mStartEyePoint.length); in clone()
78 mStartUpVector = Arrays.copyOf(src.mStartUpVector,src.mStartUpVector.length); in clone()
319 mStartEyePoint = Arrays.copyOf(mEyePoint, m.length); in trackBallDown()
320 mStartUpVector = Arrays.copyOf(mUpVector, m.length); in trackBallDown()
/frameworks/base/core/java/android/net/
DNetworkStats.java293 iface = Arrays.copyOf(iface, newLength); in addValues()
294 uid = Arrays.copyOf(uid, newLength); in addValues()
295 set = Arrays.copyOf(set, newLength); in addValues()
296 tag = Arrays.copyOf(tag, newLength); in addValues()
297 roaming = Arrays.copyOf(roaming, newLength); in addValues()
298 rxBytes = Arrays.copyOf(rxBytes, newLength); in addValues()
299 rxPackets = Arrays.copyOf(rxPackets, newLength); in addValues()
300 txBytes = Arrays.copyOf(txBytes, newLength); in addValues()
301 txPackets = Arrays.copyOf(txPackets, newLength); in addValues()
302 operations = Arrays.copyOf(operations, newLength); in addValues()
DNetworkStatsHistory.java406 bucketStart = Arrays.copyOf(bucketStart, newLength); in insertBucket()
407 if (activeTime != null) activeTime = Arrays.copyOf(activeTime, newLength); in insertBucket()
408 if (rxBytes != null) rxBytes = Arrays.copyOf(rxBytes, newLength); in insertBucket()
409 if (rxPackets != null) rxPackets = Arrays.copyOf(rxPackets, newLength); in insertBucket()
410 if (txBytes != null) txBytes = Arrays.copyOf(txBytes, newLength); in insertBucket()
411 if (txPackets != null) txPackets = Arrays.copyOf(txPackets, newLength); in insertBucket()
412 if (operations != null) operations = Arrays.copyOf(operations, newLength); in insertBucket()
/frameworks/support/v4/java/android/support/v4/content/
DFileProvider.java432 cols = copyOf(cols, i); in query()
433 values = copyOf(values, i); in query()
763 private static String[] copyOf(String[] original, int newLength) { in copyOf() method in FileProvider
769 private static Object[] copyOf(Object[] original, int newLength) { in copyOf() method in FileProvider
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/display/
DDisplayDensityUtils.java158 values = Arrays.copyOf(values, newLength); in DisplayDensityUtils()
161 entries = Arrays.copyOf(entries, newLength); in DisplayDensityUtils()
/frameworks/support/v4/jellybean/android/support/v4/app/
DBundleUtil.java22 Bundle[] typedArray = Arrays.copyOf(array, array.length, in getBundleArrayFromBundle()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DScanResults.java174 ScanResult[] sortedScanResults = Arrays.copyOf(mScanResults, mScanResults.length); in ScanResults()
180 ScanResult[] reducedScanResults = Arrays.copyOf(sortedScanResults, in ScanResults()
/frameworks/base/packages/Osu/src/com/android/hotspot2/utils/
DHTTPResponse.java55 input = Arrays.copyOf(input, expected); in HTTPResponse()
63 input = Arrays.copyOf(input, input.length * 2); in HTTPResponse()
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
DMutableFrameFormat.java53 mDimensions = (dimensions == null) ? null : Arrays.copyOf(dimensions, dimensions.length); in setDimensions()
/frameworks/opt/net/voip/src/java/android/net/rtp/
DAudioCodec.java94 return Arrays.copyOf(sCodecs, sCodecs.length); in getCodecs()
/frameworks/base/core/java/android/nfc/
DTag.java132 mTechList = Arrays.copyOf(techList, techList.length); in Tag()
135 mTechExtras = Arrays.copyOf(techListExtras, techList.length); in Tag()
/frameworks/base/telephony/java/com/android/ims/internal/uce/presence/
DPresResInstanceInfo.java187 mTupleInfoArray = Arrays.copyOf(tempParcelableArray, tempParcelableArray.length, in readFromParcel()
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/
DRefactorClassAdapter.java84 elements = Arrays.copyOf(elements, elements.length); in renameFrame()
/frameworks/base/services/core/java/com/android/server/display/
DLogicalDisplay.java237 mBaseDisplayInfo.supportedModes = Arrays.copyOf( in updateLocked()
241 mBaseDisplayInfo.supportedColorTransforms = Arrays.copyOf( in updateLocked()
/frameworks/base/core/java/android/util/
DIntArray.java186 return Arrays.copyOf(mValues, mSize); in toArray()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DFrame.java163 return dim != null ? Arrays.copyOf(dim, dim.length) : null; in getDimensions()

1234