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

12345

/frameworks/av/include/private/media/
H A DVideoFrame.h32 MediaAlbumArt(): mSize(0), mData(0) {}
36 mData = NULL;
43 if (mSize == 0 || (mData = new uint8_t[mSize]) == NULL) {
51 if (fread(mData, 1, mSize, in) != mSize) { // Read failed.
52 delete[] mData;
53 mData = NULL;
62 mData = NULL; // initialize it first
63 if (mSize > 0 && copy.mData != NULL) {
64 mData = new uint8_t[copy.mSize];
65 if (mData !
83 uint8_t* mData; // Actual binary data member in class:android::MediaAlbumArt
122 uint8_t* mData; // Actual binary data member in class:android::VideoFrame
[all...]
/frameworks/base/core/java/android/app/backup/
H A DFullBackupDataOutput.java12 private BackupDataOutput mData; field in class:FullBackupDataOutput
16 mData = new BackupDataOutput(fd.getFileDescriptor());
20 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/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/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/
H A DCamera.java36 ScriptField_Camera_s.Item mData; field in class:Camera
40 mData = new ScriptField_Camera_s.Item();
41 mData.near = 0.1f;
42 mData.far = 1000.0f;
43 mData.horizontalFOV = 60.0f;
44 mData.aspect = 0;
55 mData.horizontalFOV = fov;
63 mData.near = n;
71 mData.far = f;
82 mData
[all...]
H A DCompoundTransform.java38 protected ScriptField_TransformComponent_s.Item mData; field in class:CompoundTransform.Component
41 mData = new ScriptField_TransformComponent_s.Item();
42 mData.type = type;
48 if (mData.name != null) {
51 mData.name = SceneManager.getCachedAlloc(getName());
52 if (mData.name == null) {
53 mData.name = SceneManager.getStringAsAllocation(rs, getName());
54 SceneManager.cacheAlloc(getName(), mData.name);
60 return mData;
80 return new Float3(mData
[all...]
H A DRenderable.java57 ScriptField_Renderable_s.Item mData; field in class:Renderable
61 mData = new ScriptField_Renderable_s.Item();
65 mData.cullType = cull;
73 mField.set(mData, 0, true);
78 mData.mesh = mesh;
80 mField.set_mesh(0, mData.mesh, true);
102 mField.set(mData, 0, true);
115 mData.mesh = mesh;
116 if (mData.mesh == null) {
120 int subIndexCount = 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.java34 private byte[] mData; field in class:DrmInfo
51 mData = data;
72 mData = DrmUtils.readBytes(path);
75 // set mData = null, so that further processDrmInfo()
76 // call would fail with IllegalArgumentException because of mData = null
77 mData = null;
82 "data: " + mData;
137 return mData;
167 && null != mData && mData
[all...]
H A DDrmRights.java41 private byte[] mData; field in class:DrmRights
98 mData = DrmUtils.readBytes(rightsFile);
106 "data: " + mData;
123 mData = data.getData();
130 "data: " + mData;
141 return mData;
178 && null != mData && mData.length > 0);
/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/media/libstagefright/foundation/
H A DAString.cpp32 : mData((char *)kEmptyString),
38 : mData(NULL),
45 : mData(NULL),
52 : mData(NULL),
59 : mData(NULL),
82 return mData;
102 setTo(from.mData + offset, n);
106 if (mData && mData != kEmptyString) {
107 free(mData);
[all...]
H A DABuffer.cpp26 : mData(malloc(capacity)),
35 : mData(data),
45 if (mData != NULL) {
46 free(mData);
47 mData = NULL;
/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 s->setTo((const char *)&mData[mPos], len);
54 mData = (uint8_t*)malloc(len);
61 free(mData);
69 memcpy(mData + mPos, src, numBytes);
79 mData[mPos++] = (uint8_t)(v & 0xff);
80 mData[mPos++] = (uint8_t)((v >> 8) & 0xff);
81 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
150 uint8_t * mData; member in class:android::renderscript::OStream
[all...]
/frameworks/support/renderscript/v8/rs_support/
H A DrsStream.cpp25 mData = buf;
31 memcpy(dest, mData + mPos, numBytes);
39 tmp = reinterpret_cast<const uint64_t *>(&mData[mPos])[0];
48 s->setTo((const char *)&mData[mPos], len);
54 mData = (uint8_t*)malloc(len);
61 free(mData);
69 memcpy(mData + mPos, src, numBytes);
79 mData[mPos++] = (uint8_t)(v & 0xff);
80 mData[mPos++] = (uint8_t)((v >> 8) & 0xff);
81 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
150 uint8_t * mData; member in class:android::renderscript::OStream
[all...]
/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/opt/mms/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/base/core/java/android/app/
H A DResultInfo.java34 public final Intent mData; field in class:ResultInfo
41 mData = data;
46 + ", result=" + mResultCode + ", data=" + mData + "}";
57 if (mData != null) {
59 mData.writeToParcel(out, 0);
81 mData = Intent.CREATOR.createFromParcel(in);
83 mData = null;
/frameworks/av/media/libstagefright/id3/
H A DID3.cpp35 mData(NULL),
47 if (mData) {
48 free(mData);
49 mData = NULL;
136 mData = (uint8_t *)malloc(size);
138 if (mData == NULL) {
144 if (source->readAt(sizeof(header), mData, mSize) != (ssize_t)mSize) {
145 free(mData);
146 mData = NULL;
153 memcpy(copy, mData, siz
[all...]
/frameworks/base/graphics/java/android/renderscript/
H A DFieldPacker.java29 mData = new byte[len];
38 mData[mPos++] = 0;
61 mData[mPos++] = v;
66 mData[mPos++] = (byte)(v & 0xff);
67 mData[mPos++] = (byte)(v >> 8);
72 mData[mPos++] = (byte)(v & 0xff);
73 mData[mPos++] = (byte)((v >> 8) & 0xff);
74 mData[mPos++] = (byte)((v >> 16) & 0xff);
75 mData[mPos++] = (byte)((v >> 24) & 0xff);
80 mData[mPo
338 private final byte mData[]; field in class:FieldPacker
[all...]
/frameworks/support/renderscript/v8/java/src/android/support/v8/renderscript/
H A DFieldPacker.java29 mData = new byte[len];
38 mData[mPos++] = 0;
61 mData[mPos++] = v;
66 mData[mPos++] = (byte)(v & 0xff);
67 mData[mPos++] = (byte)(v >> 8);
72 mData[mPos++] = (byte)(v & 0xff);
73 mData[mPos++] = (byte)((v >> 8) & 0xff);
74 mData[mPos++] = (byte)((v >> 16) & 0xff);
75 mData[mPos++] = (byte)((v >> 24) & 0xff);
80 mData[mPo
338 private final byte mData[]; field in class:FieldPacker
[all...]
/frameworks/base/tools/aapt/
H A DResourceFilter.cpp45 ssize_t index = mData.indexOfKey(axis);
47 mData.add(axis, SortedVector<uint32_t>());
49 SortedVector<uint32_t>& sv = mData.editValueFor(axis);
69 return mData.size() == 0;
79 ssize_t index = mData.indexOfKey(axis);
84 const SortedVector<uint32_t>& sv = mData.valueAt(index);
107 ssize_t index = mData.indexOfKey(axis);
111 return &mData.valueAt(index);

Completed in 359 milliseconds

12345