Home
last modified time | relevance | path

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

/cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/
DMaybeNull.java42 public static <T extends AutoCloseable> void close(T closeable) throws Exception { in close() argument
43 if (closeable != null) { in close()
44 closeable.close(); in close()
56 public static <T extends UncheckedCloseable> void close(T closeable) { in close() argument
57 if (closeable != null) { in close()
58 closeable.close(); in close()
68 public static <T extends Closeable> void close(T closeable) throws IOException { in close() argument
69 if (closeable != null) { in close()
70 closeable.close(); in close()
/cts/tests/backup/src/android/backup/cts/
DBaseBackupCtsTest.java131 private static void closeQuietly(AutoCloseable closeable) { in closeQuietly() argument
132 if (closeable != null) { in closeQuietly()
134 closeable.close(); in closeQuietly()
/cts/tests/tests/telecom/src/android/telecom/cts/
DTestUtils.java269 private static void closeQuietly(AutoCloseable closeable) { in closeQuietly() argument
270 if (closeable != null) { in closeQuietly()
272 closeable.close(); in closeQuietly()
/cts/tests/tests/telephony/src/android/telephony/cts/
DVisualVoicemailServiceTest.java723 private static void closeQuietly(AutoCloseable closeable) { in closeQuietly() argument
724 if (closeable != null) { in closeQuietly()
726 closeable.close(); in closeQuietly()
/cts/tests/tests/media/src/android/media/cts/
DHeifWriterTest.java236 private void closeQuietly(Closeable closeable) { in closeQuietly() argument
237 if (closeable != null) { in closeQuietly()
239 closeable.close(); in closeQuietly()
/cts/tests/tests/provider/src/android/provider/cts/contacts/
DVoicemailContractTest.java605 private static void closeQuietly(AutoCloseable closeable) { in closeQuietly() argument
606 if (closeable != null) { in closeQuietly()
608 closeable.close(); in closeQuietly()
/cts/tests/tests/security/src/android/security/cts/
DStagefrightTest.java1054 private void closeQuietly(AutoCloseable closeable) { in closeQuietly() argument
1055 if (closeable != null) { in closeQuietly()
1057 closeable.close(); in closeQuietly()
/cts/tests/libcore/javautilcollections/libs/
Dguava-20.0.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...