Searched refs:mFrpSecretFile (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/pdb/ |
D | PersistentDataBlockServiceTest.java | 87 private File mFrpSecretFile; field in PersistentDataBlockServiceTest 126 mFrpSecretFile = mTemporaryFolder.newFile(); in setUp() 130 DEFAULT_BLOCK_DEVICE_SIZE, frpEnabled, mFrpSecretFile.getPath(), in setUp() 745 assertThat(mFrpSecretFile.exists()).isTrue(); in frpSecret_SetSecret() 746 byte[] secretFileData = Files.readAllBytes(mFrpSecretFile.toPath()); in frpSecret_SetSecret() 772 mFrpSecretFile.getPath(), mFrpSecretTmpFile.getPath()); in frpState_StartsActive() 806 Files.move(mFrpSecretFile.toPath(), mFrpSecretTmpFile.toPath(), REPLACE_EXISTING); in frpState_AutomaticallyDeactivateWithBackupDataFile() 903 DEFAULT_BLOCK_DEVICE_SIZE, frpEnabled, mFrpSecretFile.getPath(), in frpState_TestDowngradeUpgradeSequence() 913 DEFAULT_BLOCK_DEVICE_SIZE, frpEnabled, mFrpSecretFile.getPath(), in frpState_TestDowngradeUpgradeSequence() 1002 Files.deleteIfExists(mFrpSecretFile.toPath()); in simulateDataWipe()
|
/frameworks/base/services/core/java/com/android/server/pdb/ |
D | PersistentDataBlockService.java | 199 private final String mFrpSecretFile; field in PersistentDataBlockService 222 mFrpSecretFile = FRP_SECRET_FILE; in PersistentDataBlockService() 244 mFrpSecretFile = frpSecretFile; in PersistentDataBlockService() 612 if (deactivateFrpWithFileSecret(mFrpSecretFile)) { in automaticallyDeactivateFrpIfPossible() 662 Files.move(Paths.get(mFrpSecretTmpFile), Paths.get(mFrpSecretFile), REPLACE_EXISTING); in moveFrpTempFileToPrimary() 897 printFrpDataFileContents(pw, mFrpSecretFile, printSecrets);
|