Home
last modified time | relevance | path

Searched refs:mDataSize (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/core/java/android/print/
DPrintDocumentInfo.java124 private long mDataSize; field in PrintDocumentInfo
142 mDataSize = prototype.mDataSize; in PrintDocumentInfo()
155 mDataSize = Preconditions.checkArgumentNonnegative(parcel.readLong()); in PrintDocumentInfo()
198 return mDataSize; in getDataSize()
209 mDataSize = dataSize; in setDataSize()
222 parcel.writeLong(mDataSize); in writeToParcel()
232 result = prime * result + (int) mDataSize; in hashCode()
233 result = prime * result + (int) (mDataSize >> 32); in hashCode()
258 if (mDataSize != other.mDataSize) { in equals()
271 builder.append(", dataSize=").append(mDataSize); in toString()
/frameworks/rs/
DrsFileA3D.cpp38 mDataSize = 0; in FileA3D()
122 if (lengthRemaining < sizeof(mDataSize)) { in load()
127 memcpy(&mDataSize, localData, sizeof(mDataSize)); in load()
128 localData += sizeof(mDataSize); in load()
129 lengthRemaining -= sizeof(mDataSize); in load()
131 if (lengthRemaining < mDataSize) { in load()
178 len = fread(&mDataSize, 1, sizeof(mDataSize), f); in load()
179 if (len != sizeof(mDataSize) || mDataSize == 0) { in load()
183 ALOGV("file open size = %" PRIi64, mDataSize); in load()
186 mAlloc = malloc(mDataSize); in load()
[all …]
DrsFileA3D.h88 uint64_t mDataSize; variable
/frameworks/base/packages/BackupEncryption/test/robolectric/src/com/android/server/testing/shadows/
DShadowBackupDataOutput.java37 private int mDataSize; field in ShadowBackupDataOutput
56 mDataSize = size; in writeEntityHeader()
62 Assert.assertEquals("ShadowBackupDataOutput expects size = mDataSize", size, mDataSize); in writeEntityData()
63 ENTRIES.add(new DataEntity(mCurrentKey, data, mDataSize)); in writeEntityData()
/frameworks/wilhelm/src/android/
DBufferQueueSource.cpp99 if (offset + (off64_t) size <= mStreamToBqOffset + oldFront->mDataSize) { in readAt()
102 if (offset - mStreamToBqOffset + size == oldFront->mDataSize) { in readAt()
104 oldFront->mDataSizeConsumed = oldFront->mDataSize; in readAt()
105 mStreamToBqOffset += oldFront->mDataSize; in readAt()
140 dataSize = oldFront->mDataSize; in readAt()
Dandroid_StreamPlayer.cpp207 if (oldFront->mDataSizeConsumed + buffSize < oldFront->mDataSize) { in pullFromBuffQueue()
219 size_t consumed = oldFront->mDataSize - oldFront->mDataSizeConsumed; in pullFromBuffQueue()
221 oldFront->mDataSizeConsumed = oldFront->mDataSize; in pullFromBuffQueue()
257 dataSize = oldFront->mDataSize; in pullFromBuffQueue()
/frameworks/native/libs/binder/
DParcel.cpp287 return (mDataSize > mDataPos ? mDataSize : mDataPos); in dataSize()
320 mDataSize = size; in setDataSize()
321 ALOGV("setDataSize Setting data size of %p to %zu", this, mDataSize); in setDataSize()
362 mDataSize = len; in setData()
388 if ((offset > parcel->mDataSize) in appendFrom()
389 || (len > parcel->mDataSize) in appendFrom()
390 || (offset + len > parcel->mDataSize)) { in appendFrom()
406 if ((mDataSize+len) > mDataCapacity) { in appendFrom()
417 mDataSize += len; in appendFrom()
635 if (mDataPos > mDataSize) { in finishWrite()
[all …]
/frameworks/av/media/extractors/wav/
DWAVExtractor.cpp143 mWaveFormat, shouldExtractorOutputFloat(mBitsPerSample), mDataOffset, mDataSize); in getTrack()
306 mDataSize = chunkSize; in init()
339 1000000LL * (mDataSize / 65 * 320) / 8000; in init()
346 size_t num_samples = mDataSize / (mNumChannels * bytesPerSample); in init()
DWAVExtractor.h55 size_t mDataSize; variable
/frameworks/base/tools/aapt/
DAaptAssets.cpp447 mDataSize = size; in editData()
456 mDataSize = size; in editData()
469 *outSize = mDataSize; in editData()
476 const size_t extra = mDataSize%wordSize; in padData()
481 size_t initial = mDataSize; in padData()
491 size_t end = mDataSize; in writeData()
505 mDataSize = 0; in clearData()
DAaptAssets.h154 , mDataSize(0) in AaptFile()
171 size_t getSize() const { return mDataSize; } in getSize()
199 size_t mDataSize; variable
/frameworks/wilhelm/src/itf/
DIAndroidBufferQueue.cpp375 oldRear->mDataSize = dataLength; in IAndroidBufferQueue_Enqueue()
581 i, hdr->mDataBuffer, hdr->mDataSize, hdr->mDataSizeConsumed,
/frameworks/wilhelm/src/
Dsles_allinclusive.h254 SLuint32 mDataSize; member
/frameworks/native/libs/binder/include/binder/
DParcel.h518 size_t mDataSize; variable
/frameworks/native/include/binder/
DParcel.h518 size_t mDataSize; variable