/cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/ |
D | MaybeNull.java | 42 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/tests/telecom-apps/Utils/src/android/telecom/cts/apps/ |
D | ShellCommandExecutor.java | 73 private static void closeQuietly(AutoCloseable closeable) { in closeQuietly() argument 74 if (closeable != null) { in closeQuietly() 76 closeable.close(); in closeQuietly()
|
/cts/tests/tests/os/src/android/os/storage/cts/ |
D | StorageManagerHelper.java | 169 private static void closeQuietly(AutoCloseable closeable) { in closeQuietly() argument 170 if (closeable != null) { in closeQuietly() 173 closeable.close(); in closeQuietly()
|
/cts/tests/tests/telephony/current/src/android/telephony/cts/util/ |
D | TelephonyUtils.java | 337 private static void closeQuietly(AutoCloseable closeable) { in closeQuietly() argument 338 if (closeable != null) { in closeQuietly() 340 closeable.close(); in closeQuietly()
|
/cts/tests/inputmethod/src/android/view/inputmethod/cts/ |
D | PackageVisibilityTest.java | 81 try (AutoCloseable closeable = MockTestActivityUtil.launchSync(instant, in testTargetPackageIsVisibleFromIme() argument
|
D | InputMethodStartInputLifecycleTest.java | 348 try (AutoCloseable closeable = MockTestActivityUtil.launchSync(instant, in testInvalidateInputBeforeInputMethodSessionBecomesAvailable() argument
|
D | InputConnectionEndToEndTest.java | 441 @Nullable AutoCloseable closeable) throws Exception { in testA11yInputConnection() argument 444 -> testProcedure.run(a11ySession, a11yStream), closeable); in testA11yInputConnection() 495 TestProcedure testProcedure, @Nullable AutoCloseable closeable) throws Exception { in testInputConnection() argument 496 try (AutoCloseable closeableHolder = closeable; in testInputConnection() 559 @Nullable AutoCloseable closeable) throws Exception { in testInputConnection() argument 563 try (AutoCloseable closeableHolder = closeable; in testInputConnection()
|
/cts/tests/tests/telephony/current/src/android/telephony/cts/ |
D | VisualVoicemailServiceTest.java | 714 private static void closeQuietly(AutoCloseable closeable) { in closeQuietly() argument 715 if (closeable != null) { in closeQuietly() 717 closeable.close(); in closeQuietly()
|
/cts/tests/tests/provider/src/android/provider/cts/contacts/ |
D | VoicemailContractTest.java | 605 private static void closeQuietly(AutoCloseable closeable) { in closeQuietly() argument 606 if (closeable != null) { in closeQuietly() 608 closeable.close(); in closeQuietly()
|
/cts/tests/tests/media/misc/src/android/media/misc/cts/ |
D | HeifWriterTest.java | 321 private void closeQuietly(Closeable closeable) { in closeQuietly() argument 322 if (closeable != null) { in closeQuietly() 324 closeable.close(); in closeQuietly()
|
D | MediaMetadataRetrieverTest.java | 1431 private void closeQuietly(Closeable closeable) { in closeQuietly() argument 1432 if (closeable != null) { in closeQuietly() 1434 closeable.close(); in closeQuietly()
|
/cts/tests/tests/packageinstaller/atomicinstall/src/com/android/tests/atomicinstall/ |
D | SessionAbandonBehaviorTest.java | 155 for (Closeable closeable : mCloseableList) { in tearDown() 157 closeable.close(); in tearDown()
|
/cts/tests/tests/telecom/src/android/telecom/cts/ |
D | TestUtils.java | 645 private static void closeQuietly(AutoCloseable closeable) { in closeQuietly() argument 646 if (closeable != null) { in closeQuietly() 648 closeable.close(); in closeQuietly()
|
/cts/tests/tests/security/src/android/security/cts/ |
D | StagefrightTest.java | 2176 private void closeQuietly(AutoCloseable closeable) { in closeQuietly() argument 2177 if (closeable != null) { in closeQuietly() 2179 closeable.close(); in closeQuietly()
|