Home
last modified time | relevance | path

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

/frameworks/base/tests/GamePerformance/src/android/gameperformance/
DUtils.java22 public static void closeQuietly(Closeable closeable) { in closeQuietly() argument
24 if (closeable != null) { in closeQuietly()
25 closeable.close(); in closeQuietly()
/frameworks/libs/systemui/viewcapturelib/tests/com/android/app/viewcapture/
DViewCaptureTest.kt54 val closeable = startViewCaptureAndInvalidateNTimes(1, activity) in <lambda>() constant
60 closeable.close() in <lambda>()
67 val closeable = startViewCaptureAndInvalidateNTimes(memorySize + 5, activity) in <lambda>() constant
76 closeable.close() in <lambda>()
82 val closeable: SafeCloseable = viewCapture.startCapture(rootView, "rootViewId") in <lambda>() constant
84 return closeable in <lambda>()
DSettingsAwareViewCaptureTest.kt56 val closeable: SafeCloseable = viewCapture.startCapture(rootView, "rootViewId") in <lambda>() constant
69 closeable.close() in <lambda>()
82 val closeable: SafeCloseable = viewCapture.startCapture(rootView, "rootViewId") in <lambda>() constant
96 closeable.close() in <lambda>()
/frameworks/base/ravenwood/runtime-helper-src/libcore-fake/libcore/io/
DIoUtils.java28 public static void closeQuietly(AutoCloseable closeable) { in closeQuietly() argument
29 if (closeable != null) { in closeQuietly()
31 closeable.close(); in closeQuietly()
/frameworks/base/media/java/android/media/
DExifInterfaceUtils.java114 public static void closeQuietly(Closeable closeable) { in closeQuietly() argument
115 if (closeable != null) { in closeQuietly()
117 closeable.close(); in closeQuietly()
/frameworks/base/services/core/java/com/android/server/net/watchlist/
DFileHashCache.java158 private static void closeQuietly(@Nullable Closeable closeable) { in closeQuietly() argument
160 if (closeable != null) { in closeQuietly()
161 closeable.close(); in closeQuietly()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenrecord/
DScreenMediaRecorder.java454 void register(Closeable closeable) { in register() argument
455 mCloseables.add(closeable); in register()
463 Closeable closeable = mCloseables.get(i); in close() local
466 closeable.close(); in close()
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DDetectorSession.java868 for (Closeable closeable : closeables) { in bestEffortClose()
869 bestEffortClose(closeable); in bestEffortClose()
873 private static void bestEffortClose(Closeable closeable) { in bestEffortClose() argument
875 closeable.close(); in bestEffortClose()
/frameworks/multidex/library/src/androidx/multidex/
DMultiDexExtractor.java425 private static void closeQuietly(Closeable closeable) { in closeQuietly() argument
427 closeable.close(); in closeQuietly()
/frameworks/base/services/backup/java/com/android/server/backup/keyvalue/
DKeyValueBackupTask.java1329 private void tryCloseFileDescriptor(@Nullable Closeable closeable, String logName) { in tryCloseFileDescriptor() argument
1330 if (closeable != null) { in tryCloseFileDescriptor()
1332 closeable.close(); in tryCloseFileDescriptor()
/frameworks/layoutlib/bridge/tests/res/testApp/MyApplication/gradle/wrapper/
Dgradle-wrapper.jar ... channel private static void maybeCloseQuietly (java.io.Closeable) Exception ignore java.io.Closeable closeable } ...
/frameworks/base/tests/UiBench/gradle/wrapper/
Dgradle-wrapper.jar ... channel private static void maybeCloseQuietly (java.io.Closeable) Exception ignore java.io.Closeable closeable } ...
/frameworks/base/core/java/android/os/
DFileUtils.java1518 public static void closeQuietly(@Nullable AutoCloseable closeable) { in closeQuietly() argument
1519 IoUtils.closeQuietly(closeable); in closeQuietly()
/frameworks/multidex/gradle/wrapper/
Dgradle-wrapper.jar ... channel private static void maybeCloseQuietly (java.io.Closeable) Exception ignore java.io.Closeable closeable } ...
/frameworks/av/media/tests/SampleVideoEncoder/gradle/wrapper/
Dgradle-wrapper.jar ... ) private static void maybeCloseQuietly (java.io.Closeable) java.io.Closeable closeable } org/ ...
/frameworks/base/startop/apps/ColorChanging/gradle/wrapper/
Dgradle-wrapper.jar ... ) private static void maybeCloseQuietly (java.io.Closeable) java.io.Closeable closeable } org/ ...
/frameworks/base/tests/TouchLatency/gradle/wrapper/
Dgradle-wrapper.jar ... ) private static void maybeCloseQuietly (java.io.Closeable) java.io.Closeable closeable } org/ ...
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...