Home
last modified time | relevance | path

Searched refs:closeable (Results 1 – 8 of 8) 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/PackageInstaller/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/
DAutoCloseableUtils.java29 public static void closeQuietly(AutoCloseable closeable) { in closeQuietly() argument
31 closeable.close(); in closeQuietly()
33 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/
DBitmapUtils.java166 private static void close(Closeable closeable) { in close() argument
167 if (closeable != null) { in close()
169 closeable.close(); in close()
172 Log.w(TAG,"Error closing " + closeable, e); in close()
/packages/apps/Dialer/src/com/android/dialer/util/
DDialerUtils.java131 public static void closeQuietly(AutoCloseable closeable) { in closeQuietly() argument
132 if (closeable != null) { in closeQuietly()
134 closeable.close(); in closeQuietly()
/packages/services/Telecomm/libs/
Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/packages/inputmethods/LatinIME/dictionaries/
Den_US_wordlist.combined.gz