HomeSort by relevance Sort by last modified time
    Searched defs:closeable (Results 1 - 4 of 4) sorted by null

  /development/samples/VoicemailProviderDemo/src/com/example/android/voicemail/common/utils/
CloseUtils.java 21 import java.io.Closeable;
32 * If the argument is non-null, close the Closeable ignoring any {@link IOException}.
34 public static void closeQuietly(Closeable closeable) {
35 if (closeable != null) {
37 closeable.close();
  /external/guava/src/com/google/common/io/
Closeables.java 19 import java.io.Closeable;
27 * Utility methods for working with {@link Closeable} objects.
39 * Closes a {@link Closeable}, with control over whether an
63 * @param closeable the {@code Closeable} object to be closed, or null,
70 public static void close(@Nullable Closeable closeable,
72 if (closeable == null) {
76 closeable.close();
80 "IOException thrown while closing Closeable.", e)
    [all...]
  /libcore/luni/src/main/java/libcore/io/
IoUtils.java 46 * Closes 'closeable', ignoring any checked exceptions. Does nothing if 'closeable' is null.
48 public static void closeQuietly(AutoCloseable closeable) {
49 if (closeable != null) {
51 closeable.close();
  /frameworks/base/services/java/com/android/server/am/
DeviceMonitor.java 173 * @param closeable
175 private static void closeQuietly(Closeable closeable) {
177 if (closeable != null) {
178 closeable.close();

Completed in 1607 milliseconds