Home
last modified time | relevance | path

Searched refs:blockSize (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/
DDropBoxTest.java332 int blockSize = new StatFs(dir.getPath()).getBlockSize(); in testSizeLimits() local
335 int kb = blockSize * 10 / 1024; in testSizeLimits()
352 addRandomEntry(dropbox, "DropBoxTest0", blockSize - overhead); in testSizeLimits()
353 addRandomEntry(dropbox, "DropBoxTest0", blockSize - overhead); in testSizeLimits()
355 addRandomEntry(dropbox, "DropBoxTest1", blockSize - overhead); in testSizeLimits()
356 addRandomEntry(dropbox, "DropBoxTest1", blockSize - overhead); in testSizeLimits()
357 addRandomEntry(dropbox, "DropBoxTest1", blockSize * 2 - overhead); in testSizeLimits()
358 addRandomEntry(dropbox, "DropBoxTest1", blockSize - overhead); in testSizeLimits()
359 addRandomEntry(dropbox, "DropBoxTest1", blockSize * 20 - overhead); in testSizeLimits()
361 addRandomEntry(dropbox, "DropBoxTest2", blockSize * 4 - overhead); in testSizeLimits()
[all …]
/frameworks/base/core/tests/coretests/src/android/app/
DDownloadManagerStressTest.java158 int blockSize = fs.getBlockSize(); in testDownloadToCacheWithAlmostFullCache() local
160 int availableBytes = blockSize * availableBlocks; in testDownloadToCacheWithAlmostFullCache()
163 byte[] buffer = new byte[blockSize]; in testDownloadToCacheWithAlmostFullCache()
171 int writeSizeBlocks = writeSizeBytes / blockSize; in testDownloadToCacheWithAlmostFullCache()
192 long spaceAvailable = fs.getAvailableBlocks() * blockSize; in testDownloadToCacheWithAlmostFullCache()
/frameworks/base/tools/aapt2/util/
DBigBuffer.h66 BigBuffer(size_t blockSize);
115 inline BigBuffer::BigBuffer(size_t blockSize) : mBlockSize(blockSize), mSize(0) { in BigBuffer() argument
/frameworks/base/media/java/android/media/
DMediaCodecInfo.java1676 Size blockSize = Utils.parseSize(map.get("block-size"), new Size(8, 8)); in equivalentVP9Level() local
1677 int BS = blockSize.getWidth() * blockSize.getHeight(); in equivalentVP9Level()
1728 Size blockSize = new Size(mBlockWidth, mBlockHeight); in parseFromInfo() local
1735 blockSize = Utils.parseSize(map.get("block-size"), blockSize); in parseFromInfo()
1790 blockSize.getWidth(), "block-size width must be power of two"); in parseFromInfo()
1792 blockSize.getHeight(), "block-size height must be power of two"); in parseFromInfo()
1802 Long.MAX_VALUE, blockSize.getWidth(), blockSize.getHeight(), in parseFromInfo()
1817 / blockSize.getWidth() / blockSize.getHeight())); in parseFromInfo()
1822 / blockSize.getWidth() / blockSize.getHeight())); in parseFromInfo()
1827 mBlockHeight / blockSize.getHeight(), in parseFromInfo()
[all …]
/frameworks/base/services/core/java/com/android/server/
DDropBoxManagerService.java538 int flags, int blockSize) throws IOException { in EntryFile() argument
551 this.blocks = (int) ((this.file.length() + blockSize - 1) / blockSize); in EntryFile()
575 public EntryFile(File file, int blockSize) { in EntryFile() argument
577 this.blocks = (int) ((this.file.length() + blockSize - 1) / blockSize); in EntryFile()
/frameworks/av/media/libstagefright/matroska/
DMatroskaExtractor.cpp1336 size_t blockSize = 0; in findThumbnails() local
1338 blockSize += iter.block()->GetFrame(k).len; in findThumbnails()
1341 if (blockSize > maxBlockSize) { in findThumbnails()
1342 maxBlockSize = blockSize; in findThumbnails()
/frameworks/data-binding/prebuilds/1.0-rc0/
Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/ ...