Home
last modified time | relevance | path

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

/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DFusedPrintersProvider.java528 private final AtomicFile mStatePersistFile; field in FusedPrintersProvider.PersistenceManager
548 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()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsState.java230 private final File mStatePersistFile; field in SettingsState
355 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: " + mStatePersistFile
1596 final String message = "No fallback file found for: " + mStatePersistFile;
1606 FileUtils.copy(statePersistFallbackFile, mStatePersistFile);
[all …]
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/
DPrintSpoolerService.java887 private final AtomicFile mStatePersistFile; field in PrintSpoolerService.PersistenceManager
892 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()