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.java59 private final @NonNull ArrayMap<File, FileOutputStream> mOpenFiles = new ArrayMap<>(); field in AtomicDirectory
144 if (mOpenFiles.containsKey(file)) { in openWrite()
148 mOpenFiles.put(file, destination); in openWrite()
160 final int indexOfValue = mOpenFiles.indexOfValue(destination); in closeWrite()
164 mOpenFiles.removeAt(indexOfValue); in closeWrite()
170 final int indexOfValue = mOpenFiles.indexOfValue(destination); in failWrite()
174 mOpenFiles.removeAt(indexOfValue); in failWrite()
245 if (!mOpenFiles.isEmpty()) { in throwIfSomeFilesOpen()
247 + Arrays.toString(mOpenFiles.keySet().toArray())); in throwIfSomeFilesOpen()