Searched refs:mAtomicFile (Results 1 – 4 of 4) sorted by relevance
480 private final AtomicFile mAtomicFile; field in WifiConfigStore.StoreFile491 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()
72 private final AtomicFile mAtomicFile; field in PersistentDataStore94 … mAtomicFile = 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()
70 private final AtomicFile mAtomicFile; field in PersistentDataStore79 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()
771 private final AtomicFile mAtomicFile; field in PersistentDataStore.Injector774 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()