Searched refs:FRP_SECRET_MAGIC (Results 1 – 2 of 2) sorted by relevance
156 static final byte[] FRP_SECRET_MAGIC = {(byte) 0xda, (byte) 0xc2, (byte) 0xfc, field in PersistentDataBlockService425 long frpSecretSize = mFrpEnforced ? FRP_SECRET_MAGIC.length + FRP_SECRET_SIZE : 0; in getMaximumFrpDataSize()437 return getFrpSecretDataOffset() - FRP_SECRET_MAGIC.length; in getFrpSecretMagicOffset()560 - FRP_SECRET_MAGIC.length - FRP_SECRET_SIZE - FRP_CREDENTIAL_RESERVED_SIZE in formatPartitionLocked()572 channel.write(ByteBuffer.wrap(FRP_SECRET_MAGIC)); in formatPartitionLocked()719 readDataBlock(getFrpSecretMagicOffset(), FRP_SECRET_MAGIC.length); in hasFrpSecretMagic()725 return Arrays.equals(frpMagic, FRP_SECRET_MAGIC); in hasFrpSecretMagic()774 channel.write(ByteBuffer.wrap(FRP_SECRET_MAGIC)); in writeFrpMagicAndDefaultSecret()846 mFrpEnforced ? (FRP_SECRET_MAGIC.length + FRP_SECRET_SIZE) : 0; in doGetMaximumDataBlockSize()
21 import static com.android.server.pdb.PersistentDataBlockService.FRP_SECRET_MAGIC;442 assertThat(readData(channel, FRP_SECRET_MAGIC.length).array()).isEqualTo( in testPartitionFormat()443 FRP_SECRET_MAGIC); in testPartitionFormat()716 PersistentDataBlockService.FRP_SECRET_MAGIC.length); in frpMagicTest()718 assertThat(magicField).isEqualTo(PersistentDataBlockService.FRP_SECRET_MAGIC); in frpMagicTest()720 assertThat(magicField).isNotEqualTo(PersistentDataBlockService.FRP_SECRET_MAGIC); in frpMagicTest()