Home
last modified time | relevance | path

Searched refs:mAtomicFile (Results 1 – 4 of 4) sorted by relevance

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiConfigStore.java480 private final AtomicFile mAtomicFile; field in WifiConfigStore.StoreFile
491 mAtomicFile = new AtomicFile(file); in StoreFile()
492 mFileName = mAtomicFile.getBaseFile().getAbsolutePath(); in StoreFile()
501 return mAtomicFile.exists(); in exists()
513 return mAtomicFile.readFully(); in readRawData()
544 out = mAtomicFile.startWrite(); in writeBufferedRawData()
547 mAtomicFile.finishWrite(out); in writeBufferedRawData()
550 mAtomicFile.failWrite(out); in writeBufferedRawData()
/frameworks/base/services/core/java/com/android/server/tv/
DPersistentDataStore.java72 private final AtomicFile mAtomicFile; field in PersistentDataStore
94mAtomicFile = new AtomicFile(new File(userDir, "tv-input-manager-state.xml"), "tv-input-state"); in PersistentDataStore()
163 is = mAtomicFile.openRead(); in load()
200 os = mAtomicFile.startWrite(); in save()
210 mAtomicFile.finishWrite(os); in save()
213 mAtomicFile.failWrite(os); in save()
/frameworks/base/services/core/java/com/android/server/input/
DPersistentDataStore.java70 private final AtomicFile mAtomicFile; field in PersistentDataStore
79 mAtomicFile = new AtomicFile(new File("/data/system/input-manager-state.xml"), in PersistentDataStore()
212 is = mAtomicFile.openRead(); in load()
236 os = mAtomicFile.startWrite(); in save()
246 mAtomicFile.finishWrite(os); in save()
248 mAtomicFile.failWrite(os); in save()
/frameworks/base/services/core/java/com/android/server/display/
DPersistentDataStore.java771 private final AtomicFile mAtomicFile; field in PersistentDataStore.Injector
774 mAtomicFile = new AtomicFile(new File("/data/system/display-manager-state.xml"), in Injector()
779 return mAtomicFile.openRead(); in openRead()
783 return mAtomicFile.startWrite(); in startWrite()
792 mAtomicFile.finishWrite(fos); in finishWrite()
794 mAtomicFile.failWrite(fos); in finishWrite()