Searched defs:totalSize (Results 1 - 25 of 34) sorted by relevance

12

/frameworks/base/cmds/incidentd/src/
H A Dreport_directory.cpp134 off_t totalSize = 0; local
152 totalSize += st.st_size;
159 if (totalSize < maxSize && totalCount < maxCount) {
168 it != files.end() && totalSize >= maxSize && totalCount >= maxCount; it++) {
170 totalSize -= it->second.st_size;
/frameworks/av/media/libstagefright/rtsp/
H A DAH263Assembler.cpp159 size_t totalSize = 0; local
164 totalSize += unit->size();
168 sp<ABuffer> accessUnit = new ABuffer(totalSize);
H A DARTPAssembler.cpp77 size_t totalSize = 0; local
81 totalSize += (*it)->size() + 7;
84 sp<ABuffer> accessUnit = new ABuffer(totalSize);
124 size_t totalSize = 0; local
127 totalSize += (*it)->size();
130 sp<ABuffer> accessUnit = new ABuffer(totalSize);
H A DAAMRAssembler.cpp152 size_t totalSize = 0; local
177 totalSize += getFrameSize(mIsWide, (toc >> 3) & 0x0f);
186 sp<ABuffer> accessUnit = new ABuffer(totalSize);
H A DAAVCAssembler.cpp215 size_t totalSize = size - 2; local
260 totalSize += size - 2;
283 // Leave room for the header. So far totalSize did not include the
285 ++totalSize;
287 sp<ABuffer> unit = new ABuffer(totalSize);
308 unit->setRange(0, totalSize);
322 size_t totalSize = 0; local
325 totalSize += 4 + (*it)->size();
328 sp<ABuffer> accessUnit = new ABuffer(totalSize);
/frameworks/base/libs/androidfw/include/androidfw/
H A DBackupHelpers.h42 int totalSize; member in struct:android::SnapshotHeader
/frameworks/base/libs/hwui/
H A DGpuMemoryTracker.cpp42 int totalSize = 0; member in struct:android::uirenderer::TypeStats
52 gObjectStats[static_cast<int>(mType)].totalSize += delta;
96 stream << " is using " << SizePrinter{stats.totalSize};
107 return gObjectStats[static_cast<int>(type)].totalSize;
116 ATRACE_INT(buf, stats.totalSize);
/frameworks/av/drm/libmediadrm/
H A DICrypto.cpp123 size_t totalSize = 0; local
125 totalSize += subSamples[i].mNumBytesOfEncryptedData;
126 totalSize += subSamples[i].mNumBytesOfClearData;
129 data.writeInt32(totalSize);
324 size_t totalSize = data.readInt32(); local
386 if (overflow || sumSubsampleSizes != totalSize) {
388 } else if (totalSize > source.mSharedMemory->size()) {
390 } else if ((size_t)offset > source.mSharedMemory->size() - totalSize) {
/frameworks/av/include/media/stagefright/foundation/
H A DAData.h88 * \param totalSize size of the storage
93 inline static void emplace(size_t totalSize, T *addr, Args&&... args) { argument
97 memset(reinterpret_cast<uint8_t*>(addr) + size, 0, totalSize - size);
116 inline void _AUnion_impl::emplace<void>(size_t totalSize, void *addr) { argument
117 memset(addr, 0, totalSize);
/frameworks/av/media/libstagefright/foundation/include/foundation/
H A DAData.h88 * \param totalSize size of the storage
93 inline static void emplace(size_t totalSize, T *addr, Args&&... args) { argument
97 memset(reinterpret_cast<uint8_t*>(addr) + size, 0, totalSize - size);
116 inline void _AUnion_impl::emplace<void>(size_t totalSize, void *addr) { argument
117 memset(addr, 0, totalSize);
/frameworks/av/media/libstagefright/include/foundation/
H A DAData.h88 * \param totalSize size of the storage
93 inline static void emplace(size_t totalSize, T *addr, Args&&... args) { argument
97 memset(reinterpret_cast<uint8_t*>(addr) + size, 0, totalSize - size);
116 inline void _AUnion_impl::emplace<void>(size_t totalSize, void *addr) { argument
117 memset(addr, 0, totalSize);
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/deviceinfo/
H A DStorageMeasurement.java49 public long totalSize; field in class:StorageMeasurement.MeasurementDetails
86 return "MeasurementDetails: [totalSize: " + totalSize + " availSize: " + availSize
156 details.totalSize = mVolume.getPath().getTotalSpace();
162 details.totalSize = mStats.getTotalBytes(mVolume.fsUuid);
/frameworks/native/opengl/libs/EGL/
H A DBlobCache.cpp201 size_t totalSize = align4(entrySize); local
202 if (byteOffset + totalSize > size) {
214 if (totalSize > entrySize) {
217 memset(eheader->mData + keySize + valueSize, 0, totalSize - entrySize);
220 byteOffset += totalSize;
267 size_t totalSize = align4(entrySize); local
268 if (byteOffset + totalSize > size) {
277 byteOffset += totalSize;
/frameworks/av/media/img_utils/src/
H A DTiffWriter.cpp69 uint32_t totalSize = getTotalSize(); local
76 if (mNamedIfds[i]->setStripOffset(totalSize) != OK) {
80 totalSize += stripSize;
81 WORD_ALIGN(totalSize);
82 offsetVector.add(mNamedIfds.keyAt(i), totalSize);
372 uint32_t totalSize = FILE_HEADER_SIZE; local
375 totalSize += ifd->getSize();
378 return totalSize;
H A DDngUtils.cpp247 uint32_t totalSize = NUMBER_INT_ARGS * sizeof(uint32_t) + NUMBER_DOUBLE_ARGS * sizeof(double) + local
250 err = mEndianOut.write(&totalSize, 0, 1);
350 uint32_t totalSize = (NUMBER_CENTER_ARGS + NUMBER_COEFFS) * sizeof(double) + sizeof(uint32_t); local
352 err = mEndianOut.write(&totalSize, 0, 1);
403 uint32_t totalSize = (NUM_NON_VARLEN_FIELDS + badPointCount * SIZE_OF_POINT + local
405 err = mEndianOut.write(&totalSize, 0, 1);
/frameworks/av/media/libstagefright/
H A DWAVExtractor.cpp153 size_t totalSize = U32_LE_AT(&header[4]); local
156 size_t remainingSize = totalSize;
H A DNuCachedSource2.cpp48 size_t totalSize() const { function in struct:android::PageCache
339 mSource->reconnectAtOffset(mCacheOffset + mCache->totalSize());
363 mCacheOffset + mCache->totalSize(), page->mData, kPageSize);
419 if (mFetching && mCache->totalSize() >= mHighwaterThresholdBytes) {
492 && mCacheOffset + mCache->totalSize() - mLastAccessPos
510 ALOGI("restarting prefetcher, totalSize = %zu", mCache->totalSize());
527 && offset + size <= mCacheOffset + mCache->totalSize()) {
567 return mCacheOffset + mCache->totalSize();
583 off64_t lastBytePosCached = mCacheOffset + mCache->totalSize();
665 size_t totalSize = mCache->totalSize(); local
[all...]
H A DOggExtractor.cpp545 size_t totalSize = 0;; local
547 totalSize += page->mLace[i];
562 return sizeof(header) + page->mNumSegments + totalSize;
/frameworks/av/media/libstagefright/filters/
H A DMediaFilter.cpp222 size_t totalSize = kBufferCountActual * bufferSize; local
224 mDealer[portIndex] = new MemoryDealer(totalSize, "MediaFilter");
/frameworks/base/media/jni/
H A Dandroid_media_MediaDescrambler.cpp206 ssize_t totalSize = 0; local
234 totalSize += subSamples[i].mNumBytesOfClearData +
250 if (totalSize < 0) {
257 return totalSize;
/frameworks/av/media/libstagefright/webm/
H A DWebmElement.cpp40 int64_t voidSize(int64_t totalSize) { argument
41 if (totalSize < 2) {
44 if (totalSize < 9) {
45 return totalSize - 2;
47 return totalSize - 9;
54 total += (*it)->totalSize();
100 uint64_t WebmElement::totalSize() { function in class:android::WebmElement
107 size = totalSize();
115 size = totalSize();
216 EbmlVoid::EbmlVoid(uint64_t totalSize) argument
[all...]
H A DWebmWriter.cpp309 uint64_t cuesSize = cues->totalSize();
329 uint64_t totalSize = ::lseek(mFd, 0, SEEK_END); local
330 uint64_t segmentSize = totalSize - mSegmentDataStart;
/frameworks/base/core/jni/
H A Dcom_android_internal_content_NativeLibraryHelper.cpp504 size_t totalSize = 0; local
506 iterateOverNativeFiles(env, apkHandle, javaCpuAbi, debuggable, sumFiles, &totalSize);
508 return totalSize;
/frameworks/av/media/libstagefright/mpeg2ts/
H A DESQueue.cpp1024 size_t totalSize = 0; local
1072 size_t auSize = 4 * nals.size() + totalSize;
1175 ALOGV("dequeueAccessUnitH264[%d]: AU %p(%zu) dstOffset:%zu, nals:%zu, totalSize:%zu ",
1177 dstOffset, nals.size(), totalSize);
1189 totalSize += nalSize;
/frameworks/base/core/java/com/android/internal/widget/helper/
H A DItemTouchHelper.java2104 * @param totalSize The total size of RecyclerView in the scroll direction.
2111 int totalSize, long msSinceStartScroll) {
2109 interpolateOutOfBoundsScroll(RecyclerView recyclerView, int viewSize, int viewSizeOutOfBounds, int totalSize, long msSinceStartScroll) argument

Completed in 8720 milliseconds

12