Searched refs:mData (Results 1 - 25 of 211) sorted by relevance

123456789

/frameworks/base/core/java/android/webkit/
H A DWebMessage.java27 private String mData; field in class:WebMessage
35 mData = data;
44 mData = data;
52 return mData;
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/util/
H A DIntArray.java22 private int mData[] = new int[INIT_CAPACITY]; field in class:IntArray
26 if (mData.length == mSize) {
28 System.arraycopy(mData, 0, temp, 0, mSize);
29 mData = temp;
31 mData[mSize++] = value;
36 return mData[mSize];
48 System.arraycopy(mData, 0, result, 0, mSize);
53 return mData;
58 if (mData.length != INIT_CAPACITY) mData
[all...]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/anqp/
H A DGenericBlobElement.java11 private final byte[] mData; field in class:GenericBlobElement
15 mData = new byte[payload.remaining()];
16 payload.get(mData);
20 return mData;
25 return "Element ID " + getID() + ": " + Utils.toHexString(mData);
/frameworks/av/media/libmedia/
H A DMetadata.cpp59 :mData(p),
66 mData->setDataPosition(mBegin);
73 const size_t end = mData->dataPosition();
75 mData->setDataPosition(mBegin);
76 mData->writeInt32(end - mBegin);
77 mData->setDataPosition(end);
86 ok = ok && mData->writeInt32(-1) == OK;
87 ok = ok && mData->writeInt32(kMetaMarker) == OK;
97 const size_t begin = mData->dataPosition();
101 ok = ok && mData
[all...]
/frameworks/base/drm/java/android/drm/
H A DProcessedData.java28 private final byte[] mData; field in class:ProcessedData
39 mData = data;
51 mData = data;
62 return mData;
H A DDrmInfo.java35 private byte[] mData; field in class:DrmInfo
52 mData = data;
73 mData = DrmUtils.readBytes(path);
76 // set mData = null, so that further processDrmInfo()
77 // call would fail with IllegalArgumentException because of mData = null
78 mData = null;
83 "data: " + Arrays.toString(mData);
138 return mData;
168 && null != mData && mData
[all...]
/frameworks/base/core/java/android/net/nsd/
H A DDnsSdTxtRecord.java45 private byte[] mData; field in class:DnsSdTxtRecord
49 mData = new byte[0];
54 mData = (byte[]) data.clone();
59 if (src != null && src.mData != null) {
60 mData = (byte[]) src.mData.clone();
121 for (int i=0; avStart < mData.length; i++) {
122 int avLen = mData[avStart];
124 (key.length() == avLen || mData[avStart + key.length() + 1] == mSeperator)) {
125 String s = new String(mData, avStar
[all...]
/frameworks/av/include/private/media/
H A DVideoFrame.h33 VideoFrame(): mWidth(0), mHeight(0), mDisplayWidth(0), mDisplayHeight(0), mSize(0), mData(0),
42 mData = NULL; // initialize it first
43 if (mSize > 0 && copy.mData != NULL) {
44 mData = new uint8_t[mSize];
45 if (mData != NULL) {
46 memcpy(mData, copy.mData, mSize);
55 if (mData != 0) {
56 delete[] mData;
65 uint32_t mSize; // Number of bytes in mData
68 uint8_t* mData; // Actual binary data member in class:android::VideoFrame
[all...]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/anqp/eap/
H A DVendorSpecificAuth.java33 private final byte[] mData; field in class:VendorSpecificAuth
38 mData = data;
56 return mData;
68 return Arrays.equals(mData, that.mData);
73 return Arrays.hashCode(mData);
78 return "VendorSpecificAuth{mData=" + Arrays.toString(mData) + "}";
/frameworks/base/obex/javax/obex/
H A DPrivateInputStream.java47 private byte[] mData; field in class:PrivateInputStream
59 mData = new byte[0];
76 return mData.length - mIndex;
92 while (mData.length == mIndex) {
97 return (mData[mIndex++] & 0xFF);
116 int currentDataLength = mData.length - mIndex;
122 System.arraycopy(mData, mIndex, b, offset1, currentDataLength);
131 currentDataLength = mData.length - mIndex;
134 System.arraycopy(mData, mIndex, b, offset1, remainReadLength);
149 int length = (body.length - start) + (mData
[all...]
/frameworks/rs/
H A DrsStream.cpp25 mData = buf;
31 memcpy(dest, mData + mPos, numBytes);
39 tmp = reinterpret_cast<const uint64_t *>(&mData[mPos])[0];
48 const char *s = rsuCopyString((const char *)&mData[mPos], len);
55 mData = (uint8_t*)malloc(len);
62 free(mData);
70 memcpy(mData + mPos, src, numBytes);
80 mData[mPos++] = (uint8_t)(v & 0xff);
81 mData[mPos++] = (uint8_t)((v >> 8) & 0xff);
82 mData[mPo
[all...]
H A DrsStream.h33 float tmp = reinterpret_cast<const float *>(&mData[mPos])[0];
39 int32_t tmp = reinterpret_cast<const int32_t *>(&mData[mPos])[0];
45 uint32_t tmp = reinterpret_cast<const uint32_t *>(&mData[mPos])[0];
51 uint16_t tmp = reinterpret_cast<const uint16_t *>(&mData[mPos])[0];
56 uint8_t tmp = reinterpret_cast<const uint8_t *>(&mData[mPos])[0];
74 return mData;
77 const uint8_t * mData; member in class:android::renderscript::IStream
103 mData[mPos++] = (uint8_t)(v & 0xff);
104 mData[mPos++] = (uint8_t)((v >> 8) & 0xff);
105 mData[mPo
151 uint8_t * mData; member in class:android::renderscript::OStream
[all...]
/frameworks/base/packages/Osu/src/com/android/anqp/eap/
H A DVendorSpecificAuth.java12 private final byte[] mData; field in class:VendorSpecificAuth
15 mData = new byte[length];
16 payload.get(mData);
25 return Arrays.hashCode(mData);
40 return mData;
45 return "Auth method VendorSpecificAuth, data = " + Arrays.toString(mData) + '\n';
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
H A DIconEvent.java7 private final byte[] mData; field in class:IconEvent
13 mData = data;
29 return mData;
/frameworks/av/media/ndk/
H A DNdkMediaFormatPriv.h37 void AMediaFormat_getFormat(const AMediaFormat* mData, void* dest);
H A DNdkMediaCodec.cpp159 AMediaCodec *mData = new AMediaCodec(); local
160 mData->mLooper = new ALooper;
161 mData->mLooper->setName("NDK MediaCodec_looper");
162 size_t res = mData->mLooper->start(
168 AMediaCodec_delete(mData);
172 mData->mCodec = android::MediaCodec::CreateByType(mData->mLooper, name, encoder);
174 mData->mCodec = android::MediaCodec::CreateByComponentName(mData->mLooper, name);
176 if (mData
205 AMediaCodec_delete(AMediaCodec *mData) argument
225 AMediaCodec_configure( AMediaCodec *mData, const AMediaFormat* format, ANativeWindow* window, AMediaCrypto *crypto, uint32_t flags) argument
244 AMediaCodec_start(AMediaCodec *mData) argument
256 AMediaCodec_stop(AMediaCodec *mData) argument
268 AMediaCodec_flush(AMediaCodec *mData) argument
273 AMediaCodec_dequeueInputBuffer(AMediaCodec *mData, int64_t timeoutUs) argument
284 AMediaCodec_getInputBuffer(AMediaCodec *mData, size_t idx, size_t *out_size) argument
306 AMediaCodec_getOutputBuffer(AMediaCodec *mData, size_t idx, size_t *out_size) argument
324 AMediaCodec_queueInputBuffer(AMediaCodec *mData, size_t idx, off_t offset, size_t size, uint64_t time, uint32_t flags) argument
333 AMediaCodec_dequeueOutputBuffer(AMediaCodec *mData, AMediaCodecBufferInfo *info, int64_t timeoutUs) argument
363 AMediaCodec_getOutputFormat(AMediaCodec *mData) argument
370 AMediaCodec_releaseOutputBuffer(AMediaCodec *mData, size_t idx, bool render) argument
379 AMediaCodec_releaseOutputBufferAtTime( AMediaCodec *mData, size_t idx, int64_t timestampNs) argument
386 AMediaCodec_setOutputSurface(AMediaCodec *mData, ANativeWindow* window) argument
395 AMediaCodec_createInputSurface(AMediaCodec *mData, ANativeWindow **surface) argument
436 AMediaCodec_setInputSurface( AMediaCodec *mData, ANativeWindow *surface) argument
454 AMediaCodec_setParameters( AMediaCodec *mData, const AMediaFormat* params) argument
467 AMediaCodec_signalEndOfInputStream(AMediaCodec *mData) argument
483 AMediaCodec_setNotificationCallback(AMediaCodec *mData, OnCodecEvent callback, void *userdata) argument
[all...]
/frameworks/base/core/java/android/app/backup/
H A DFullBackupDataOutput.java12 private final BackupDataOutput mData; field in class:FullBackupDataOutput
28 mData = null;
35 mData = new BackupDataOutput(fd.getFileDescriptor(), quota);
45 public BackupDataOutput getData() { return mData; }
H A DBackupDataInputStream.java43 BackupDataInput mData; field in class:BackupDataInputStream
48 mData = data;
63 mData.readEntityData(one, 0, 1);
81 return mData.readEntityData(b, offset, size);
94 return mData.readEntityData(b, 0, b.length);
/frameworks/base/core/java/android/content/
H A DUndoOwner.java28 Object mData; field in class:UndoOwner
62 return mData;
69 " mData=" + mData +
70 " mData=" + mData +
/frameworks/base/core/java/android/hardware/location/
H A DContextHubMessage.java33 private byte[]mData; field in class:ContextHubMessage
62 return Arrays.copyOf(mData, mData.length);
89 mData = Arrays.copyOf(data, data.length);
102 mData = Arrays.copyOf(data, data.length);
113 mData = new byte[bufferLength];
114 in.readByteArray(mData);
120 out.writeInt(mData.length);
121 out.writeByteArray(mData);
/frameworks/base/core/java/com/android/internal/util/
H A DExponentiallyBucketedHistogram.java30 private final int[] mData; field in class:ExponentiallyBucketedHistogram
41 mData = new int[numBuckets];
54 mData[0]++;
56 mData[Math.min(mData.length - 1, 32 - Integer.numberOfLeadingZeros(value))]++;
64 Arrays.fill(mData, 0);
77 for (int i = 0; i < mData.length; i++) {
82 if (i < mData.length - 1) {
91 builder.append(mData[i]);
/frameworks/base/core/tests/coretests/src/android/widget/gridview/
H A DGridDelete.java70 private ArrayList<Integer> mData; field in class:GridDelete.DeleteAdapter
74 mData = new ArrayList<Integer>(initialNumItems);
78 mData.add(new Integer(10000 + i));
84 if (selectedItemPosition >=0 && selectedItemPosition < mData.size()) {
85 mData.remove(selectedItemPosition);
92 return mData.size();
96 return mData.get(position);
100 return mData.get(position);
105 return createView(mData.get(position), parent, desiredHeight);
/frameworks/base/media/java/android/media/
H A DSubtitleData.java49 private byte[] mData; field in class:SubtitleData
70 return mData;
82 mData = new byte[parcel.readInt()];
83 parcel.readByteArray(mData);
/frameworks/opt/telephony/src/java/com/google/android/mms/pdu/
H A DEncodedStringValue.java43 private byte[] mData; field in class:EncodedStringValue
59 mData = new byte[data.length];
60 System.arraycopy(data, 0, mData, 0, data.length);
75 mData = data.getBytes(CharacterSets.DEFAULT_CHARSET_NAME);
107 byte[] byteArray = new byte[mData.length];
109 System.arraycopy(mData, 0, byteArray, 0, mData.length);
124 mData = new byte[textString.length];
125 System.arraycopy(textString, 0, mData, 0, textString.length);
137 return new String(mData); // syste
[all...]
/frameworks/av/media/libstagefright/id3/
H A DID3.cpp35 : mData(data),
47 memcpy(data, mData + offset, copy);
53 const uint8_t *mData; member in struct:android::MemorySource
61 mData(NULL),
75 mData(NULL),
93 if (mData) {
94 free(mData);
95 mData = NULL;
182 mData = (uint8_t *)malloc(size);
184 if (mData
[all...]

Completed in 571 milliseconds

123456789