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.java215 private final AtomicFile mSettingsFile; field in OverlayManagerService
232 mSettingsFile = in OverlayManagerService()
792 stream = mSettingsFile.startWrite(); in schedulePersistSettings()
794 mSettingsFile.finishWrite(stream); in schedulePersistSettings()
796 mSettingsFile.failWrite(stream); in schedulePersistSettings()
805 if (!mSettingsFile.getBaseFile().exists()) { in restoreSettings()
808 try (final FileInputStream stream = mSettingsFile.openRead()) { in restoreSettings()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbProfileGroupSettingsManager.java90 private final AtomicFile mSettingsFile; field in UsbProfileGroupSettingsManager
222 mSettingsFile = new AtomicFile(new File( in UsbProfileGroupSettingsManager()
360 stream = mSettingsFile.openRead(); in readSettingsLocked()
377 mSettingsFile.delete(); in readSettingsLocked()
403 fos = mSettingsFile.startWrite(); in scheduleWriteSettingsLocked()
435 mSettingsFile.finishWrite(fos); in scheduleWriteSettingsLocked()
439 mSettingsFile.failWrite(fos); in scheduleWriteSettingsLocked()
/frameworks/base/services/core/java/com/android/server/
DStorageManagerService.java260 private final AtomicFile mSettingsFile; field in StorageManagerService
1421 mSettingsFile = new AtomicFile( in StorageManagerService()
1536 fis = mSettingsFile.openRead(); in readSettingsLocked()
1576 fos = mSettingsFile.startWrite(); in writeSettingsLocked()
1592 mSettingsFile.finishWrite(fos); in writeSettingsLocked()
1595 mSettingsFile.failWrite(fos); in writeSettingsLocked()