Searched refs:closeable (Results 1 – 10 of 10) sorted by relevance
22 public static void closeQuietly(Closeable closeable) { in closeQuietly() argument24 if (closeable != null) { in closeQuietly()25 closeable.close(); in closeQuietly()
56 val closeable = startViewCaptureAndInvalidateNTimes(1, activity) in <lambda>() constant62 closeable.close() in <lambda>()71 val closeable = startViewCaptureAndInvalidateNTimes(memorySize + 5, activity) in <lambda>() constant80 closeable.close() in <lambda>()87 val closeable: SafeCloseable = viewCapture.startCapture(rootView, "rootViewId") in <lambda>() constant89 return closeable in <lambda>()
53 val closeable: SafeCloseable = viewCapture.startCapture(rootView, "rootViewId") in <lambda>() constant59 closeable.close() in <lambda>()73 val closeable: SafeCloseable = viewCapture.startCapture(rootView, "rootViewId") in <lambda>() constant80 closeable.close() in <lambda>()
114 public static void closeQuietly(Closeable closeable) { in closeQuietly() argument115 if (closeable != null) { in closeQuietly()117 closeable.close(); in closeQuietly()
33 public static void closeQuietly(Closeable closeable) { in closeQuietly() argument35 closeable.close(); in closeQuietly()
435 void register(Closeable closeable) { in register() argument436 mCloseables.add(closeable); in register()444 Closeable closeable = mCloseables.get(i); in close() local447 closeable.close(); in close()
425 private static void closeQuietly(Closeable closeable) { in closeQuietly() argument427 closeable.close(); in closeQuietly()
1285 for (Closeable closeable : closeables) { in bestEffortClose()1286 bestEffortClose(closeable); in bestEffortClose()1290 private static void bestEffortClose(Closeable closeable) { in bestEffortClose() argument1292 closeable.close(); in bestEffortClose()
1324 private void tryCloseFileDescriptor(@Nullable Closeable closeable, String logName) { in tryCloseFileDescriptor() argument1325 if (closeable != null) { in tryCloseFileDescriptor()1327 closeable.close(); in tryCloseFileDescriptor()
1322 public static void closeQuietly(@Nullable AutoCloseable closeable) { in closeQuietly() argument1323 IoUtils.closeQuietly(closeable); in closeQuietly()