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

/frameworks/base/tools/aapt2/util/
H A DBigBuffer.cpp28 if (block.mBlockSize - block.size >= size) {
36 const size_t actualSize = std::max(mBlockSize, size);
45 block.mBlockSize = actualSize;
H A DBigBuffer.h57 size_t mBlockSize; member in struct:aapt::BigBuffer::Block
110 size_t mBlockSize; member in class:aapt::BigBuffer
115 inline BigBuffer::BigBuffer(size_t blockSize) : mBlockSize(blockSize), mSize(0) {
119 mBlockSize(rhs.mBlockSize), mSize(rhs.mSize), mBlocks(std::move(rhs.mBlocks)) {
/frameworks/base/tests/LowStorageTest/src/com/android/lowstoragetest/
H A DLowStorageTest.java41 private int mBlockSize = 0; field in class:LowStorageTest
54 mBlockSize = (int) (stat.getBlockSize());
56 startSizeTextView.setText(Long.toString((totalBlocks * mBlockSize) / BYTE_SIZE));
86 byte buf[] = new byte[mBlockSize * NO_OF_BLOCKS_TO_FILL];
92 byte buf[] = new byte[(noOfBlockToFill % NO_OF_BLOCKS_TO_FILL) * mBlockSize];
125 freeSizeTextView.setText(Long.toString((availableBlocks * mBlockSize) / BYTE_SIZE));
/frameworks/base/services/core/java/com/android/server/
H A DDropBoxManagerService.java94 private int mBlockSize = 0; field in class:DropBoxManagerService
230 byte[] buffer = new byte[mBlockSize];
247 int bufferSize = mBlockSize;
637 mBlockSize = mStatFs.getBlockSize();
658 EntryFile entry = new EntryFile(file, mBlockSize);
720 late.file, mDropBoxDir, late.tag, t++, late.flags, mBlockSize));
730 enrollEntry(new EntryFile(temp, mDropBoxDir, tag, t, flags, mBlockSize));
774 int maximum = quotaKb * 1024 / mBlockSize;
824 return mCachedQuotaBlocks * mBlockSize;

Completed in 133 milliseconds