/frameworks/av/media/libstagefright/webm/ |
D | WebmElement.cpp | 38 int64_t voidSize(int64_t totalSize) { in voidSize() argument 39 if (totalSize < 2) { in voidSize() 42 if (totalSize < 9) { in voidSize() 43 return totalSize - 2; in voidSize() 45 return totalSize - 9; in voidSize() 52 total += (*it)->totalSize(); in childrenSum() 98 uint64_t WebmElement::totalSize() { in totalSize() function in android::WebmElement 105 size = totalSize(); in serialize() 113 size = totalSize(); in write() 214 EbmlVoid::EbmlVoid(uint64_t totalSize) in EbmlVoid() argument [all …]
|
D | WebmElement.h | 35 uint64_t totalSize(); 113 EbmlVoid(uint64_t totalSize);
|
D | WebmWriter.cpp | 277 uint64_t cuesSize = cues->totalSize(); in reset() 297 uint64_t totalSize = ::lseek(mFd, 0, SEEK_END); in reset() local 298 uint64_t segmentSize = totalSize - mSegmentDataStart; in reset()
|
/frameworks/av/media/libstagefright/ |
D | NuCachedSource2.cpp | 48 size_t totalSize() const { in totalSize() function 328 mSource->reconnectAtOffset(mCacheOffset + mCache->totalSize()); in fetchInternal() 352 mCacheOffset + mCache->totalSize(), page->mData, kPageSize); in fetchInternal() 408 if (mFetching && mCache->totalSize() >= mHighwaterThresholdBytes) { in onFetch() 481 && mCacheOffset + mCache->totalSize() - mLastAccessPos in restartPrefetcherIfNecessary_l() 499 ALOGI("restarting prefetcher, totalSize = %zu", mCache->totalSize()); in restartPrefetcherIfNecessary_l() 516 && offset + size <= mCacheOffset + mCache->totalSize()) { in readAt() 556 return mCacheOffset + mCache->totalSize(); in cachedSize() 572 off64_t lastBytePosCached = mCacheOffset + mCache->totalSize(); in approxDataRemaining_l() 601 || offset >= (off64_t)(mCacheOffset + mCache->totalSize())) { in readInternal() [all …]
|
D | WAVExtractor.cpp | 149 size_t totalSize = U32_LE_AT(&header[4]); in init() local 152 size_t remainingSize = totalSize; in init()
|
/frameworks/av/media/libstagefright/rtsp/ |
D | ARTPAssembler.cpp | 77 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()
|
D | AAVCAssembler.cpp | 215 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()
|
D | AH263Assembler.cpp | 159 size_t totalSize = 0; in submitAccessUnit() local 164 totalSize += unit->size(); in submitAccessUnit() 168 sp<ABuffer> accessUnit = new ABuffer(totalSize); in submitAccessUnit()
|
D | AAMRAssembler.cpp | 152 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/libmedia/ |
D | ICrypto.cpp | 124 size_t totalSize = 0; in decrypt() local 126 totalSize += subSamples[i].mNumBytesOfEncryptedData; in decrypt() 127 totalSize += subSamples[i].mNumBytesOfClearData; in decrypt() 130 data.writeInt32(totalSize); in decrypt() 282 size_t totalSize = data.readInt32(); in onTransact() local 300 dstPtr = malloc(totalSize); in onTransact() 306 if (offset + totalSize > sharedBuffer->size()) { in onTransact() 328 CHECK_LE(result, static_cast<ssize_t>(totalSize)); in onTransact()
|
/frameworks/av/drm/mediadrm/plugins/clearkey/tests/ |
D | AesCtrDecryptorUnittest.cpp | 44 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/ |
D | TiffWriter.cpp | 69 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()
|
D | DngUtils.cpp | 245 uint32_t totalSize = NUMBER_INT_ARGS * sizeof(uint32_t) + NUMBER_DOUBLE_ARGS * sizeof(double) + in addGainMap() local 248 err = mEndianOut.write(&totalSize, 0, 1); in addGainMap() 354 uint32_t totalSize = (NUMBER_CENTER_ARGS + NUMBER_COEFFS) * sizeof(double) + sizeof(uint32_t); in addWarpRectilinear() local 356 err = mEndianOut.write(&totalSize, 0, 1); in addWarpRectilinear()
|
/frameworks/base/tools/aapt/ |
D | StringPool.cpp | 470 const size_t totalSize = lenSize + encLenSize + in writeStringBlock() local 473 void* dat = (void*)pool->editData(preSize + strPos + totalSize); in writeStringBlock() 495 strPos += totalSize; in writeStringBlock() 517 const size_t totalSize = (N*sizeof(ResStringPool_span)) in writeStringBlock() local 521 uint8_t* dat = (uint8_t*)pool->editData(preSize + styPos + totalSize); in writeStringBlock() 535 styPos += totalSize; in writeStringBlock()
|
/frameworks/base/tools/aapt2/ |
D | StringPool.cpp | 319 const size_t totalSize = encodedLengthUnits<char>(entry->value.size()) in flatten() local 323 char* data = out->nextBlock<char>(totalSize); in flatten() 332 const size_t totalSize = encodedLengthUnits<char16_t>(entry->value.size()) in flatten() local 335 char16_t* data = out->nextBlock<char16_t>(totalSize); in flatten()
|
/frameworks/base/tests/CoreTests/android/core/ |
D | HeapTest.java | 164 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/ |
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/core/jni/ |
D | com_android_internal_content_NativeLibraryHelper.cpp | 502 size_t totalSize = 0; in com_android_internal_content_NativeLibraryHelper_sumNativeBinaries() local 504 iterateOverNativeFiles(env, apkHandle, javaCpuAbi, sumFiles, &totalSize); in com_android_internal_content_NativeLibraryHelper_sumNativeBinaries() 506 return totalSize; in com_android_internal_content_NativeLibraryHelper_sumNativeBinaries()
|
/frameworks/base/core/java/android/hardware/camera2/ |
D | DngCreator.java | 471 long totalSize = ((long) rowStride) * height + offset; in writeByteBuffer() local 472 if (capacity < totalSize) { in writeByteBuffer() 474 " is too small (must be larger than " + totalSize + ")"); in writeByteBuffer()
|
/frameworks/base/include/androidfw/ |
D | BackupHelpers.h | 42 int totalSize; member
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/deviceinfo/ |
D | StorageMeasurement.java | 80 public long totalSize; field in StorageMeasurement.MeasurementDetails 398 details.totalSize = file.getTotalSpace(); in measureExactStorage()
|
/frameworks/base/packages/DefaultContainerService/src/com/android/defcontainer/ |
D | DefaultContainerService.java | 225 final long totalSize = stat.f_blocks * stat.f_bsize; 227 return new long[] { totalSize, availSize };
|
/frameworks/base/docs/html/training/articles/ |
D | perf-anr.jd | 109 long totalSize = 0; 111 totalSize += Downloader.downloadFile(urls[i]); 116 return totalSize;
|
/frameworks/support/design/src/android/support/design/internal/ |
D | NavigationMenuPresenter.java | 385 for (int i = 0, totalSize = mMenu.getVisibleItems().size(); i < totalSize; i++) { in prepareMenuItems()
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/ |
D | PhotoViewController.java | 1082 private int calculateTranslate(int start, int startSize, int totalSize, float scale) { in calculateTranslate() argument 1096 int scaleFromEdge = Math.round((totalSize - totalSize * scale) / 2); in calculateTranslate() 1102 int blankSize = Math.round((totalSize * scale - startSize) / 2); in calculateTranslate()
|