Searched refs:bubbleFile (Results 1 – 1 of 1) sorted by relevance
28 private val bubbleFile: AtomicFile = AtomicFile(File(context.filesDir, constant33 synchronized(bubbleFile) { in persistsToDisk()34 val stream: FileOutputStream = try { bubbleFile.startWrite() } catch (e: IOException) { in persistsToDisk()40 bubbleFile.finishWrite(stream) in persistsToDisk()45 bubbleFile.failWrite(stream) in persistsToDisk()52 synchronized(bubbleFile) { in readFromDisk()53 if (!bubbleFile.exists()) return SparseArray() in readFromDisk()54 try { return bubbleFile.openRead().use(::readXml) } catch (e: Throwable) { in readFromDisk()