Home
last modified time | relevance | path

Searched refs:newData (Results 1 – 21 of 21) sorted by relevance

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DByteArrayRingBuffer.java52 public boolean appendBuffer(byte[] newData) { in appendBuffer() argument
53 pruneToSize(mMaxBytes - newData.length); in appendBuffer()
54 if (mBytesUsed + newData.length > mMaxBytes) { in appendBuffer()
58 mArrayList.add(newData); in appendBuffer()
59 mBytesUsed += newData.length; in appendBuffer()
/frameworks/base/libs/hwui/
DProfileDataContainer.cpp65 ProfileData* newData = reinterpret_cast<ProfileData*>( in switchStorageToAshmem() local
67 if (newData == MAP_FAILED) { in switchStorageToAshmem()
73 newData->mergeWith(*mData); in switchStorageToAshmem()
75 mData = newData; in switchStorageToAshmem()
DRenderNode.h102 ANDROID_API void setStagingDisplayList(DisplayList* newData);
/frameworks/rs/
DrsStream.cpp108 uint8_t *newData = (uint8_t*)malloc(mLength*2); in growSize() local
109 memcpy(newData, mData, mLength*sizeof(uint8_t)); in growSize()
112 mData = newData; in growSize()
/frameworks/base/core/java/com/android/internal/os/
DAtomicFile.java179 byte[] newData = new byte[pos+avail]; in readFully()
180 System.arraycopy(data, 0, newData, 0, pos); in readFully()
181 data = newData; in readFully()
DBatteryStatsHelper.java869 byte[] newData = new byte[pos + avail]; in readFully()
870 System.arraycopy(data, 0, newData, 0, pos); in readFully()
871 data = newData; in readFully()
/frameworks/base/core/java/android/util/
DAtomicFile.java277 byte[] newData = new byte[pos+avail]; in readFully()
278 System.arraycopy(data, 0, newData, 0, pos); in readFully()
279 data = newData; in readFully()
/frameworks/av/services/camera/libcameraservice/utils/
DTagMonitor.cpp220 if (event.newData.size() == 0) { in dumpMonitoredMetadata()
223 printData(fd, event.newData.data(), event.tag, in dumpMonitoredMetadata()
224 event.type, event.newData.size() / camera_metadata_type_size[event.type], in dumpMonitoredMetadata()
324 newData(value.data.u8, value.data.u8 + camera_metadata_type_size[value.type] * value.count), in MonitorEvent()
DTagMonitor.h110 std::vector<uint8_t> newData; member
/frameworks/base/services/core/java/com/android/server/pm/dex/
DPackageDexUsage.java155 DexUseInfo newData = new DexUseInfo(isUsedByOtherApps, ownerUserId, in record() local
157 packageUseInfo.mDexUseInfoMap.put(dexPath, newData); in record()
159 newData.mLoadingPackages); in record()
171 DexUseInfo newData = new DexUseInfo( in record() local
174 loadingPackageName, newData.mLoadingPackages); in record()
180 packageUseInfo.mDexUseInfoMap.put(dexPath, newData); in record()
201 return existingData.merge(newData) || updateLoadingPackages; in record()
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DKernelCpuUidBpfMapReaderTest.java228 public final void setData(SparseArray<long[]> newData) { in setData() argument
229 mNewData = newData; in setData()
/frameworks/base/tools/aapt2/compile/
DPng.cpp163 void* newData = malloc(patchSize); in checkNinePatchSerialization() local
164 memcpy(newData, data, patchSize); in checkNinePatchSerialization()
165 android::Res_png_9patch* outPatch = inPatch->deserialize(newData); in checkNinePatchSerialization()
168 assert(outPatch == newData); in checkNinePatchSerialization()
184 free(newData); in checkNinePatchSerialization()
/frameworks/base/rs/java/android/renderscript/
DFieldPacker.java782 byte[] newData = new byte[newSize]; in resize()
783 System.arraycopy(mData, 0, newData, 0, mPos); in resize()
784 mData = newData; in resize()
/frameworks/rs/support/java/src/androidx/renderscript/
DFieldPacker.java920 byte[] newData = new byte[newSize]; in resize()
921 System.arraycopy(mData, 0, newData, 0, mPos); in resize()
922 mData = newData; in resize()
/frameworks/base/tools/aapt/
DImages.cpp799 void* newData = malloc(patchSize); in checkNinePatchSerialization() local
800 memcpy(newData, data, patchSize); in checkNinePatchSerialization()
801 Res_png_9patch* outPatch = inPatch->deserialize(newData); in checkNinePatchSerialization()
803 assert(outPatch == newData); in checkNinePatchSerialization()
819 free(newData); in checkNinePatchSerialization()
/frameworks/base/core/jni/
Dandroid_util_Process.cpp815 jint* newData = env->GetIntArrayElements(newArray, 0); in android_os_Process_getPids() local
817 memcpy(newData, curData, sizeof(jint)*curCount); in android_os_Process_getPids()
822 curData = newData; in android_os_Process_getPids()
Dandroid_view_RenderNode.cpp84 DisplayList* newData = reinterpret_cast<DisplayList*>(displayListPtr); in android_view_RenderNode_setDisplayList() local
85 renderNode->setStagingDisplayList(newData); in android_view_RenderNode_setDisplayList()
/frameworks/base/graphics/java/android/graphics/
DRenderNode.java1505 private static native void nSetDisplayList(long renderNode, long newData); in nSetDisplayList() argument
/frameworks/base/core/java/com/android/internal/app/procstats/
DProcessStats.java977 byte[] newData = new byte[pos+16384]; in readFully()
979 + newData.length); in readFully()
980 System.arraycopy(data, 0, newData, 0, pos); in readFully()
981 data = newData; in readFully()
/frameworks/base/services/core/java/com/android/server/stats/
DStatsCompanionService.java1709 byte[] newData = new byte[pos + 16384]; in readFully()
1711 Slog.i(TAG, "Copying " + pos + " bytes to new array len " + newData.length); in readFully()
1713 System.arraycopy(data, 0, newData, 0, pos); in readFully()
1714 data = newData; in readFully()
/frameworks/base/libs/androidfw/
DResourceTypes.cpp210 void* newData = calloc(1, patch.serializedSize()); in serialize() local
211 serialize(patch, xDivs, yDivs, colors, newData); in serialize()
212 return newData; in serialize()