Searched refs:ResilientAtomicFile (Results 1 – 9 of 9) sorted by relevance
162 try (ResilientAtomicFile file = getResilientFile(path)) { in saveToFileLocked()268 protected static ResilientAtomicFile getResilientFile(File file) { in getResilientFile()273 return new ResilientAtomicFile(file, temporaryBackup, reserveCopy, fileMode, in getResilientFile()
36 final class ResilientAtomicFile implements Closeable { class68 ResilientAtomicFile(@NonNull File file, @NonNull File temporaryBackup, in ResilientAtomicFile() method in ResilientAtomicFile
293 try (ResilientAtomicFile file = getResilientFile(path)) { in loadFromFile()
771 final ResilientAtomicFile getBaseStateFile() { in getBaseStateFile()778 return new ResilientAtomicFile(mainFile, temporaryBackup, reserveCopy, fileMode, in getBaseStateFile()998 try (ResilientAtomicFile file = getBaseStateFile()) { in saveBaseState()1035 try (ResilientAtomicFile file = getBaseStateFile()) { in loadBaseStateLocked()1087 final ResilientAtomicFile getUserFile(@UserIdInt int userId) { in getUserFile()1094 return new ResilientAtomicFile(mainFile, temporaryBackup, reserveCopy, fileMode, in getUserFile()1099 try (ResilientAtomicFile file = getUserFile(userId)) { in saveUser()1155 try (ResilientAtomicFile file = getUserFile(userId)) { in loadUserLocked()
182 public final class Settings implements Watchable, Snappable, ResilientAtomicFile.ReadEventLogger {1563 private ResilientAtomicFile getUserPackagesStateFile(int userId) {1569 return new ResilientAtomicFile(mainFile, temporaryBackup, reserveCopy,1574 private ResilientAtomicFile getSettingsFile() {1575 return new ResilientAtomicFile(mSettingsFilename, mPreviousSettingsFilename,1814 try (ResilientAtomicFile atomicFile = getUserPackagesStateFile(userId)) {2334 try (ResilientAtomicFile atomicFile = getUserPackagesStateFile(userId)) {2766 try (ResilientAtomicFile atomicFile = getSettingsFile()) {3331 try (ResilientAtomicFile atomicFile = getSettingsFile()) {
4226 private ResilientAtomicFile getUserListFile() { in getUserListFile()4231 return new ResilientAtomicFile(mUserListFile, tempBackup, reserveCopy, fileMode, in getUserListFile()4243 try (ResilientAtomicFile file = getUserListFile()) { in readUserListLP()4773 private ResilientAtomicFile getUserFile(int userId) { in getUserFile()4778 return new ResilientAtomicFile(file, tempBackup, reserveCopy, fileMode, in getUserFile()4794 try (ResilientAtomicFile userFile = getUserFile(userData.info.id)) {4959 try (ResilientAtomicFile file = getUserListFile()) {5010 try (ResilientAtomicFile file = getUserFile(id)) {
1997 try (ResilientAtomicFile file = getResilientFile(path)) { in loadFromFile()
2574 …server/pm/ResilientAtomicFile;-><init>(Ljava/io/File;Ljava/io/File;Ljava/io/File;ILjava/lang/Strin…2575 HSPLcom/android/server/pm/ResilientAtomicFile;->close()V2576 HSPLcom/android/server/pm/ResilientAtomicFile;->finishWrite(Ljava/io/FileOutputStream;)V+]Landroid/…2577 HSPLcom/android/server/pm/ResilientAtomicFile;->startWrite()Ljava/io/FileOutputStream;+]Ljava/io/Fi…2613 …pm/PackageSignatures;]Lcom/android/server/pm/ResilientAtomicFile;Lcom/android/server/pm/ResilientA…2616 …er/pm/PackageSetting;]Lcom/android/server/pm/ResilientAtomicFile;Lcom/android/server/pm/ResilientA…2643 …ckageItem;->getResilientFile(Ljava/io/File;)Lcom/android/server/pm/ResilientAtomicFile;+]Ljava/io/…
922 Lcom/android/server/pm/ResilientAtomicFile$ReadEventLogger;923 Lcom/android/server/pm/ResilientAtomicFile;19208 …server/pm/ResilientAtomicFile;-><init>(Ljava/io/File;Ljava/io/File;Ljava/io/File;ILjava/lang/Strin…19209 HSPLcom/android/server/pm/ResilientAtomicFile;->close()V19210 HPLcom/android/server/pm/ResilientAtomicFile;->finalizeOutStream(Ljava/io/FileOutputStream;)V19211 HPLcom/android/server/pm/ResilientAtomicFile;->finishWrite(Ljava/io/FileOutputStream;)V19212 HSPLcom/android/server/pm/ResilientAtomicFile;->openRead()Ljava/io/FileInputStream;19213 HPLcom/android/server/pm/ResilientAtomicFile;->startWrite()Ljava/io/FileOutputStream;19353 HSPLcom/android/server/pm/Settings;->getSettingsFile()Lcom/android/server/pm/ResilientAtomicFile;19357 …android/server/pm/Settings;->getUserPackagesStateFile(I)Lcom/android/server/pm/ResilientAtomicFile;[all …]