Home
last modified time | relevance | path

Searched refs:totalSize (Results 1 – 25 of 47) sorted by relevance

12

/frameworks/av/media/libstagefright/rtsp/
DARTPAssembler.cpp77 size_t totalSize = 0; in MakeADTSCompoundFromAACFrames() local
81 totalSize += (*it)->size() + 7; in MakeADTSCompoundFromAACFrames()
84 sp<ABuffer> accessUnit = new ABuffer(totalSize); in MakeADTSCompoundFromAACFrames()
124 size_t totalSize = 0; in MakeCompoundFromPackets() local
127 totalSize += (*it)->size(); in MakeCompoundFromPackets()
130 sp<ABuffer> accessUnit = new ABuffer(totalSize); in MakeCompoundFromPackets()
DAAVCAssembler.cpp215 size_t totalSize = size - 2; in addFragmentedNALUnit() local
260 totalSize += size - 2; in addFragmentedNALUnit()
285 ++totalSize; in addFragmentedNALUnit()
287 sp<ABuffer> unit = new ABuffer(totalSize); in addFragmentedNALUnit()
308 unit->setRange(0, totalSize); in addFragmentedNALUnit()
322 size_t totalSize = 0; in submitAccessUnit() local
325 totalSize += 4 + (*it)->size(); in submitAccessUnit()
328 sp<ABuffer> accessUnit = new ABuffer(totalSize); in submitAccessUnit()
DAH263Assembler.cpp159 size_t totalSize = 0; in submitAccessUnit() local
164 totalSize += unit->size(); in submitAccessUnit()
168 sp<ABuffer> accessUnit = new ABuffer(totalSize); in submitAccessUnit()
DAAMRAssembler.cpp152 size_t totalSize = 0; in addPacket() local
177 totalSize += getFrameSize(mIsWide, (toc >> 3) & 0x0f); in addPacket()
186 sp<ABuffer> accessUnit = new ABuffer(totalSize); in addPacket()
/frameworks/av/media/libstagefright/
DNuCachedSource2.cpp48 size_t totalSize() const { in totalSize() function
339 mSource->reconnectAtOffset(mCacheOffset + mCache->totalSize()); in fetchInternal()
363 mCacheOffset + mCache->totalSize(), page->mData, kPageSize); in fetchInternal()
419 if (mFetching && mCache->totalSize() >= mHighwaterThresholdBytes) { in onFetch()
492 && mCacheOffset + mCache->totalSize() - mLastAccessPos in restartPrefetcherIfNecessary_l()
510 ALOGI("restarting prefetcher, totalSize = %zu", mCache->totalSize()); in restartPrefetcherIfNecessary_l()
527 && offset + size <= mCacheOffset + mCache->totalSize()) { in readAt()
567 return mCacheOffset + mCache->totalSize(); in cachedSize()
583 off64_t lastBytePosCached = mCacheOffset + mCache->totalSize(); in approxDataRemaining_l()
612 || offset >= (off64_t)(mCacheOffset + mCache->totalSize())) { in readInternal()
[all …]
/frameworks/base/libs/hwui/
DGpuMemoryTracker.cpp42 int totalSize = 0; member
52 gObjectStats[static_cast<int>(mType)].totalSize += delta; in notifySizeChanged()
96 stream << " is using " << SizePrinter{stats.totalSize}; in dump()
107 return gObjectStats[static_cast<int>(type)].totalSize; in getTotalSize()
116 ATRACE_INT(buf, stats.totalSize); in onFrameCompleted()
/frameworks/av/media/libstagefright/webm/
DWebmElement.cpp40 int64_t voidSize(int64_t totalSize) { in voidSize() argument
41 if (totalSize < 2) { in voidSize()
44 if (totalSize < 9) { in voidSize()
45 return totalSize - 2; in voidSize()
47 return totalSize - 9; in voidSize()
54 total += (*it)->totalSize(); in childrenSum()
100 uint64_t WebmElement::totalSize() { in totalSize() function in android::WebmElement
107 size = totalSize(); in serialize()
115 size = totalSize(); in write()
216 EbmlVoid::EbmlVoid(uint64_t totalSize) in EbmlVoid() argument
[all …]
DWebmElement.h37 uint64_t totalSize();
117 explicit EbmlVoid(uint64_t totalSize);
DWebmWriter.cpp309 uint64_t cuesSize = cues->totalSize(); in reset()
329 uint64_t totalSize = ::lseek(mFd, 0, SEEK_END); in reset() local
330 uint64_t segmentSize = totalSize - mSegmentDataStart; in reset()
/frameworks/base/cmds/incidentd/src/
Dreport_directory.cpp134 off_t totalSize = 0; in clean_directory() local
152 totalSize += st.st_size; in clean_directory()
159 if (totalSize < maxSize && totalCount < maxCount) { in clean_directory()
168 it != files.end() && totalSize >= maxSize && totalCount >= maxCount; it++) { in clean_directory()
170 totalSize -= it->second.st_size; in clean_directory()
/frameworks/native/opengl/libs/EGL/
DBlobCache.cpp201 size_t totalSize = align4(entrySize); in flatten() local
202 if (byteOffset + totalSize > size) { in flatten()
214 if (totalSize > entrySize) { in flatten()
217 memset(eheader->mData + keySize + valueSize, 0, totalSize - entrySize); in flatten()
220 byteOffset += totalSize; in flatten()
267 size_t totalSize = align4(entrySize); in unflatten() local
268 if (byteOffset + totalSize > size) { in unflatten()
277 byteOffset += totalSize; in unflatten()
/frameworks/av/drm/mediadrm/plugins/clearkey/tests/
DAesCtrDecryptorUnittest.cpp44 template <size_t totalSize>
50 uint8_t outputBuffer[totalSize] = {}; in attemptDecryptExpectingSuccess()
55 EXPECT_EQ(totalSize, bytesDecrypted); in attemptDecryptExpectingSuccess()
56 EXPECT_EQ(0, memcmp(outputBuffer, decrypted, totalSize)); in attemptDecryptExpectingSuccess()
/frameworks/av/media/img_utils/src/
DTiffWriter.cpp69 uint32_t totalSize = getTotalSize(); in write() local
76 if (mNamedIfds[i]->setStripOffset(totalSize) != OK) { in write()
80 totalSize += stripSize; in write()
81 WORD_ALIGN(totalSize); in write()
82 offsetVector.add(mNamedIfds.keyAt(i), totalSize); in write()
372 uint32_t totalSize = FILE_HEADER_SIZE; in getTotalSize() local
375 totalSize += ifd->getSize(); in getTotalSize()
378 return totalSize; in getTotalSize()
DDngUtils.cpp247 uint32_t totalSize = NUMBER_INT_ARGS * sizeof(uint32_t) + NUMBER_DOUBLE_ARGS * sizeof(double) + in addGainMap() local
250 err = mEndianOut.write(&totalSize, 0, 1); in addGainMap()
350 uint32_t totalSize = (NUMBER_CENTER_ARGS + NUMBER_COEFFS) * sizeof(double) + sizeof(uint32_t); in addWarpRectilinear() local
352 err = mEndianOut.write(&totalSize, 0, 1); in addWarpRectilinear()
403 uint32_t totalSize = (NUM_NON_VARLEN_FIELDS + badPointCount * SIZE_OF_POINT + in addBadPixelList() local
405 err = mEndianOut.write(&totalSize, 0, 1); in addBadPixelList()
/frameworks/av/drm/libmediadrm/
DICrypto.cpp123 size_t totalSize = 0; in decrypt() local
125 totalSize += subSamples[i].mNumBytesOfEncryptedData; in decrypt()
126 totalSize += subSamples[i].mNumBytesOfClearData; in decrypt()
129 data.writeInt32(totalSize); in decrypt()
324 size_t totalSize = data.readInt32(); in onTransact() local
386 if (overflow || sumSubsampleSizes != totalSize) { in onTransact()
388 } else if (totalSize > source.mSharedMemory->size()) { in onTransact()
390 } else if ((size_t)offset > source.mSharedMemory->size() - totalSize) { in onTransact()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/deviceinfo/
DStorageMeasurement.java49 public long totalSize; field in StorageMeasurement.MeasurementDetails
86 return "MeasurementDetails: [totalSize: " + totalSize + " availSize: " + availSize in toString()
156 details.totalSize = mVolume.getPath().getTotalSpace(); in measureExactStorage()
162 details.totalSize = mStats.getTotalBytes(mVolume.fsUuid); in measureExactStorage()
/frameworks/base/media/jni/
Dandroid_media_MediaDescrambler.cpp206 ssize_t totalSize = 0; in getSubSampleInfo() local
234 totalSize += subSamples[i].mNumBytesOfClearData + in getSubSampleInfo()
250 if (totalSize < 0) { in getSubSampleInfo()
257 return totalSize; in getSubSampleInfo()
/frameworks/base/tools/aapt/
DStringPool.cpp466 const size_t totalSize = lenSize + encLenSize + in writeStringBlock() local
469 void* dat = (void*)pool->editData(preSize + strPos + totalSize); in writeStringBlock()
491 strPos += totalSize; in writeStringBlock()
513 const size_t totalSize = (N*sizeof(ResStringPool_span)) in writeStringBlock() local
517 uint8_t* dat = (uint8_t*)pool->editData(preSize + styPos + totalSize); in writeStringBlock()
531 styPos += totalSize; in writeStringBlock()
/frameworks/base/tests/CoreTests/android/core/
DHeapTest.java164 int totalSize = 0; in xxtestSoftRefPartialClean() local
166 while (i < junk.length && totalSize < 8 * 1024 * 1024) { in xxtestSoftRefPartialClean()
171 totalSize += r * 4; in xxtestSoftRefPartialClean()
/frameworks/base/core/java/android/hardware/camera2/legacy/
DRequestThreadManager.java223 int totalSize = data.length + LegacyCameraDevice.nativeGetJpegFooterSize();
224 totalSize = (totalSize + 3) & ~0x3; // round up to nearest octonibble
232 int dimen = (int) Math.ceil(Math.sqrt(totalSize));
238 LegacyCameraDevice.setSurfaceDimens(s, totalSize, /*height*/1);
239 LegacyCameraDevice.produceFrame(s, data, totalSize, /*height*/1,
/frameworks/base/core/jni/
Dcom_android_internal_content_NativeLibraryHelper.cpp504 size_t totalSize = 0; in com_android_internal_content_NativeLibraryHelper_sumNativeBinaries() local
506 iterateOverNativeFiles(env, apkHandle, javaCpuAbi, debuggable, sumFiles, &totalSize); in com_android_internal_content_NativeLibraryHelper_sumNativeBinaries()
508 return totalSize; in com_android_internal_content_NativeLibraryHelper_sumNativeBinaries()
/frameworks/base/core/java/android/hardware/camera2/
DDngCreator.java499 long totalSize = ((long) rowStride) * height + offset; in writeByteBuffer() local
500 if (capacity < totalSize) { in writeByteBuffer()
502 " is too small (must be larger than " + totalSize + ")"); in writeByteBuffer()
/frameworks/base/libs/androidfw/include/androidfw/
DBackupHelpers.h42 int totalSize; member
/frameworks/av/media/libstagefright/include/foundation/
DAData.h93 inline static void emplace(size_t totalSize, T *addr, Args&&... args) { in emplace()
97 memset(reinterpret_cast<uint8_t*>(addr) + size, 0, totalSize - size); in emplace()
116 inline void _AUnion_impl::emplace<void>(size_t totalSize, void *addr) {
117 memset(addr, 0, totalSize);
/frameworks/base/core/java/com/android/internal/app/
DResolverListController.java103 int totalSize = infos.size(); in getResolversForIntent() local
104 for (int j = totalSize - 1; j >= 0 ; j--) { in getResolversForIntent()

12