/frameworks/base/libs/hwui/ |
H A D | GpuMemoryTracker.cpp | 42 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/media/libstagefright/rtsp/ |
H A D | ARTPAssembler.cpp | 77 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 D | AAVCAssembler.cpp | 215 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 D | AH263Assembler.cpp | 159 size_t totalSize = 0; local 164 totalSize += unit->size(); 168 sp<ABuffer> accessUnit = new ABuffer(totalSize);
|
H A D | AAMRAssembler.cpp | 152 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 D | NuCachedSource2.cpp | 48 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 D | WAVExtractor.cpp | 151 size_t totalSize = U32_LE_AT(&header[4]); local 154 size_t remainingSize = totalSize;
|
/frameworks/av/media/libstagefright/webm/ |
H A D | WebmElement.cpp | 40 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 D | WebmElement.h | 37 uint64_t totalSize(); 117 EbmlVoid(uint64_t totalSize);
|
H A D | WebmWriter.cpp | 309 uint64_t cuesSize = cues->totalSize(); 329 uint64_t totalSize = ::lseek(mFd, 0, SEEK_END); local 330 uint64_t segmentSize = totalSize - mSegmentDataStart;
|
/frameworks/av/media/libmedia/ |
H A D | ICrypto.cpp | 126 size_t totalSize = 0; local 128 totalSize += subSamples[i].mNumBytesOfEncryptedData; 129 totalSize += subSamples[i].mNumBytesOfClearData; 132 data.writeInt32(totalSize); 295 size_t totalSize = data.readInt32(); local 323 dstPtr = malloc(totalSize); 345 if (overflow || sumSubsampleSizes != totalSize) { 347 } else if (totalSize > sharedBuffer->size()) { 349 } else if ((size_t)offset > sharedBuffer->size() - totalSize) { 371 CHECK_LE(result, static_cast<ssize_t>(totalSize)); [all...] |
/frameworks/av/media/img_utils/src/ |
H A D | DngUtils.cpp | 247 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);
|
H A D | TiffWriter.cpp | 69 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/base/tools/aapt/ |
H A D | StringPool.cpp | 470 const size_t totalSize = lenSize + encLenSize + 473 void* dat = (void*)pool->editData(preSize + strPos + totalSize); 495 strPos += totalSize; 517 const size_t totalSize = (N*sizeof(ResStringPool_span)) 521 uint8_t* dat = (uint8_t*)pool->editData(preSize + styPos + totalSize); 535 styPos += totalSize;
|
/frameworks/base/tests/CoreTests/android/core/ |
H A D | HeapTest.java | 164 int totalSize = 0; 166 while (i < junk.length && totalSize < 8 * 1024 * 1024) { 171 totalSize += r * 4;
|
/frameworks/base/include/androidfw/ |
H A D | BackupHelpers.h | 42 int totalSize; member in struct:android::SnapshotHeader
|
/frameworks/base/core/java/android/hardware/camera2/ |
H A D | DngCreator.java | 479 long totalSize = ((long) rowStride) * height + offset; 480 if (capacity < totalSize) { 482 " is too small (must be larger than " + totalSize + ")");
|
/frameworks/base/core/jni/ |
H A D | com_android_internal_content_NativeLibraryHelper.cpp | 502 size_t totalSize = 0; local 504 iterateOverNativeFiles(env, apkHandle, javaCpuAbi, sumFiles, &totalSize); 506 return totalSize;
|
/frameworks/base/tools/aapt2/ |
H A D | StringPool.cpp | 325 const size_t totalSize = encodedLengthUnits<char>(entry->value.size()) local 329 char* data = out->nextBlock<char>(totalSize); 338 const size_t totalSize = encodedLengthUnits<char16_t>(entry->value.size()) local 341 char16_t* data = out->nextBlock<char16_t>(totalSize);
|
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
H A D | RequestThreadManager.java | 223 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/packages/DefaultContainerService/src/com/android/defcontainer/ |
H A D | DefaultContainerService.java | 225 final long totalSize = stat.f_blocks * stat.f_bsize; 227 return new long[] { totalSize, availSize };
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/deviceinfo/ |
H A D | StorageMeasurement.java | 80 public long totalSize; field in class:StorageMeasurement.MeasurementDetails 398 details.totalSize = file.getTotalSpace();
|
/frameworks/av/drm/mediadrm/plugins/clearkey/tests/ |
H A D | AesCtrDecryptorUnittest.cpp | 44 template <size_t totalSize> 50 uint8_t outputBuffer[totalSize] = {}; 55 EXPECT_EQ(totalSize, bytesDecrypted); 56 EXPECT_EQ(0, memcmp(outputBuffer, decrypted, totalSize));
|
/frameworks/support/design/src/android/support/design/internal/ |
H A D | NavigationMenuPresenter.java | 455 for (int i = 0, totalSize = mMenu.getVisibleItems().size(); i < totalSize; i++) {
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
H A D | SettingsBackupAgent.java | 1060 int totalSize = 0; 1092 totalSize += INTEGER_BYTE_COUNT + keyBytes.length; 1096 totalSize += INTEGER_BYTE_COUNT + valueBytes.length; 1107 byte[] result = new byte[totalSize];
|