Home
last modified time | relevance | path

Searched refs:mBlockSize (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/tools/aapt2/
DBigBuffer.h56 size_t mBlockSize; member
109 size_t mBlockSize; variable
114 inline BigBuffer::BigBuffer(size_t blockSize) : mBlockSize(blockSize), mSize(0) { in BigBuffer()
118 mBlockSize(rhs.mBlockSize), mSize(rhs.mSize), mBlocks(std::move(rhs.mBlocks)) { in BigBuffer()
DBigBuffer.cpp28 if (block.mBlockSize - block.size >= size) { in nextBlockImpl()
36 const size_t actualSize = std::max(mBlockSize, size); in nextBlockImpl()
45 block.mBlockSize = actualSize; in nextBlockImpl()
/frameworks/base/tests/LowStorageTest/src/com/android/lowstoragetest/
DLowStorageTest.java41 private int mBlockSize = 0; field in LowStorageTest
54 mBlockSize = (int) (stat.getBlockSize()); in onCreate()
56 startSizeTextView.setText(Long.toString((totalBlocks * mBlockSize) / BYTE_SIZE)); in onCreate()
86 byte buf[] = new byte[mBlockSize * NO_OF_BLOCKS_TO_FILL]; in fillupdisk()
92 byte buf[] = new byte[(noOfBlockToFill % NO_OF_BLOCKS_TO_FILL) * mBlockSize]; in fillupdisk()
125 freeSizeTextView.setText(Long.toString((availableBlocks * mBlockSize) / BYTE_SIZE)); in updateInfo()
/frameworks/base/services/core/java/com/android/server/
DDropBoxManagerService.java93 private int mBlockSize = 0; field in DropBoxManagerService
191 byte[] buffer = new byte[mBlockSize]; in add()
208 int bufferSize = mBlockSize; in add()
597 mBlockSize = mStatFs.getBlockSize(); in init()
618 EntryFile entry = new EntryFile(file, mBlockSize); in init()
680 late.file, mDropBoxDir, late.tag, t++, late.flags, mBlockSize)); in createEntry()
690 enrollEntry(new EntryFile(temp, mDropBoxDir, tag, t, flags, mBlockSize)); in createEntry()
734 int maximum = quotaKb * 1024 / mBlockSize; in trimToFit()
784 return mCachedQuotaBlocks * mBlockSize; in trimToFit()