Searched refs:closeable (Results 1 – 12 of 12) sorted by relevance
63 public <T extends SafeCloseable> T add(T closeable) { in add() argument69 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()
67 public static void close(@Nullable Closeable closeable) { in close() argument68 if (closeable == null) return; in close()70 closeable.close(); in close()72 Clog.w(TAG, "Failed to close '" + closeable + "'", e); in close()
26 public static void closeQuietly(AutoCloseable closeable) { in closeQuietly() argument27 if (closeable != null) { in closeQuietly()29 closeable.close(); in closeQuietly()
27 public static void closeQuietly(AutoCloseable closeable) { in closeQuietly() argument29 closeable.close(); in closeQuietly()31 Log.e(TAG, "Error closing " + closeable, ex); in closeQuietly()
94 private static void close(final Closeable closeable) { in close() argument96 if (closeable != null) { in close()97 closeable.close(); in close()
203 private static void close(Closeable closeable, URLConnection urlConnection) { in close() argument204 if (closeable != null) { in close()206 closeable.close(); in close()209 Log.w(TAG, "Error closing " + closeable, e); in close()
172 private static void close(@Nullable Closeable closeable) { in close() argument173 if (closeable == null) { in close()177 closeable.close(); in close()
152 public static void closeQuietly(AutoCloseable closeable) { in closeQuietly() argument153 if (closeable != null) { in closeQuietly()155 closeable.close(); in closeQuietly()
102 ReadSource readSource, @NonNull ArchiveEntry archiveEntry, Closeable closeable) in WrapZipFileInputStream() argument105 mCloseable = closeable; in WrapZipFileInputStream()
1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
1dictionary=main:en_us,locale=en_US,description=English (US),date ...
1dictionary=main:en,locale=en,description=English,date=1414726273, ...