Home
last modified time | relevance | path

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

/cts/tests/tests/contactsprovider/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/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/tests/tests/telephony/current/src/android/telephony/cts/
DTelephonyUtils.java149 closeQuietly(br); in executeShellCommand()
151 closeQuietly(pfd); in executeShellCommand()
155 private static void closeQuietly(AutoCloseable closeable) { in closeQuietly() method in TelephonyUtils
DVisualVoicemailServiceTest.java750 closeQuietly(bufferedReader); in executeShellCommand()
752 closeQuietly(parcelFileDescriptor); in executeShellCommand()
756 private static void closeQuietly(AutoCloseable closeable) { in closeQuietly() method in VisualVoicemailServiceTest
/cts/libs/input/src/com/android/cts/input/
DVirtualInputDevice.java19 import static android.os.FileUtils.closeQuietly;
178 closeQuietly(mInputStream); in close()
179 closeQuietly(mOutputStream); in close()
/cts/tests/tests/content/src/android/content/pm/cts/
DIncrementalDeviceConnection.java131 IoUtils.closeQuietly(mPfd); in close()
228 IoUtils.closeQuietly(processPfd); in connectToService()
DProviderInfoTest.java67 IoUtils.closeQuietly(in); in testProviderMetaData()
DPackageManagerShellCommandIncrementalTest.java1124 IoUtils.closeQuietly(mSession); in cleanup()
/cts/tests/tests/carrierapi/src/android/carrierapi/cts/
DBugreportManagerTest.java108 FileUtils.closeQuietly(mBugreportFd); in tearDown()
109 FileUtils.closeQuietly(mScreenshotFd); in tearDown()
/cts/tests/tests/provider/src/android/provider/cts/contacts/
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/telecom/src/android/telecom/cts/
DTestUtils.java501 closeQuietly(br); in executeShellCommand()
503 closeQuietly(pfd); in executeShellCommand()
507 private static void closeQuietly(AutoCloseable closeable) { in closeQuietly() method in TestUtils
/cts/tests/tests/media/src/android/media/cts/
DHeifWriterTest.java131 closeQuietly(inputStream); in setUp()
132 closeQuietly(outputStream); in setUp()
296 private void closeQuietly(Closeable closeable) { in closeQuietly() method in HeifWriterTest
DExifInterfaceTest.java440 IoUtils.closeQuietly(in); in testExifInterfaceCommon()
452 IoUtils.closeQuietly(fd); in testExifInterfaceCommon()
506 IoUtils.closeQuietly(in); in testExifInterfaceRange()
581 IoUtils.closeQuietly(fd); in writeToFilesWithExif()
DMediaMetadataRetrieverTest.java1237 closeQuietly(inputStream); in copyMediaFile()
1238 closeQuietly(outputStream); in copyMediaFile()
1253 private void closeQuietly(Closeable closeable) { in closeQuietly() method in MediaMetadataRetrieverTest
/cts/tests/tests/security/src/android/security/cts/
DStagefrightTest.java1106 closeQuietly(fd); in testStagefright_bug_68342866()
1411 closeQuietly(fd); in testStagefright_cve_2016_3880()
2098 private void closeQuietly(AutoCloseable closeable) { in closeQuietly() method in StagefrightTest
2149 closeQuietly(fd); in doStagefrightTestMediaPlayer()
2214 closeQuietly(fd); in testStagefright_cve_2019_2129()
2309 closeQuietly(fd); in doStagefrightTestMediaCodec()
2495 closeQuietly(fd); in doStagefrightTestMediaMetadataRetriever()
3119 closeQuietly(fd); in doStagefrightTestMediaPlayerANR()
3175 closeQuietly(fd); in doStagefrightTestExtractorSeek()
3216 closeQuietly(fd); in assertExtractorDoesNotHang()
/cts/tests/app/src/android/app/cts/
DDownloadManagerTestBase.java141 FileUtils.closeQuietly(in); in hash()
214 FileUtils.closeQuietly(in); in getTotalBytes()