Searched refs:mStatePersistFile (Results 1 – 3 of 3) sorted by relevance
528 private final AtomicFile mStatePersistFile; field in FusedPrintersProvider.PersistenceManager548 mStatePersistFile = new AtomicFile(new File(activity.getFilesDir(), in PersistenceManager()707 mLastReadHistoryTimestamp != mStatePersistFile.getBaseFile().lastModified(); in isHistoryChanged()849 in = mStatePersistFile.openRead(); in doReadPrinterHistory()863 mLastReadHistoryTimestamp = mStatePersistFile.getBaseFile().lastModified(); in doReadPrinterHistory()1007 out = mStatePersistFile.startWrite(); in doWritePrinterHistory()1054 mStatePersistFile.finishWrite(out); in doWritePrinterHistory()1061 mStatePersistFile.failWrite(out); in doWritePrinterHistory()
230 private final File mStatePersistFile; field in SettingsState355 mStatePersistFile = file; in SettingsState()1336 AtomicFile destination = new AtomicFile(mStatePersistFile, mStatePersistTag);1573 AtomicFile file = new AtomicFile(mStatePersistFile);1577 Slog.w(LOG_TAG, "No settings state " + mStatePersistFile);1579 logSettingsDirectoryInformation(mStatePersistFile);1590 mStatePersistFile.getAbsolutePath() + FALLBACK_FILE_SUFFIX);1591 Slog.w(LOG_TAG, "Failed parsing settings file: " + mStatePersistFile1596 final String message = "No fallback file found for: " + mStatePersistFile;1606 FileUtils.copy(statePersistFallbackFile, mStatePersistFile);[all …]
887 private final AtomicFile mStatePersistFile; field in PrintSpoolerService.PersistenceManager892 mStatePersistFile = new AtomicFile(new File(getFilesDir(), in PersistenceManager()922 out = mStatePersistFile.startWrite(); in doWriteStateLocked()1101 mStatePersistFile.finishWrite(out); in doWriteStateLocked()1107 mStatePersistFile.failWrite(out); in doWriteStateLocked()1119 in = mStatePersistFile.openRead(); in readStateLocked()