Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/pdb/
DPersistentDataBlockService.java163 static final int TEST_MODE_RESERVED_SIZE = 10000; field in PersistentDataBlockService
166 static final int MAX_TEST_MODE_DATA_SIZE = TEST_MODE_RESERVED_SIZE - 4;
447 return getFrpCredentialDataOffset() - TEST_MODE_RESERVED_SIZE; in getTestHarnessModeDataOffset()
559 buf = ByteBuffer.allocate(payload_size - TEST_MODE_RESERVED_SIZE in formatPartitionLocked()
563 buf = ByteBuffer.allocate(payload_size - TEST_MODE_RESERVED_SIZE in formatPartitionLocked()
583 channel.position(channel.position() + TEST_MODE_RESERVED_SIZE); in formatPartitionLocked()
848 - TEST_MODE_RESERVED_SIZE - frpSecretSize - FRP_CREDENTIAL_RESERVED_SIZE - 1; in doGetMaximumDataBlockSize()
/frameworks/base/services/tests/servicestests/src/com/android/server/pdb/
DPersistentDataBlockServiceTest.java27 import static com.android.server.pdb.PersistentDataBlockService.TEST_MODE_RESERVED_SIZE;
451 assertContains("Test data", readData(channel, TEST_MODE_RESERVED_SIZE).array(), in testPartitionFormat()