Home
last modified time | relevance | path

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

/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()
DVoicemailContractTest.java532 closeQuietly(bufferedReader); in executeShellCommand()
534 closeQuietly(parcelFileDescriptor); in executeShellCommand()
538 private static void closeQuietly(AutoCloseable closeable) { in closeQuietly() method in VoicemailContractTest
/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/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()
DStagefrightTest.java472 private void closeQuietly(AutoCloseable closeable) { in closeQuietly() method in StagefrightTest
517 closeQuietly(fd); in doStagefrightTestMediaPlayer()
588 closeQuietly(fd); in doStagefrightTestMediaCodec()
754 closeQuietly(fd); in doStagefrightTestMediaMetadataRetriever()
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/
DVpnTest.java278 private static void closeQuietly(Closeable c) { in closeQuietly() method in VpnTest
372 closeQuietly(listen); in checkTcpReflection()
373 closeQuietly(client); in checkTcpReflection()
378 closeQuietly(listen); in checkTcpReflection()
421 closeQuietly(listen); in checkTcpReflection()
422 closeQuietly(client); in checkTcpReflection()
423 closeQuietly(server); in checkTcpReflection()
/cts/tests/backup/src/android/backup/cts/
DBackupQuotaTest.java145 closeQuietly(log); in waitForLogcat()
173 private static void closeQuietly(AutoCloseable closeable) { in closeQuietly() method in BackupQuotaTest
/cts/tests/tests/hardware/src/android/hardware/input/cts/tests/
DInputTestCase.java78 closeQuietly(mWriter); in tearDown()
180 private static void closeQuietly(AutoCloseable closeable) { in closeQuietly() method in InputTestCase
/cts/tests/tests/telecom/src/android/telecom/cts/
DTestUtils.java193 closeQuietly(br); in executeShellCommand()
195 closeQuietly(pfd); in executeShellCommand()
199 private static void closeQuietly(AutoCloseable closeable) { in closeQuietly() method in TestUtils
/cts/tests/tests/content/src/android/content/pm/cts/
DProviderInfoTest.java65 IoUtils.closeQuietly(in); in testProviderMetaData()
/cts/tests/tests/media/src/android/media/cts/
DExifInterfaceTest.java317 IoUtils.closeQuietly(in); in testExifInterfaceCommon()
329 IoUtils.closeQuietly(fd); in testExifInterfaceCommon()
386 IoUtils.closeQuietly(fd); in testSaveAttributes_withFileDescriptor()
/cts/tests/tests/telephony/src/android/telephony/cts/
DVisualVoicemailServiceTest.java713 closeQuietly(bufferedReader); in executeShellCommand()
715 closeQuietly(parcelFileDescriptor); in executeShellCommand()
719 private static void closeQuietly(AutoCloseable closeable) { in closeQuietly() method in VisualVoicemailServiceTest
/cts/tests/tests/app.usage/src/android/app/usage/cts/
DNetworkUsageStatsTest.java237 IoUtils.closeQuietly(pfd.getFileDescriptor()); in setAppOpsMode()
250 IoUtils.closeQuietly(pfd.getFileDescriptor()); in getAppOpsMode()
/cts/tests/libcore/javautilcollections/libs/
Dguava-20.0.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...