Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DProfileDataContainer.cpp68 ProfileData* newData = reinterpret_cast<ProfileData*>( in switchStorageToAshmem() local
70 if (newData == MAP_FAILED) { in switchStorageToAshmem()
77 newData->mergeWith(*mData); in switchStorageToAshmem()
80 mData = newData; in switchStorageToAshmem()
DRenderNode.cpp78 void RenderNode::setStagingDisplayList(DisplayList&& newData) { in setStagingDisplayList() argument
79 mValid = newData.isValid(); in setStagingDisplayList()
81 mStagingDisplayList = std::move(newData); in setStagingDisplayList()
DRenderNode.h104 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/libs/androidfw/
DCursorWindow.cpp77 void* newData = nullptr; in maybeInflate() local
98 newData = ::mmap(nullptr, mInflatedSize, PROT_READ | PROT_WRITE, MAP_SHARED, ashmemFd, 0); in maybeInflate()
99 if (newData == MAP_FAILED) { in maybeInflate()
113 memcpy(static_cast<uint8_t*>(newData), in maybeInflate()
115 memcpy(static_cast<uint8_t*>(newData) + newSlotsOffset, in maybeInflate()
120 mData = newData; in maybeInflate()
133 ::munmap(newData, mInflatedSize); in maybeInflate()
DPng.cpp154 void* newData = malloc(patchSize); in checkNinePatchSerialization() local
155 memcpy(newData, data, patchSize); in checkNinePatchSerialization()
156 Res_png_9patch* outPatch = inPatch->deserialize(newData); in checkNinePatchSerialization()
159 assert(outPatch == newData); in checkNinePatchSerialization()
175 free(newData); in checkNinePatchSerialization()
DResourceTypes.cpp220 void* newData = calloc(1, patch.serializedSize()); in serialize() local
221 serialize(patch, xDivs, yDivs, colors, newData); in serialize()
222 return newData; in serialize()
/frameworks/base/wifi/tests/src/android/net/wifi/
DSoftApConfToXmlMigrationUtilTest.java155 byte[] newData = new byte[pos + avail]; in readFully()
156 System.arraycopy(data, 0, newData, 0, pos); in readFully()
157 data = newData; in readFully()
/frameworks/base/core/java/android/util/
DAtomicFile.java308 byte[] newData = new byte[pos+avail]; in readFully()
309 System.arraycopy(data, 0, newData, 0, pos); in readFully()
310 data = newData; in readFully()
/frameworks/base/services/core/java/com/android/server/pm/dex/
DPackageDexUsage.java152 DexUseInfo newData = new DexUseInfo(isUsedByOtherApps, ownerUserId, in record() local
154 packageUseInfo.mDexUseInfoMap.put(dexPath, newData); in record()
156 newData.mLoadingPackages); in record()
167 DexUseInfo newData = new DexUseInfo( in record() local
170 loadingPackageName, newData.mLoadingPackages); in record()
176 packageUseInfo.mDexUseInfoMap.put(dexPath, newData); in record()
197 return existingData.merge(newData, overwriteCLC) || updateLoadingPackages; in record()
/frameworks/av/services/camera/libcameraservice/utils/
DTagMonitor.cpp300 if (event.newData.empty()) { in dumpMonitoredTagEventsToVectorLocked()
304 event.newData.data(), event.tag, event.type, in dumpMonitoredTagEventsToVectorLocked()
305 event.newData.size() / camera_metadata_type_size[event.type], indentation + 18); in dumpMonitoredTagEventsToVectorLocked()
401 newData(value.data.u8, value.data.u8 + camera_metadata_type_size[value.type] * value.count), in MonitorEvent()
DTagMonitor.h130 std::vector<uint8_t> newData; member
/frameworks/base/packages/SystemUI/src/com/android/systemui/wallet/ui/
DWalletCardCarousel.java440 List<WalletCardViewInfo> oldData, List<WalletCardViewInfo> newData) { in isUiEquivalent() argument
441 if (oldData.size() != newData.size()) { in isUiEquivalent()
444 for (int i = 0; i < newData.size(); i++) { in isUiEquivalent()
446 WalletCardViewInfo newItem = newData.get(i); in isUiEquivalent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/pipeline/domain/interactor/
DCurrentTilesInteractor.kt217 val newTileList = it.newData.tiles in startTileCollection()
218 val userChanged = it.oldData.userId != it.newData.userId in startTileCollection()
219 val newUser = it.newData.userId in startTileCollection()
447 val newData: UserAndTiles, constant in com.android.systemui.qs.pipeline.domain.interactor.Data
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DKernelCpuUidBpfMapReaderTest.java236 public final void setData(SparseArray<long[]> newData) { in setData() argument
237 mNewData = newData; in setData()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DFgsManagerController.kt600 fun setData(newData: List<RunningApp>) { in setData()
602 data = newData in setData()
610 return newData.size in setData()
614 return oldData[oldItemPosition] == newData[newItemPosition] in setData()
621 return oldData[oldItemPosition].stopped == newData[newItemPosition].stopped in setData()
/frameworks/base/rs/java/android/renderscript/
DFieldPacker.java786 byte[] newData = new byte[newSize]; in resize()
787 System.arraycopy(mData, 0, newData, 0, mPos); in resize()
788 mData = newData; in resize()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/media/controls/data/repository/
DMediaFilterRepositoryTest.kt308 val newData = in loadMediaFromRec() constant
344 underTest.addSelectedUserMediaEntry(newData) in loadMediaFromRec()
/frameworks/rs/support/java/src/androidx/renderscript/
DFieldPacker.java924 byte[] newData = new byte[newSize]; in resize()
925 System.arraycopy(mData, 0, newData, 0, mPos); in resize()
926 mData = newData; in resize()
/frameworks/base/tools/aapt/
DImages.cpp800 void* newData = malloc(patchSize); in checkNinePatchSerialization() local
801 memcpy(newData, data, patchSize); in checkNinePatchSerialization()
802 Res_png_9patch* outPatch = inPatch->deserialize(newData); in checkNinePatchSerialization()
804 assert(outPatch == newData); in checkNinePatchSerialization()
820 free(newData); in checkNinePatchSerialization()
/frameworks/base/core/jni/
Dandroid_util_Process.cpp857 jint* newData = env->GetIntArrayElements(newArray, 0); in android_os_Process_getPids() local
859 memcpy(newData, curData, sizeof(jint)*curCount); in android_os_Process_getPids()
864 curData = newData; in android_os_Process_getPids()
/frameworks/native/libs/binder/
DParcel.cpp2956 uint8_t* newData = (uint8_t*)malloc(newCapacity); in reallocZeroFree() local
2957 if (!newData) { in reallocZeroFree()
2961 memcpy(newData, data, std::min(oldCapacity, newCapacity)); in reallocZeroFree()
2964 return newData; in reallocZeroFree()
/frameworks/base/core/java/com/android/internal/app/procstats/
DProcessStats.java1050 byte[] newData = new byte[pos+16384]; in readFully()
1052 + newData.length); in readFully()
1053 System.arraycopy(data, 0, newData, 0, pos); in readFully()
1054 data = newData; in readFully()
/frameworks/base/services/core/java/com/android/server/stats/pull/
DStatsPullAtomService.java4254 byte[] newData = new byte[pos + 16384];
4256 Slog.i(TAG, "Copying " + pos + " bytes to new array len " + newData.length);
4258 System.arraycopy(data, 0, newData, 0, pos);
4259 data = newData;
/frameworks/opt/setupwizard/tools/docs/
Ddoclava.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/ccil/ org/ ...