Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/os/
DAtomicDirectory.java51 private final @NonNull File mBackupDirectory; field in AtomicDirectory
64 mBackupDirectory = new File(baseDirectory.getPath() + "_bak"); in AtomicDirectory()
77 return mBackupDirectory; in getBackupDirectory()
181 deleteDirectory(mBackupDirectory); in finishWrite()
205 return mBaseDirectory.exists() || mBackupDirectory.exists(); in exists()
216 if (mBackupDirectory.exists()) { in delete()
217 deleteDirectory(mBackupDirectory); in delete()
251 if (mBackupDirectory.exists()) { in backup()
252 deleteDirectory(mBackupDirectory); in backup()
254 if (!mBaseDirectory.renameTo(mBackupDirectory)) { in backup()
[all …]