Home
last modified time | relevance | path

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

/aosp14/frameworks/base/libs/hwui/
H A 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()
H A DRenderNode.cpp77 void RenderNode::setStagingDisplayList(DisplayList&& newData) { in setStagingDisplayList() argument
78 mValid = newData.isValid(); in setStagingDisplayList()
80 mStagingDisplayList = std::move(newData); in setStagingDisplayList()
H A DRenderNode.h104 void setStagingDisplayList(DisplayList&& newData);
/aosp14/frameworks/base/packages/SettingsLib/Spa/testutils/src/com/android/settingslib/spa/testutils/
H A DLiveDataTestUtil.kt32 val observer = Observer<T> { newData ->
33 data = newData
/aosp14/frameworks/base/libs/androidfw/
H A 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()
H A DResourceTypes.cpp218 void* newData = calloc(1, patch.serializedSize()); in serialize() local
219 serialize(patch, xDivs, yDivs, colors, newData); in serialize()
220 return newData; in serialize()
/aosp14/frameworks/base/wifi/tests/src/android/net/wifi/
H A 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()
/aosp14/frameworks/base/core/java/android/util/
H A 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()
/aosp14/frameworks/base/services/core/java/com/android/server/pm/dex/
H A 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()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/pipeline/domain/interactor/
H A DCurrentTilesInteractor.kt197 val newTileList = it.newData.tiles
198 val userChanged = it.oldData.userId != it.newData.userId
199 val newUser = it.newData.userId
412 val newData: UserAndTiles,
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/wallet/ui/
H A 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()
/aosp14/frameworks/base/core/tests/coretests/src/com/android/internal/os/
H A DKernelCpuUidBpfMapReaderTest.java228 public final void setData(SparseArray<long[]> newData) { in setData() argument
229 mNewData = newData; in setData()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
H A DFgsManagerController.kt599 fun setData(newData: List<RunningApp>) {
601 data = newData
609 return newData.size
614 return oldData[oldItemPosition] == newData[newItemPosition]
619 return oldData[oldItemPosition].stopped == newData[newItemPosition].stopped
/aosp14/frameworks/base/tools/aapt2/compile/
H A DPng.cpp162 void* newData = malloc(patchSize); in checkNinePatchSerialization() local
163 memcpy(newData, data, patchSize); in checkNinePatchSerialization()
164 android::Res_png_9patch* outPatch = inPatch->deserialize(newData); in checkNinePatchSerialization()
167 assert(outPatch == newData); in checkNinePatchSerialization()
183 free(newData); in checkNinePatchSerialization()
/aosp14/frameworks/base/rs/java/android/renderscript/
H A DFieldPacker.java786 byte[] newData = new byte[newSize]; in resize()
787 System.arraycopy(mData, 0, newData, 0, mPos); in resize()
788 mData = newData; in resize()
/aosp14/frameworks/base/tools/aapt/
H A 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()
/aosp14/frameworks/base/core/jni/
H A Dandroid_util_Process.cpp807 jint* newData = env->GetIntArrayElements(newArray, 0); in android_os_Process_getPids() local
809 memcpy(newData, curData, sizeof(jint)*curCount); in android_os_Process_getPids()
814 curData = newData; in android_os_Process_getPids()
/aosp14/frameworks/base/core/java/com/android/internal/app/procstats/
H A 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()
/aosp14/frameworks/base/services/core/java/com/android/server/stats/pull/
H A DStatsPullAtomService.java4088 byte[] newData = new byte[pos + 16384];
4090 Slog.i(TAG, "Copying " + pos + " bytes to new array len " + newData.length);
4092 System.arraycopy(data, 0, newData, 0, pos);
4093 data = newData;