Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/os/
DAtomicDirectory.java49 private final @NonNull ArrayMap<File, FileOutputStream> mOpenFiles = new ArrayMap<>(); field in AtomicDirectory
140 if (mOpenFiles.put(file, destination) != null) { in openWrite()
154 final int indexOfValue = mOpenFiles.indexOfValue(destination); in closeWrite()
155 if (mOpenFiles.removeAt(indexOfValue) == null) { in closeWrite()
165 final int indexOfValue = mOpenFiles.indexOfValue(destination); in failWrite()
167 mOpenFiles.removeAt(indexOfValue); in failWrite()
238 if (!mOpenFiles.isEmpty()) { in throwIfSomeFilesOpen()
240 + Arrays.toString(mOpenFiles.keySet().toArray())); in throwIfSomeFilesOpen()