Home
last modified time | relevance | path

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

/packages/apps/Camera2/src/com/android/camera/async/
DLifetime.java63 public <T extends SafeCloseable> T add(T closeable) { in add() argument
69 mCloseables.add(closeable); in add()
73 closeable.close(); in add()
75 return closeable; in add()
96 for (SafeCloseable closeable : toClose) { in close()
97 closeable.close(); in close()
/packages/apps/UniversalMediaPlayer/java/com/android/pump/util/
DIoUtils.java67 public static void close(@Nullable Closeable closeable) { in close() argument
68 if (closeable == null) return; in close()
70 closeable.close(); in close()
72 Clog.w(TAG, "Failed to close '" + closeable + "'", e); in close()
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/utils/
DIoUtils.java26 public static void closeQuietly(AutoCloseable closeable) { in closeQuietly() argument
27 if (closeable != null) { in closeQuietly()
29 closeable.close(); in closeQuietly()
/packages/apps/TV/common/src/com/android/tv/common/util/
DAutoCloseableUtils.java27 public static void closeQuietly(AutoCloseable closeable) { in closeQuietly() argument
29 closeable.close(); in closeQuietly()
31 Log.e(TAG, "Error closing " + closeable, ex); in closeQuietly()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DJsonUtils.java94 private static void close(final Closeable closeable) { in close() argument
96 if (closeable != null) { in close()
97 closeable.close(); in close()
/packages/apps/TV/src/com/android/tv/util/images/
DBitmapUtils.java203 private static void close(Closeable closeable, URLConnection urlConnection) { in close() argument
204 if (closeable != null) { in close()
206 closeable.close(); in close()
209 Log.w(TAG, "Error closing " + closeable, e); in close()
/packages/apps/Car/tests/TestMediaApp/src/com/android/car/media/testmediaapp/loader/
DTmaLoaderUtils.java172 private static void close(@Nullable Closeable closeable) { in close() argument
173 if (closeable == null) { in close()
177 closeable.close(); in close()
/packages/apps/Dialer/java/com/android/dialer/util/
DDialerUtils.java152 public static void closeQuietly(AutoCloseable closeable) { in closeQuietly() argument
153 if (closeable != null) { in closeQuietly()
155 closeable.close(); in closeQuietly()
/packages/apps/DocumentsUI/src/com/android/documentsui/archives/
DArchiveEntryInputStream.java102 ReadSource readSource, @NonNull ArchiveEntry archiveEntry, Closeable closeable) in WrapZipFileInputStream() argument
105 mCloseable = closeable; in WrapZipFileInputStream()
/packages/inputmethods/LatinIME/dictionaries/
Den_US_wordlist.combined.gz
Den_GB_wordlist.combined.gz
Den_wordlist.combined.gz