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.java529 private final AtomicFile mStatePersistFile; field in FusedPrintersProvider.PersistenceManager
549 mStatePersistFile = new AtomicFile(new File(activity.getFilesDir(), in PersistenceManager()
708 mLastReadHistoryTimestamp != mStatePersistFile.getBaseFile().lastModified(); in isHistoryChanged()
850 in = mStatePersistFile.openRead(); in doReadPrinterHistory()
864 mLastReadHistoryTimestamp = mStatePersistFile.getBaseFile().lastModified(); in doReadPrinterHistory()
1008 out = mStatePersistFile.startWrite(); in doWritePrinterHistory()
1055 mStatePersistFile.finishWrite(out); in doWritePrinterHistory()
1062 mStatePersistFile.failWrite(out); in doWritePrinterHistory()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsState.java169 private final File mStatePersistFile; field in SettingsState
261 mStatePersistFile = file; in SettingsState()
676 AtomicFile destination = new AtomicFile(mStatePersistFile, mStatePersistTag); in doWriteState()
849 in = new AtomicFile(mStatePersistFile).openRead(); in readStateSyncLocked()
851 Slog.i(LOG_TAG, "No settings state " + mStatePersistFile); in readStateSyncLocked()
852 logSettingsDirectoryInformation(mStatePersistFile); in readStateSyncLocked()
861 String message = "Failed parsing settings file: " + mStatePersistFile; in readStateSyncLocked()
/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()