Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/om/
DOverlayManagerService.java221 private final AtomicFile mSettingsFile; field in OverlayManagerService
238 mSettingsFile = new AtomicFile( in OverlayManagerService()
969 stream = mSettingsFile.startWrite(); in schedulePersistSettings()
971 mSettingsFile.finishWrite(stream); in schedulePersistSettings()
973 mSettingsFile.failWrite(stream); in schedulePersistSettings()
984 if (!mSettingsFile.getBaseFile().exists()) { in restoreSettings()
987 try (FileInputStream stream = mSettingsFile.openRead()) { in restoreSettings()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbProfileGroupSettingsManager.java91 private final AtomicFile mSettingsFile; field in UsbProfileGroupSettingsManager
227 mSettingsFile = new AtomicFile(new File( in UsbProfileGroupSettingsManager()
367 stream = mSettingsFile.openRead(); in readSettingsLocked()
384 mSettingsFile.delete(); in readSettingsLocked()
410 fos = mSettingsFile.startWrite(); in scheduleWriteSettingsLocked()
442 mSettingsFile.finishWrite(fos); in scheduleWriteSettingsLocked()
446 mSettingsFile.failWrite(fos); in scheduleWriteSettingsLocked()
/frameworks/base/services/core/java/com/android/server/
DStorageManagerService.java299 private final AtomicFile mSettingsFile; field in StorageManagerService
1535 mSettingsFile = new AtomicFile( in StorageManagerService()
1693 fis = mSettingsFile.openRead(); in readSettingsLocked()
1732 fos = mSettingsFile.startWrite(); in writeSettingsLocked()
1748 mSettingsFile.finishWrite(fos); in writeSettingsLocked()
1751 mSettingsFile.failWrite(fos); in writeSettingsLocked()