Home
last modified time | relevance | path

Searched refs:blockSize (Results 1 – 6 of 6) 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/media/java/android/media/
DMediaCodecInfo.java1688 Size blockSize = Utils.parseSize(map.get("block-size"), new Size(8, 8)); in equivalentVP9Level() local
1689 int BS = blockSize.getWidth() * blockSize.getHeight(); in equivalentVP9Level()
1740 Size blockSize = new Size(mBlockWidth, mBlockHeight); in parseFromInfo() local
1747 blockSize = Utils.parseSize(map.get("block-size"), blockSize); in parseFromInfo()
1802 blockSize.getWidth(), "block-size width must be power of two"); in parseFromInfo()
1804 blockSize.getHeight(), "block-size height must be power of two"); in parseFromInfo()
1814 Long.MAX_VALUE, blockSize.getWidth(), blockSize.getHeight(), in parseFromInfo()
1829 / blockSize.getWidth() / blockSize.getHeight())); in parseFromInfo()
1834 / blockSize.getWidth() / blockSize.getHeight())); in parseFromInfo()
1839 mBlockHeight / blockSize.getHeight(), in parseFromInfo()
[all …]
/frameworks/base/services/core/java/com/android/server/
DDropBoxManagerService.java544 int flags, int blockSize) throws IOException { in EntryFile() argument
557 this.blocks = (int) ((this.file.length() + blockSize - 1) / blockSize); in EntryFile()
581 public EntryFile(File file, int blockSize) { in EntryFile() argument
583 this.blocks = (int) ((this.file.length() + blockSize - 1) / blockSize); in EntryFile()
/frameworks/av/media/libstagefright/matroska/
DMatroskaExtractor.cpp1422 size_t blockSize = 0; in findThumbnails() local
1424 blockSize += iter.block()->GetFrame(k).len; in findThumbnails()
1427 if (blockSize > maxBlockSize) { in findThumbnails()
1428 maxBlockSize = blockSize; in findThumbnails()
/frameworks/data-binding/prebuilds/1.0-rc0/
Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/ ...