Searched refs:newData (Results 1 - 23 of 23) 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.cpp192 ProfileData* newData = reinterpret_cast<ProfileData*>( local
195 if (newData == MAP_FAILED) {
205 if (newData->totalFrameCount > (1 << 24)) {
209 newData->jankTypeCounts[i] >>= divider;
210 newData->jankTypeCounts[i] += mData->jankTypeCounts[i];
213 newData->frameCounts[i] >>= divider;
214 newData->frameCounts[i] += mData->frameCounts[i];
216 newData->jankFrameCount >>= divider;
217 newData->jankFrameCount += mData->jankFrameCount;
218 newData
[all...]
H A DRenderNode.h105 ANDROID_API void setStagingDisplayList(DisplayList* 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.java819 byte[] newData = new byte[pos + avail];
820 System.arraycopy(data, 0, newData, 0, pos);
821 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/compat/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/base/core/java/android/util/
H A DAtomicFile.java240 byte[] newData = new byte[pos+avail];
241 System.arraycopy(data, 0, newData, 0, pos);
242 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/av/services/camera/libcameraservice/utils/
H A DTagMonitor.cpp198 if (event.newData.size() == 0) {
201 printData(fd, event.newData.data(), event.tag,
202 event.type, event.newData.size() / camera_metadata_type_size[event.type],
302 newData(value.data.u8, value.data.u8 + camera_metadata_type_size[value.type] * value.count) {
H A DTagMonitor.h97 std::vector<uint8_t> newData; member in struct:android::TagMonitor::MonitorEvent
/frameworks/base/services/core/java/com/android/server/pm/dex/
H A DPackageDexUsage.java118 DexUseInfo newData = new DexUseInfo(
123 packageUseInfo.mDexUseInfoMap.put(dexPath, newData);
141 return existingData.merge(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.cpp162 void* newData = malloc(patchSize); local
163 memcpy(newData, data, patchSize);
164 android::Res_png_9patch* outPatch = inPatch->deserialize(newData);
166 // deserialization is done in place, so outPatch == newData
167 assert(outPatch == newData);
183 free(newData);
/frameworks/base/core/jni/
H A Dandroid_view_RenderNode.cpp83 DisplayList* newData = reinterpret_cast<DisplayList*>(displayListPtr); local
84 renderNode->setStagingDisplayList(newData);
H A Dandroid_util_Process.cpp826 jint* newData = env->GetIntArrayElements(newArray, 0); local
828 memcpy(newData, curData, sizeof(jint)*curCount);
833 curData = newData;
/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/rs/support/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/android/view/
H A DRenderNode.java843 private static native void nSetDisplayList(long renderNode, long newData); argument
/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 3964 milliseconds