Searched refs:newData (Results 1 - 20 of 20) sorted by relevance

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
H A DByteArrayRingBuffer.java44 * Adds |newData| to the ring buffer. Removes existing entries to make room, if necessary.
46 * <p><b>Note:</b> will fail if |newData| itself exceeds the size limit for this buffer.
49 * @param newData data to be added to the ring
52 public boolean appendBuffer(byte[] newData) { argument
53 pruneToSize(mMaxBytes - newData.length);
54 if (mBytesUsed + newData.length > mMaxBytes) {
58 mArrayList.add(newData);
59 mBytesUsed += newData.length;
/frameworks/base/libs/hwui/
H A DJankTracker.cpp151 ProfileData* newData = reinterpret_cast<ProfileData*>( local
154 if (newData == MAP_FAILED) {
164 if (newData->totalFrameCount > (1 << 24)) {
168 newData->jankTypeCounts[i] >>= divider;
169 newData->jankTypeCounts[i] += mData->jankTypeCounts[i];
172 newData->frameCounts[i] >>= divider;
173 newData->frameCounts[i] += mData->frameCounts[i];
175 newData->jankFrameCount >>= divider;
176 newData->jankFrameCount += mData->jankFrameCount;
177 newData
[all...]
H A DRenderNode.h120 ANDROID_API void setStagingDisplayList(DisplayList* newData, TreeObserver* observer);
/frameworks/base/core/java/android/util/
H A DAtomicFile.java238 byte[] newData = new byte[pos+avail];
239 System.arraycopy(data, 0, newData, 0, pos);
240 data = newData;
/frameworks/base/core/java/com/android/internal/os/
H A DAtomicFile.java168 byte[] newData = new byte[pos+avail];
169 System.arraycopy(data, 0, newData, 0, pos);
170 data = newData;
H A DBatteryStatsHelper.java744 byte[] newData = new byte[pos+avail];
745 System.arraycopy(data, 0, newData, 0, pos);
746 data = newData;
/frameworks/rs/
H A DrsStream.cpp108 uint8_t *newData = (uint8_t*)malloc(mLength*2); local
109 memcpy(newData, mData, mLength*sizeof(uint8_t));
112 mData = newData;
/frameworks/support/v4/java/android/support/v4/util/
H A DAtomicFile.java193 byte[] newData = new byte[pos+avail];
194 System.arraycopy(data, 0, newData, 0, pos);
195 data = newData;
/frameworks/support/v7/recyclerview/src/android/support/v7/util/
H A DSortedList.java278 private void merge(T[] newData, int newDataSize) { argument
288 System.arraycopy(newData, newDataStart, mData, mMergedSize, itemCount);
304 T newItem = newData[newDataStart];
649 T[] newData = (T[]) Array.newInstance(mTClass, mData.length + CAPACITY_GROWTH);
650 System.arraycopy(mData, 0, newData, 0, index);
651 newData[index] = item;
652 System.arraycopy(mData, index, newData, index + 1, mSize - index);
653 mData = newData;
/frameworks/base/tools/aapt/
H A DImages.cpp799 void* newData = malloc(patchSize); local
800 memcpy(newData, data, patchSize);
801 Res_png_9patch* outPatch = inPatch->deserialize(newData);
802 // deserialization is done in place, so outPatch == newData
803 assert(outPatch == newData);
819 free(newData);
/frameworks/base/tools/aapt2/compile/
H A DPng.cpp155 void* newData = malloc(patchSize); local
156 memcpy(newData, data, patchSize);
157 android::Res_png_9patch* outPatch = inPatch->deserialize(newData);
159 // deserialization is done in place, so outPatch == newData
160 assert(outPatch == newData);
176 free(newData);
/frameworks/base/core/java/android/view/
H A DRenderNode.java816 private static native void nSetDisplayList(long renderNode, long newData); argument
/frameworks/base/core/jni/
H A Dandroid_util_Process.cpp796 jint* newData = env->GetIntArrayElements(newArray, 0); local
798 memcpy(newData, curData, sizeof(jint)*curCount);
803 curData = newData;
H A Dandroid_view_RenderNode.cpp140 DisplayList* newData = reinterpret_cast<DisplayList*>(displayListPtr); local
142 renderNode->setStagingDisplayList(newData, &observer);
/frameworks/base/rs/java/android/renderscript/
H A DFieldPacker.java782 byte[] newData = new byte[newSize];
783 System.arraycopy(mData, 0, newData, 0, mPos);
784 mData = newData;
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
H A DFieldPacker.java920 byte[] newData = new byte[newSize];
921 System.arraycopy(mData, 0, newData, 0, mPos);
922 mData = newData;
/frameworks/base/core/java/com/android/internal/app/procstats/
H A DProcessStats.java863 byte[] newData = new byte[pos+16384];
865 + newData.length);
866 System.arraycopy(data, 0, newData, 0, pos);
867 data = newData;
/frameworks/base/libs/androidfw/
H A DResourceTypes.cpp208 void* newData = calloc(1, patch.serializedSize()); local
209 serialize(patch, xDivs, yDivs, colors, newData);
210 return newData;
/frameworks/opt/setupwizard/tools/docs/
H A Ddoclava.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/ccil/ org/ccil/cowan/ org/ccil/cowan/tagsoup/ ...
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...

Completed in 354 milliseconds