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.java523 private final AtomicFile mStatePersistFile; field in FusedPrintersProvider.PersistenceManager
543 mStatePersistFile = new AtomicFile(new File(activity.getFilesDir(), in PersistenceManager()
702 mLastReadHistoryTimestamp != mStatePersistFile.getBaseFile().lastModified(); in isHistoryChanged()
844 in = mStatePersistFile.openRead(); in doReadPrinterHistory()
858 mLastReadHistoryTimestamp = mStatePersistFile.getBaseFile().lastModified(); in doReadPrinterHistory()
1002 out = mStatePersistFile.startWrite(); in doWritePrinterHistory()
1049 mStatePersistFile.finishWrite(out); in doWritePrinterHistory()
1056 mStatePersistFile.failWrite(out); in doWritePrinterHistory()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsState.java184 private final File mStatePersistFile; field in SettingsState
276 mStatePersistFile = file; in SettingsState()
803 AtomicFile destination = new AtomicFile(mStatePersistFile, mStatePersistTag); in doWriteState()
1006 AtomicFile file = new AtomicFile(mStatePersistFile); in readStateSyncLocked()
1010 Slog.w(LOG_TAG, "No settings state " + mStatePersistFile); in readStateSyncLocked()
1011 logSettingsDirectoryInformation(mStatePersistFile); in readStateSyncLocked()
1021 mStatePersistFile.getAbsolutePath() + FALLBACK_FILE_SUFFIX); in readStateSyncLocked()
1022 Slog.i(LOG_TAG, "Failed parsing settings file: " + mStatePersistFile in readStateSyncLocked()
1027 final String message = "No fallback file found for: " + mStatePersistFile; in readStateSyncLocked()
1034 FileUtils.copy(statePersistFallbackFile, mStatePersistFile); in readStateSyncLocked()
[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()