/frameworks/av/include/private/media/ |
VideoFrame.h | 33 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 [all...] |
/frameworks/base/core/java/android/app/backup/ |
FullBackupDataOutput.java | 12 private final BackupDataOutput mData; 17 mData = null; 23 mData = new BackupDataOutput(fd.getFileDescriptor()); 27 public BackupDataOutput getData() { return mData; }
|
/frameworks/base/core/java/android/webkit/ |
WebMessage.java | 27 private String mData; 35 mData = data; 44 mData = data; 52 return mData;
|
/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
RangeBoolArray.java | 21 private boolean[] mData; 25 mData = new boolean[max - min + 1]; 31 mData = src; 36 mData[i - mOffset] = object; 40 return mData[i - mOffset]; 44 for (int i = 0; i < mData.length; i++) { 45 if (mData[i] == object) return i + mOffset;
|
RangeIntArray.java | 21 private int[] mData; 25 mData = new int[max - min + 1]; 31 mData = src; 36 mData[i - mOffset] = object; 40 return mData[i - mOffset]; 44 for (int i = 0; i < mData.length; i++) { 45 if (mData[i] == object) return i + mOffset;
|
IntArray.java | 22 private int mData[] = new int[INIT_CAPACITY]; 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 = new int[INIT_CAPACITY] [all...] |
RangeArray.java | 21 private T[] mData; 25 mData = (T[]) new Object[max - min + 1]; 34 mData = src; 39 mData[i - mOffset] = object; 43 return mData[i - mOffset]; 47 for (int i = 0; i < mData.length; i++) { 48 if (mData[i] == object) return i + mOffset;
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/util/ |
IntArray.java | 22 private int mData[] = new int[INIT_CAPACITY]; 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 = new int[INIT_CAPACITY] [all...] |
/packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/glrenderer/ |
IntArray.java | 22 private int mData[] = new int[INIT_CAPACITY]; 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 = new int[INIT_CAPACITY] [all...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/anqp/ |
GenericBlobElement.java | 11 private final byte[] mData; 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/ |
Metadata.cpp | 59 :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->writeInt32(4 * sizeof(int32_t)) == OK [all...] |
/packages/apps/LegacyCamera/src/com/android/camera/ |
IntArray.java | 22 private int mData[] = new int[INIT_CAPACITY]; 26 if (mData.length == mSize) { 28 System.arraycopy(mData, 0, temp, 0, mSize); 29 mData = temp; 31 mData[mSize++] = value; 42 System.arraycopy(mData, 0, result, 0, mSize);
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/binding/ |
Binding.java | 25 private T mData; 39 return mData; 44 return (mData != null && mData.isBound(mBindingId)); 49 return (isBound() && data == mData); 63 } else if (data != mData) { 64 throw new IllegalStateException("not bound to correct data " + data + " vs " + mData); 75 if (mData != null || data.isBound()) { 81 mData = data; 87 if (mData == null || !mData.isBound(mBindingId)) [all...] |
/device/google/contexthub/firmware/src/drivers/ams_tmd2772/ |
ams_tmd2772.c | 175 static struct SensorData mData; 203 osEnqueuePrivateEvt(EVT_SENSOR_I2C, cookie, NULL, mData.tid); 210 osEnqueuePrivateEvt(EVT_SENSOR_ALS_TIMER, cookie, NULL, mData.tid); 215 osEnqueuePrivateEvt(EVT_SENSOR_PROX_TIMER, cookie, NULL, mData.tid); 251 mData.txrxBuf.bytes[0] = AMS_TMD2772_REG_ENABLE; 252 mData.txrxBuf.bytes[1] = POWER_ON_BIT | WAIT_ENABLE_BIT | 254 mData.txrxBuf.bytes[2] = AMS_TMD2772_ATIME_SETTING; 255 mData.txrxBuf.bytes[3] = AMS_TMD2772_PTIME_SETTING; 256 mData.txrxBuf.bytes[4] = alsOn ? AMS_TMD2772_WTIME_SETTING_ALS_ON : AMS_TMD2772_WTIME_SETTING_ALS_OFF; 257 i2cMasterTx(I2C_BUS_ID, I2C_ADDR, mData.txrxBuf.bytes, 5 [all...] |
/frameworks/base/drm/java/android/drm/ |
ProcessedData.java | 28 private final byte[] mData; 39 mData = data; 51 mData = data; 62 return mData;
|
/frameworks/base/core/java/android/net/nsd/ |
DnsSdTxtRecord.java | 45 private byte[] mData; 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, avStart + 1, key.length()) [all...] |
/packages/apps/TV/tests/common/src/com/android/tv/testing/testinput/ |
ChannelState.java | 53 private final ChannelStateData mData; 58 mData = channelStateData; 65 return mData.mSelectedAudioTrackId; 72 return mData.mSelectedVideoTrackId; 90 return mData.mTuneStatus; 98 return Collections.unmodifiableList(mData.mTvTrackInfos); 103 return "v" + mVersion + ":" + mData;
|
/frameworks/base/obex/javax/obex/ |
PrivateInputStream.java | 47 private byte[] mData; 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.length - mIndex) [all...] |
/frameworks/rs/ |
rsStream.cpp | 25 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[mPos++] = (uint8_t)((v >> 16) & 0xff) [all...] |
/packages/apps/Email/provider_src/com/android/email/mail/store/imap/ |
ImapMemoryLiteral.java | 32 private byte[] mData; 37 mData = new byte[in.getLength()]; 39 while (pos < mData.length) { 40 int read = in.read(mData, pos, mData.length - pos); 46 if (pos != mData.length) { 53 mData = null; 59 return Utility.fromAscii(mData); 64 return new ByteArrayInputStream(mData); 69 return String.format("{%d byte literal(memory)}", mData.length) [all...] |
/packages/services/Telephony/src/com/android/phone/common/mail/store/imap/ |
ImapMemoryLiteral.java | 32 private byte[] mData; 37 mData = new byte[in.getLength()]; 39 while (pos < mData.length) { 40 int read = in.read(mData, pos, mData.length - pos); 46 if (pos != mData.length) { 53 mData = null; 60 return new String(mData, "US-ASCII"); 69 return new ByteArrayInputStream(mData); 74 return String.format("{%d byte literal(memory)}", mData.length) [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/wavelib/ |
DspBufferDouble.java | 20 public double[] mData; 31 mData = new double[size]; 38 mData[index] = values[0]; 43 mData[index] = value; 53 sb.append(String.format("%.3f, ", mData[i])); 56 sb.append(String.format("%.3f", mData[i]));
|
/cts/tests/tests/media/libaudiojni/ |
Blob.h | 32 mData(byReference ? data : mMem), 46 const void * const mData; 55 mData(malloc(size)), 58 mMem(mData) { } 62 mData(data), 71 void * const mData;
|
/frameworks/base/packages/Osu/src/com/android/anqp/eap/ |
VendorSpecificAuth.java | 12 private final byte[] mData; 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/anqp/eap/ |
VendorSpecificAuth.java | 12 private final byte[] mData; 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';
|