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

123

/frameworks/base/cmds/incidentd/src/
H A Dreport_directory.cpp113 off_t totalSize = 0; local
131 totalSize += st.st_size;
138 if (totalSize < maxSize && totalCount < maxCount) {
147 it != files.end() && totalSize >= maxSize && totalCount >= maxCount; it++) {
149 totalSize -= it->second.st_size;
/frameworks/base/libs/hwui/
H A DGpuMemoryTracker.cpp40 int totalSize = 0; member in struct:android::uirenderer::TypeStats
50 gObjectStats[static_cast<int>(mType)].totalSize += delta;
95 stream << " is using " << SizePrinter{stats.totalSize};
106 return gObjectStats[static_cast<int>(type)].totalSize;
115 ATRACE_INT(buf, stats.totalSize);
/frameworks/av/media/libstagefright/rtsp/
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 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);
H A DAH263Assembler.cpp159 size_t totalSize = 0; local
164 totalSize += unit->size();
168 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);
/frameworks/av/media/libstagefright/
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...]
/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 DWebmElement.h37 uint64_t totalSize();
117 explicit EbmlVoid(uint64_t 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
366 if (totalSize > dest->size() ||
367 (size_t)dest->offset() > dest->size() - totalSize) {
397 if (overflow || sumSubsampleSizes != totalSize) {
399 } else if (totalSize > source.mSharedMemory->size()) {
401 } else if ((size_t)offset > source.mSharedMemory->size() - totalSize) {
[all...]
/frameworks/av/media/img_utils/src/
H A DDngUtils.cpp248 uint32_t totalSize = NUMBER_INT_ARGS * sizeof(uint32_t) + NUMBER_DOUBLE_ARGS * sizeof(double) + local
251 err = mEndianOut.write(&totalSize, 0, 1);
336 uint32_t totalSize = (NUMBER_CENTER_ARGS + NUMBER_COEFFS) * sizeof(double) + sizeof(uint32_t); local
338 err = mEndianOut.write(&totalSize, 0, 1);
389 uint32_t totalSize = (NUM_NON_VARLEN_FIELDS + badPointCount * SIZE_OF_POINT + local
391 err = mEndianOut.write(&totalSize, 0, 1);
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;
/frameworks/ml/nn/driver/cache/BlobCache/
H A DBlobCache.cpp256 size_t totalSize = align4(entrySize); local
257 if (byteOffset + totalSize > size) {
269 if (totalSize > entrySize) {
272 memset(eheader->mData + keySize + valueSize, 0, totalSize - entrySize);
275 byteOffset += totalSize;
322 size_t totalSize = align4(entrySize); local
323 if (byteOffset + totalSize > size) {
332 byteOffset += totalSize;
/frameworks/native/opengl/libs/EGL/
H A DBlobCache.cpp202 size_t totalSize = align4(entrySize); local
203 if (byteOffset + totalSize > size) {
215 if (totalSize > entrySize) {
218 memset(eheader->mData + keySize + valueSize, 0, totalSize - entrySize);
221 byteOffset += totalSize;
268 size_t totalSize = align4(entrySize); local
269 if (byteOffset + totalSize > size) {
278 byteOffset += 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/base/core/java/com/android/internal/backup/
H A DLocalTransport.java256 int totalSize = parseKeySizes(packageDir, datastore);
267 int updatedSize = totalSize;
345 int totalSize = 0;
355 totalSize += size;
362 Log.v(TAG, " TOTAL: " + totalSize);
369 return totalSize;
/frameworks/base/tools/aapt/
H A DStringPool.cpp466 const size_t totalSize = lenSize + encLenSize +
469 void* dat = (void*)pool->editData(preSize + strPos + totalSize);
491 strPos += totalSize;
513 const size_t totalSize = (N*sizeof(ResStringPool_span))
517 uint8_t* dat = (uint8_t*)pool->editData(preSize + styPos + totalSize);
531 styPos += totalSize;
/frameworks/base/cmds/statsd/src/metrics/
H A DCountMetricProducer.cpp370 size_t totalSize = 0; local
372 totalSize += pair.second.size() * kBucketSize;
374 return totalSize;
H A DMetricsManager.cpp397 size_t totalSize = 0; local
399 totalSize += metricProducer->byteSize();
401 return totalSize;
H A DValueMetricProducer.cpp523 size_t totalSize = 0; local
525 totalSize += pair.second.size() * kBucketSize;
527 return totalSize;
/frameworks/base/libs/androidfw/include/androidfw/
H A DBackupHelpers.h42 int totalSize; member in struct:android::SnapshotHeader
/frameworks/base/media/jni/
H A Dandroid_media_MediaDescrambler.cpp303 ssize_t totalSize = 0; local
330 totalSize += subSamples[i].numBytesOfClearData +
346 if (totalSize < 0) {
350 return totalSize;
/frameworks/base/core/java/android/os/
H A DBinder.java933 final int totalSize = size();
935 + " total = " + totalSize);
937 if (Build.IS_DEBUGGABLE && totalSize >= CRASH_AT_SIZE) {
948 + totalSize + " (total), " + totalUnclearedSize + " (uncleared), "
950 } else if (totalSize > 3 * totalUnclearedSize / 2) {
952 + (totalSize - totalUnclearedSize) + " of " + totalSize
/frameworks/base/services/backup/java/com/android/server/backup/fullbackup/
H A DPerformFullTransportBackupTask.java725 long totalSize = mResult.get();
727 if (totalSize < 0) {
728 return (int) totalSize;
731 Slog.v(TAG, "Got preflight response; size=" + totalSize);
736 result = transport.checkFullBackupSize(totalSize);
740 pkg.packageName + ": " + totalSize + " of " + mQuota);
742 agent.doQuotaExceeded(totalSize, mQuota);
/frameworks/base/core/java/android/hardware/camera2/
H A DDngCreator.java500 long totalSize = ((long) rowStride) * height + offset;
501 if (capacity < totalSize) {
503 " is too small (must be larger than " + totalSize + ")");

Completed in 3024 milliseconds

123