Searched refs:mBlockSize (Results 1 - 2 of 2) sorted by relevance
/frameworks/base/tests/LowStorageTest/src/com/android/lowstoragetest/ |
H A D | LowStorageTest.java | 41 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 D | DropBoxManagerService.java | 93 private int mBlockSize = 0; field in class:DropBoxManagerService 191 byte[] buffer = new byte[mBlockSize]; 208 int bufferSize = mBlockSize; 597 mBlockSize = mStatFs.getBlockSize(); 618 EntryFile entry = new EntryFile(file, mBlockSize); 680 late.file, mDropBoxDir, late.tag, t++, late.flags, mBlockSize)); 690 enrollEntry(new EntryFile(temp, mDropBoxDir, tag, t, flags, mBlockSize)); 734 int maximum = quotaKb * 1024 / mBlockSize; 784 return mCachedQuotaBlocks * mBlockSize;
|
Completed in 388 milliseconds