Home
last modified time | relevance | path

Searched refs:closeQuietly (Results 1 – 24 of 24) sorted by relevance

/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
DConnectionPool.java113 Util.closeQuietly(expiredConnection);
192 Util.closeQuietly(connection); in get()
226 Util.closeQuietly(connection); in recycle()
235 Util.closeQuietly(connection); in recycle()
271 Util.closeQuietly(connections.get(i)); in evictAll()
DHttpResponseCache.java177 Util.closeQuietly(response.body()); in get()
374 Util.closeQuietly(cacheOut); in abort()
DRequest.java225 Util.closeQuietly(in); in create()
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DConnectionPoolTest.java116 Util.closeQuietly(httpA); in tearDown()
117 Util.closeQuietly(httpB); in tearDown()
118 Util.closeQuietly(httpC); in tearDown()
119 Util.closeQuietly(httpD); in tearDown()
120 Util.closeQuietly(httpE); in tearDown()
121 Util.closeQuietly(spdyA); in tearDown()
361 Util.closeQuietly(httpA); in connectionCleanup()
386 Util.closeQuietly(httpA); // Include a closed connection in the pool. in evictAllConnections()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/
DHttpEngine.java50 import static com.squareup.okhttp.internal.Util.closeQuietly;
205 closeQuietly(cacheCandidate.body()); // The cache candidate wasn't applicable. Close it. in sendRequest()
420 closeQuietly(bufferedRequestBody); in close()
422 closeQuietly(requestBodyOut); in close()
427 closeQuietly(connection); in close()
433 closeQuietly(responseBody); in close()
436 closeQuietly(responseBodyBytes); in close()
440 closeQuietly(connection); in close()
649 closeQuietly(cacheResponse.body()); in readResponse()
DHttpConnection.java419 Util.closeQuietly(connection); in unexpectedEndOfInput()
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/spdy/
DMockSpdyPeer.java109 Util.closeQuietly(MockSpdyPeer.this); in play()
153 Util.closeQuietly(socket); in readAndWriteFrames()
164 Util.closeQuietly(socket); in close()
169 Util.closeQuietly(serverSocket); in close()
/external/guava/guava-tests/test/com/google/common/io/
DCloseablesTest.java74 Closeables.closeQuietly(mockCloseable); in testCloseQuietly_closeableWithEatenException()
112 Closeables.closeQuietly(null); in testCloseNull()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/
DUtil.java94 public static void closeQuietly(Closeable closeable) { in closeQuietly() method in Util
109 public static void closeQuietly(Socket socket) { in closeQuietly() method in Util
124 public static void closeQuietly(ServerSocket serverSocket) { in closeQuietly() method in Util
DDiskLruCache.java271 Util.closeQuietly(source); in readJournal()
423 Util.closeQuietly(ins[i]); in get()
704 Util.closeQuietly(in); in close()
/external/mockito/src/org/mockito/internal/configuration/
DClassPathLoader.java166 closeQuietly(in); in loadImplementations()
190 private static void closeQuietly(InputStream in) { in closeQuietly() method in ClassPathLoader
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/util/
DStreamUtil.java19 public static void closeQuietly(Closeable closeable) { in closeQuietly() method in StreamUtil
/external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/internal/spdy/
DSpdyServer.java143 Util.closeQuietly(in); in serveFile()
144 Util.closeQuietly(out); in serveFile()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/
DCertBlacklist.java107 closeQuietly(f); in readFileAsBytes()
112 private static void closeQuietly(Closeable closeable) { in closeQuietly() method in CertBlacklist
/external/guava/guava/src/com/google/common/io/
DCloseables.java97 public static void closeQuietly(@Nullable Closeable closeable) { in closeQuietly() method in Closeables
DByteStreams.java840 Closeables.closeQuietly(in);
/external/chromium_org/chrome/test/android/javatests/src/org/chromium/chrome/test/util/
DTestHttpServerClient.java75 StreamUtil.closeQuietly(is); in checkServerIsUp()
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/
DDesignerPlugin.java111 Closeables.closeQuietly(closeMe); in readFile()
/external/conscrypt/src/platform/java/org/conscrypt/
DTrustedCertificateStore.java187 IoUtils.closeQuietly(is); in readCertificate()
202 IoUtils.closeQuietly(os); in writeCertificate()
/external/okhttp/samples/static-server/src/main/java/com/squareup/okhttp/sample/
DSampleServer.java124 Util.closeQuietly(in); in sslContext()
/external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/mockwebserver/
DMockWebServer.java259 Util.closeQuietly(serverSocket); in play()
261 Util.closeQuietly(s.next()); in play()
265 Util.closeQuietly(s.next()); in play()
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/utils/ui/
DDrawUtils.java213 Closeables.closeQuietly(stream); in loadImage()
/external/conscrypt/src/test/java/org/conscrypt/
DNativeCryptoTest.java1207 IoUtils.closeQuietly(serverSocket); in test_SSL_do_handshake_client_timeout()
1227 IoUtils.closeQuietly(clientSocket); in test_SSL_do_handshake_server_timeout()
/external/bouncycastle/patches/
Dbcprov.patch7158 + closeQuietly(f);
7162 + // Base on IoUtils.closeQuietly
7163 + private static void closeQuietly(Closeable closeable) {