Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/timezone/
DPackageStatusStorage.java81 private final AtomicFile mPackageStatusFile; field in PackageStatusStorage
84mPackageStatusFile = new AtomicFile(new File(storageDir, "package-status.xml"), "timezone-status"); in PackageStatusStorage()
93 if (!mPackageStatusFile.getBaseFile().exists()) { in initialize()
100 mPackageStatusFile.delete(); in deleteFileForTests()
129 try (FileInputStream fis = mPackageStatusFile.openRead()) { in getPackageStatusLocked()
148 mPackageStatusFile.delete(); in recoverFromBadData()
254 try (FileInputStream fis = mPackageStatusFile.openRead()) { in getCurrentOptimisticLockId()
317 fos = mPackageStatusFile.startWrite(); in writePackageStatusLocked()
338 mPackageStatusFile.finishWrite(fos); in writePackageStatusLocked()
341 mPackageStatusFile.failWrite(fos); in writePackageStatusLocked()