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.java57 private final @NonNull File mBackupDirectory; field in AtomicDirectory
69 mBackupDirectory = new File(baseDirectory.getPath() + "_bak"); in AtomicDirectory()
83 return mBackupDirectory; in getBackupDirectory()
190 deleteDirectory(mBackupDirectory); in finishWrite()
213 return mBaseDirectory.exists() || mBackupDirectory.exists(); in exists()
224 if (mBackupDirectory.exists()) { in delete()
225 deleted |= deleteDirectory(mBackupDirectory); in delete()
256 if (mBackupDirectory.exists()) { in backup()
257 deleteDirectory(mBackupDirectory); in backup()
259 if (!mBaseDirectory.renameTo(mBackupDirectory)) { in backup()
[all …]