Searched refs:mSettingsFile (Results 1 – 3 of 3) sorted by relevance
221 private final AtomicFile mSettingsFile; field in OverlayManagerService238 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()
91 private final AtomicFile mSettingsFile; field in UsbProfileGroupSettingsManager227 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()
299 private final AtomicFile mSettingsFile; field in StorageManagerService1535 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()