Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/pdb/
DPersistentDataBlockServiceTest.java88 private File mFrpSecretTmpFile; field in PersistentDataBlockServiceTest
127 mFrpSecretTmpFile = mTemporaryFolder.newFile(); in setUp()
131 mFrpSecretTmpFile.getPath()); in setUp()
749 assertThat(mFrpSecretTmpFile.exists()).isFalse(); in frpSecret_SetSecret()
772 mFrpSecretFile.getPath(), mFrpSecretTmpFile.getPath()); in frpState_StartsActive()
806 Files.move(mFrpSecretFile.toPath(), mFrpSecretTmpFile.toPath(), REPLACE_EXISTING); in frpState_AutomaticallyDeactivateWithBackupDataFile()
904 mFrpSecretTmpFile.getPath()); in frpState_TestDowngradeUpgradeSequence()
914 mFrpSecretTmpFile.getPath()); in frpState_TestDowngradeUpgradeSequence()
921 DEFAULT_BLOCK_DEVICE_SIZE, frpEnabled, mFrpSecretTmpFile.getPath(), in frpState_TestDowngradeUpgradeSequence()
922 mFrpSecretTmpFile.getPath()); in frpState_TestDowngradeUpgradeSequence()
[all …]
/frameworks/base/services/core/java/com/android/server/pdb/
DPersistentDataBlockService.java200 private final String mFrpSecretTmpFile; field in PersistentDataBlockService
223 mFrpSecretTmpFile = FRP_SECRET_TMP_FILE; in PersistentDataBlockService()
245 mFrpSecretTmpFile = frpSecretTmpFile; in PersistentDataBlockService()
617 if (deactivateFrpWithFileSecret(mFrpSecretTmpFile)) { in automaticallyDeactivateFrpIfPossible()
662 Files.move(Paths.get(mFrpSecretTmpFile), Paths.get(mFrpSecretFile), REPLACE_EXISTING); in moveFrpTempFileToPrimary()
688 Paths.get(mFrpSecretTmpFile), secret, WRITE, CREATE, TRUNCATE_EXISTING, SYNC); in updateFrpSecret()
898 printFrpDataFileContents(pw, mFrpSecretTmpFile, printSecrets);