Home
last modified time | relevance | path

Searched refs:UNCRYPT_PACKAGE_FILE (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/java/android/os/
DRecoverySystem.java108 public static final File UNCRYPT_PACKAGE_FILE = new File(RECOVERY_DIR, "uncrypt_file"); field in RecoverySystem
528 UNCRYPT_PACKAGE_FILE.delete(); in installPackage()
547 FileWriter uncryptFile = new FileWriter(UNCRYPT_PACKAGE_FILE); in installPackage()
555 if (!UNCRYPT_PACKAGE_FILE.setReadable(true, false) in installPackage()
556 || !UNCRYPT_PACKAGE_FILE.setWritable(true, false)) { in installPackage()
557 Log.e(TAG, "Error setting permission for " + UNCRYPT_PACKAGE_FILE); in installPackage()
953 if (!reservePackage && UNCRYPT_PACKAGE_FILE.exists()) { in handleAftermath()
956 filename = FileUtils.readTextFile(UNCRYPT_PACKAGE_FILE, 0, null); in handleAftermath()
964 if (UNCRYPT_PACKAGE_FILE.delete()) { in handleAftermath()
982 if (reservePackage && names[i].equals(UNCRYPT_PACKAGE_FILE.getName())) continue; in handleAftermath()
/frameworks/base/services/core/java/com/android/server/
DRecoverySystemService.java91 RecoverySystem.UNCRYPT_PACKAGE_FILE.delete(); in uncrypt()
93 try (FileWriter uncryptFile = new FileWriter(RecoverySystem.UNCRYPT_PACKAGE_FILE)) { in uncrypt()
97 RecoverySystem.UNCRYPT_PACKAGE_FILE + "\":", e); in uncrypt()
/frameworks/base/services/core/java/com/android/server/power/
DShutdownThread.java284 mRebootHasProgressBar = RecoverySystem.UNCRYPT_PACKAGE_FILE.exists() in beginShutdownSequence()
710 filename = FileUtils.readTextFile(RecoverySystem.UNCRYPT_PACKAGE_FILE, 0, null); in uncrypt()
/frameworks/base/services/java/com/android/server/
DSystemServer.java203 private static final String UNCRYPT_PACKAGE_FILE = "/cache/recovery/uncrypt_file"; field in SystemServer
453 File packageFile = new File(UNCRYPT_PACKAGE_FILE); in performPendingShutdown()