Searched refs:totalSize (Results 1 - 19 of 19) sorted by relevance

/frameworks/av/media/libmedia/
H A DICrypto.cpp121 size_t totalSize = 0; local
123 totalSize += subSamples[i].mNumBytesOfEncryptedData;
124 totalSize += subSamples[i].mNumBytesOfClearData;
127 data.writeInt32(totalSize);
128 data.write(srcPtr, totalSize);
150 reply.read(dstPtr, totalSize);
241 size_t totalSize = data.readInt32(); local
242 void *srcData = malloc(totalSize);
243 data.read(srcData, totalSize);
258 dstPtr = malloc(totalSize);
[all...]
/frameworks/av/media/libstagefright/rtsp/
H A DARTPAssembler.cpp83 size_t totalSize = 0; local
87 totalSize += (*it)->size() + 7;
90 sp<ABuffer> accessUnit = new ABuffer(totalSize);
130 size_t totalSize = 0; local
133 totalSize += (*it)->size();
136 sp<ABuffer> accessUnit = new ABuffer(totalSize);
H A DAAVCAssembler.cpp208 size_t totalSize = size - 2; local
253 totalSize += size - 2;
276 // Leave room for the header. So far totalSize did not include the
278 ++totalSize;
280 sp<ABuffer> unit = new ABuffer(totalSize);
301 unit->setRange(0, totalSize);
315 size_t totalSize = 0; local
318 totalSize += 4 + (*it)->size();
321 sp<ABuffer> accessUnit = new ABuffer(totalSize);
H A DAH263Assembler.cpp133 size_t totalSize = 0; local
138 totalSize += unit->size();
142 sp<ABuffer> accessUnit = new ABuffer(totalSize);
H A DAAMRAssembler.cpp153 size_t totalSize = 0; local
178 totalSize += getFrameSize(mIsWide, (toc >> 3) & 0x0f);
187 sp<ABuffer> accessUnit = new ABuffer(totalSize);
/frameworks/av/media/libstagefright/
H A DNuCachedSource2.cpp46 size_t totalSize() const { function in struct:android::PageCache
297 mSource->reconnectAtOffset(mCacheOffset + mCache->totalSize());
315 mCacheOffset + mCache->totalSize(), page->mData, kPageSize);
365 if (mFetching && mCache->totalSize() >= mHighwaterThresholdBytes) {
434 && mCacheOffset + mCache->totalSize() - mLastAccessPos
452 ALOGI("restarting prefetcher, totalSize = %d", mCache->totalSize());
466 && offset + size <= mCacheOffset + mCache->totalSize()) {
501 return mCacheOffset + mCache->totalSize();
517 off64_t lastBytePosCached = mCacheOffset + mCache->totalSize();
592 size_t totalSize = mCache->totalSize(); local
[all...]
H A DWAVExtractor.cpp148 size_t totalSize = U32_LE_AT(&header[4]); local
151 size_t remainingSize = totalSize;
H A DOggExtractor.cpp430 size_t totalSize = 0;; local
432 totalSize += page->mLace[i];
447 return sizeof(header) + page->mNumSegments + totalSize;
H A DACodec.cpp427 size_t totalSize = def.nBufferCountActual * def.nBufferSize; local
428 mDealer[portIndex] = new MemoryDealer(totalSize, "ACodec");
H A DOMXCodec.cpp1517 size_t totalSize = def.nBufferCountActual * def.nBufferSize; local
1518 mDealer[portIndex] = new MemoryDealer(totalSize, "OMXCodec");
/frameworks/base/include/androidfw/
H A DBackupHelpers.h40 int totalSize; member in struct:android::SnapshotHeader
/frameworks/base/tools/aapt/
H A DStringPool.cpp432 const size_t totalSize = lenSize + encLenSize + local
435 void* dat = (void*)pool->editData(preSize + strPos + totalSize);
457 strPos += totalSize;
479 const size_t totalSize = (N*sizeof(ResStringPool_span)) local
483 uint8_t* dat = (uint8_t*)pool->editData(preSize + styPos + totalSize);
497 styPos += totalSize;
/frameworks/base/core/jni/
H A Dcom_android_internal_content_NativeLibraryHelper.cpp373 size_t totalSize = 0; local
375 iterateOverNativeFiles(env, javaFilePath, javaCpuAbi, javaCpuAbi2, sumFiles, &totalSize);
377 return totalSize;
/frameworks/base/tests/CoreTests/android/core/
H A DHeapTest.java164 int totalSize = 0;
166 while (i < junk.length && totalSize < 8 * 1024 * 1024) {
171 totalSize += r * 4;
/frameworks/av/media/libstagefright/mpeg2ts/
H A DESQueue.cpp443 size_t totalSize = 0; local
479 size_t auSize = 4 * nals.size() + totalSize;
539 totalSize += nalSize;
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
H A DSettingsBackupAgent.java589 int totalSize = 0;
616 totalSize += INTEGER_BYTE_COUNT + keyBytes.length;
620 totalSize += INTEGER_BYTE_COUNT + valueBytes.length;
631 byte[] result = new byte[totalSize];
/frameworks/base/packages/DefaultContainerService/src/com/android/defcontainer/
H A DDefaultContainerService.java242 final long totalSize = stat.f_blocks * stat.f_bsize;
244 return new long[] { totalSize, availSize };
/frameworks/base/libs/androidfw/
H A DBackupHelpers.cpp137 if (header.totalSize != bytesRead) {
138 ALOGW("read_snapshot_file length mismatch: header.totalSize=%d bytesRead=%d\n",
139 header.totalSize, bytesRead);
H A DResourceTypes.cpp1126 const uint32_t totalSize = dtohl(next->header.size); local
1151 if ((totalSize-headerSize) < minExtSize) {
1155 (int)(totalSize-headerSize), (int)minExtSize);

Completed in 340 milliseconds