Home
last modified time | relevance | path

Searched refs:MAX_DATA_BLOCK_SIZE (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/core/java/com/android/server/pdb/
DPersistentDataBlockService.java170 static final int MAX_DATA_BLOCK_SIZE = 1024 * 100; field in PersistentDataBlockService
413 mBlockDeviceSize = MAX_DATA_BLOCK_SIZE; in getBlockDeviceSize()
849 return actualSize <= MAX_DATA_BLOCK_SIZE ? actualSize : MAX_DATA_BLOCK_SIZE; in doGetMaximumDataBlockSize()
1100 Files.write(Paths.get(mDataBlockFile), new byte[MAX_DATA_BLOCK_SIZE],
/frameworks/base/services/tests/servicestests/src/com/android/server/pdb/
DPersistentDataBlockServiceTest.java24 import static com.android.server.pdb.PersistentDataBlockService.MAX_DATA_BLOCK_SIZE;
329 assertThat(service.write(new byte[maxDataSize + 1])).isEqualTo(-MAX_DATA_BLOCK_SIZE); in frpWriteMoreThan100K()
370 assertThat(service.getMaximumDataBlockSize()).isEqualTo(MAX_DATA_BLOCK_SIZE); in getMaximumDataBlockSizeOfLargerPartition()