Home
last modified time | relevance | path

Searched refs:closeQuietly (Results 1 – 15 of 15) 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.java599 closeQuietly(bufferedReader); in executeShellCommand()
601 closeQuietly(parcelFileDescriptor); in executeShellCommand()
605 private static void closeQuietly(AutoCloseable closeable) { in closeQuietly() method in VoicemailContractTest
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DTelephonyUtils.java87 closeQuietly(br); in executeShellCommand()
89 closeQuietly(pfd); in executeShellCommand()
93 private static void closeQuietly(AutoCloseable closeable) { in closeQuietly() method in TelephonyUtils
DVisualVoicemailServiceTest.java746 closeQuietly(bufferedReader); in executeShellCommand()
748 closeQuietly(parcelFileDescriptor); in executeShellCommand()
752 private static void closeQuietly(AutoCloseable closeable) { in closeQuietly() method in VisualVoicemailServiceTest
/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 …]
DFileUtilsTest.java116 FileUtils.closeQuietly(fis); in testClose()
119 FileUtils.closeQuietly(fd); in testClose()
/cts/libs/input/src/com/android/cts/input/
DHidDevice.java19 import static android.os.FileUtils.closeQuietly;
136 closeQuietly(mOutputStream); in close()
144 closeQuietly(pipes[0]); // hid command is write-only in setupPipes()
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/
DVpnTest.java307 private static void closeQuietly(Closeable c) { in closeQuietly() method in VpnTest
401 closeQuietly(listen); in checkTcpReflection()
402 closeQuietly(client); in checkTcpReflection()
407 closeQuietly(listen); in checkTcpReflection()
451 closeQuietly(listen); in checkTcpReflection()
452 closeQuietly(client); in checkTcpReflection()
453 closeQuietly(server); in checkTcpReflection()
/cts/tests/tests/media/src/android/media/cts/
DExifInterfaceTest.java404 IoUtils.closeQuietly(in); in testExifInterfaceCommon()
416 IoUtils.closeQuietly(fd); in testExifInterfaceCommon()
469 IoUtils.closeQuietly(in); in testExifInterfaceRange()
547 IoUtils.closeQuietly(fd); in testSaveAttributes_withFileDescriptor()
DHeifWriterTest.java114 closeQuietly(inputStream); in setUp()
115 closeQuietly(outputStream); in setUp()
273 private void closeQuietly(Closeable closeable) { in closeQuietly() method in HeifWriterTest
/cts/tests/tests/content/src/android/content/pm/cts/
DProviderInfoTest.java67 IoUtils.closeQuietly(in); in testProviderMetaData()
/cts/tests/tests/telecom/src/android/telecom/cts/
DTestUtils.java413 closeQuietly(br); in executeShellCommand()
415 closeQuietly(pfd); in executeShellCommand()
419 private static void closeQuietly(AutoCloseable closeable) { in closeQuietly() method in TestUtils
/cts/tests/tests/security/src/android/security/cts/
DStagefrightTest.java1077 closeQuietly(fd); in testStagefright_bug_68342866()
1198 closeQuietly(fd); in testStagefright_cve_2017_13279()
1703 private void closeQuietly(AutoCloseable closeable) { in closeQuietly() method in StagefrightTest
1754 closeQuietly(fd); in doStagefrightTestMediaPlayer()
1820 closeQuietly(fd); in testStagefright_cve_2019_2129()
1916 closeQuietly(fd); in doStagefrightTestMediaCodec()
2099 closeQuietly(fd); in doStagefrightTestMediaMetadataRetriever()
2550 closeQuietly(fd); in doStagefrightTestMediaPlayerANR()
2606 closeQuietly(fd); in doStagefrightTestExtractorSeek()
2648 closeQuietly(fd); in assertExtractorDoesNotHang()
/cts/tests/app/src/android/app/cts/
DDownloadManagerTestBase.java122 FileUtils.closeQuietly(in); in hash()
195 FileUtils.closeQuietly(in); in getTotalBytes()