Searched refs:closeable (Results 1 – 6 of 6) sorted by relevance
136 private CloseableWithDataSink(T dataSink, Closeable closeable) { in CloseableWithDataSink() argument138 mCloseable = closeable; in CloseableWithDataSink()146 T dataSink, Closeable closeable) { in of() argument147 return new CloseableWithDataSink<>(dataSink, closeable); in of()
339 private CloseableWithDataSource(DataSource dataSource, Closeable closeable) { in CloseableWithDataSource() argument341 mCloseable = closeable; in CloseableWithDataSource()348 public static CloseableWithDataSource of(DataSource dataSource, Closeable closeable) { in of() argument349 return new CloseableWithDataSource(dataSource, closeable); in of()
100 TmpFileCloseable(File file, Closeable closeable) { in TmpFileCloseable() argument102 mDelegate = closeable; in TmpFileCloseable()
363 public static void close(Closeable closeable) { in close() argument364 if (closeable != null) { in close()366 closeable.close(); in close()
312 private void close(Closeable closeable) { in close() argument313 if (closeable != null) { in close()315 closeable.close(); in close()
2225 fun `Check closeable`() { in Check closeable()2286 fun `Check closeable for minSdkVersion 19`() { in Check closeable for minSdkVersion 19()2324 fun `Do not check closeable for minSdkVersion less than 19`() { in Do not check closeable for minSdkVersion less than 19()