Home
last modified time | relevance | path

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

/cts/libs/vogar-expect/src/vogar/util/
DIoUtils.java25 public static void closeQuietly(Closeable c) { in closeQuietly() method in IoUtils
34 public static void closeQuietly(Socket c) { in closeQuietly() method in IoUtils
/cts/tests/tests/provider/src/android/provider/cts/contacts/
DCommonDatabaseUtils.java43 closeQuietly(cursor); in singleRecordToArray()
57 closeQuietly(cursor); in multiRecordToArray()
68 public static void closeQuietly(Cursor cursor) { in closeQuietly() method in CommonDatabaseUtils
DDeletedContactUtil.java60 CommonDatabaseUtils.closeQuietly(cursor); in getCount()
/cts/tests/tests/calllog/src/android/calllog/cts/
DTestUtils.java52 closeQuietly(br); in executeShellCommand()
64 private static void closeQuietly(AutoCloseable closeable) { in closeQuietly() method in TestUtils
/cts/tests/tests/telecom/src/android/telecom/cts/
DTestUtils.java119 closeQuietly(br); in executeShellCommand()
121 closeQuietly(pfd); in executeShellCommand()
125 private static void closeQuietly(AutoCloseable closeable) { in closeQuietly() method in TestUtils
/cts/tests/tests/os/src/android/os/cts/
DMessageQueueTest.java422 closeQuietly(reader); in testPathologicalFileDescriptorReuseCallbacks1()
546 closeQuietly(pipe[0]); in testPathologicalFileDescriptorReuseCallbacks2()
547 closeQuietly(pipe[1]); in testPathologicalFileDescriptorReuseCallbacks2()
548 closeQuietly(pipe2[0]); in testPathologicalFileDescriptorReuseCallbacks2()
549 closeQuietly(pipe2[1]); in testPathologicalFileDescriptorReuseCallbacks2()
633 closeQuietly(pipe[0]); in testPathologicalFileDescriptorReuseCallbacks3()
634 closeQuietly(pipe[1]); in testPathologicalFileDescriptorReuseCallbacks3()
635 closeQuietly(pipe2[0]); in testPathologicalFileDescriptorReuseCallbacks3()
636 closeQuietly(pipe2[1]); in testPathologicalFileDescriptorReuseCallbacks3()
796 private static void closeQuietly(AutoCloseable c) { in closeQuietly() method in MessageQueueTest
[all …]
/cts/tests/tests/security/src/android/security/cts/
DOpenSSLHeartbleedTest.java96 closeQuietly(getServerListeningSocket()); in tearDown()
97 closeQuietly(getServerSocket()); in tearDown()
98 closeQuietly(getClientSocket()); in tearDown()
99 closeQuietly(getMitmListeningSocket()); in tearDown()
100 closeQuietly(getMitmServerSocket()); in tearDown()
101 closeQuietly(getMitmClientSocket()); in tearDown()
370 closeQuietly(clientSocket); in mitmAcceptAndForward()
371 closeQuietly(serverSocket); in mitmAcceptAndForward()
880 private static void closeQuietly(InputStream in) { in closeQuietly() method in OpenSSLHeartbleedTest
888 public static void closeQuietly(ServerSocket socket) { in closeQuietly() method in OpenSSLHeartbleedTest
[all …]
DOpenSSLEarlyCCSTest.java97 OpenSSLHeartbleedTest.closeQuietly(getServerListeningSocket()); in tearDown()
98 OpenSSLHeartbleedTest.closeQuietly(getServerSocket()); in tearDown()
99 OpenSSLHeartbleedTest.closeQuietly(getClientSocket()); in tearDown()
100 OpenSSLHeartbleedTest.closeQuietly(getMitmListeningSocket()); in tearDown()
101 OpenSSLHeartbleedTest.closeQuietly(getMitmServerSocket()); in tearDown()
102 OpenSSLHeartbleedTest.closeQuietly(getMitmClientSocket()); in tearDown()
370 OpenSSLHeartbleedTest.closeQuietly(clientSocket); in mitmAcceptAndForward()
371 OpenSSLHeartbleedTest.closeQuietly(serverSocket); in mitmAcceptAndForward()
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/
DVpnTest.java257 private static void closeQuietly(Closeable c) { in closeQuietly() method in VpnTest
351 closeQuietly(listen); in checkTcpReflection()
352 closeQuietly(client); in checkTcpReflection()
357 closeQuietly(listen); in checkTcpReflection()
400 closeQuietly(listen); in checkTcpReflection()
401 closeQuietly(client); in checkTcpReflection()
402 closeQuietly(server); in checkTcpReflection()
/cts/tests/tests/uirendering/src/android/uirendering/cts/util/
DBitmapDumper.java132 IoUtils.closeQuietly(fileStream); in saveFile()
/cts/tests/tests/app.usage/src/android/app/usage/cts/
DNetworkUsageStatsTest.java166 IoUtils.closeQuietly(pfd.getFileDescriptor()); in setAppOpsMode()
179 IoUtils.closeQuietly(pfd.getFileDescriptor()); in getAppOpsMode()
DUsageStatsTest.java109 IoUtils.closeQuietly(pfd.getFileDescriptor()); in setAppOpsMode()
/cts/tests/tests/appwidget/src/android/appwidget/cts/
DAppWidgetTest.java1409 IoUtils.closeQuietly(pfd); in executeShellCommandIgnoreOutput()