Home
last modified time | relevance | path

Searched refs:closeQuietly (Results 1 – 22 of 22) 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/telecom-apps/Utils/src/android/telecom/cts/apps/
DShellCommandExecutor.java67 closeQuietly(br); in executeShellCommand()
69 closeQuietly(pfd); in executeShellCommand()
73 private static void closeQuietly(AutoCloseable closeable) { in closeQuietly() method in ShellCommandExecutor
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DAnrMonitor.java198 closeQuietly(pfds[0]); in threadMain()
199 closeQuietly(pfds[1]); in threadMain()
205 private static void closeQuietly(AutoCloseable c) { in closeQuietly() method in AnrMonitor
/cts/tests/tests/os/src/android/os/storage/cts/
DStorageManagerHelper.java163 closeQuietly(br); in executeShellCommand()
165 closeQuietly(pfd); in executeShellCommand()
169 private static void closeQuietly(AutoCloseable closeable) { in closeQuietly() method in StorageManagerHelper
/cts/tests/tests/os/src/android/os/cts/
DMessageQueueTest.java492 closeQuietly(reader); in testPathologicalFileDescriptorReuseCallbacks1()
618 closeQuietly(pipe[0]); in testPathologicalFileDescriptorReuseCallbacks2()
619 closeQuietly(pipe[1]); in testPathologicalFileDescriptorReuseCallbacks2()
620 closeQuietly(pipe2[0]); in testPathologicalFileDescriptorReuseCallbacks2()
621 closeQuietly(pipe2[1]); in testPathologicalFileDescriptorReuseCallbacks2()
707 closeQuietly(pipe[0]); in testPathologicalFileDescriptorReuseCallbacks3()
708 closeQuietly(pipe[1]); in testPathologicalFileDescriptorReuseCallbacks3()
709 closeQuietly(pipe2[0]); in testPathologicalFileDescriptorReuseCallbacks3()
710 closeQuietly(pipe2[1]); in testPathologicalFileDescriptorReuseCallbacks3()
902 private static void closeQuietly(AutoCloseable c) { in closeQuietly() method in MessageQueueTest
[all …]
DFileUtilsTest.java118 FileUtils.closeQuietly(fis); in testClose()
121 FileUtils.closeQuietly(fd); in testClose()
/cts/libs/input/src/com/android/cts/input/
DVirtualInputDevice.java19 import static android.os.FileUtils.closeQuietly;
183 closeQuietly(mInputStream); in close()
184 closeQuietly(mOutputStream); in close()
/cts/tests/tests/content/src/android/content/pm/cts/
DIncrementalDeviceConnection.java129 IoUtils.closeQuietly(mPfd); in close()
210 IoUtils.closeQuietly(processPfd); in connectToService()
DProviderInfoTest.java101 IoUtils.closeQuietly(in); in testProviderMetaData()
DPackageManagerShellCommandIncrementalTest.java173 IoUtils.closeQuietly(mSession); in onAfter()
/cts/tests/tests/telephony/current/src/android/telephony/cts/util/
DTelephonyUtils.java331 closeQuietly(br); in executeShellCommand()
333 closeQuietly(pfd); in executeShellCommand()
337 private static void closeQuietly(AutoCloseable closeable) { in closeQuietly() method in TelephonyUtils
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DVisualVoicemailServiceTest.java708 closeQuietly(bufferedReader); in executeShellCommand()
710 closeQuietly(parcelFileDescriptor); in executeShellCommand()
714 private static void closeQuietly(AutoCloseable closeable) { in closeQuietly() method in VisualVoicemailServiceTest
/cts/tests/tests/carrierapi/src/android/carrierapi/cts/
DBugreportManagerTest.java115 FileUtils.closeQuietly(mBugreportFd); in tearDown()
116 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/media/misc/src/android/media/misc/cts/
DHeifWriterTest.java143 closeQuietly(inputStream); in setUp()
144 closeQuietly(outputStream); in setUp()
321 private void closeQuietly(Closeable closeable) { in closeQuietly() method in HeifWriterTest
DExifInterfaceTest.java465 IoUtils.closeQuietly(in); in testExifInterfaceCommon()
477 IoUtils.closeQuietly(fd); in testExifInterfaceCommon()
531 IoUtils.closeQuietly(in); in testExifInterfaceRange()
607 IoUtils.closeQuietly(fd); in writeToFilesWithExif()
DMediaMetadataRetrieverTest.java1415 closeQuietly(inputStream); in copyMediaFile()
1416 closeQuietly(outputStream); in copyMediaFile()
1431 private void closeQuietly(Closeable closeable) { in closeQuietly() method in MediaMetadataRetrieverTest
/cts/tests/tests/security/src/android/security/cts/
DStagefrightTest.java1094 closeQuietly(fd); in testStagefright_bug_68342866()
1401 closeQuietly(fd); in testStagefright_cve_2016_3880()
2176 private void closeQuietly(AutoCloseable closeable) { in closeQuietly() method in StagefrightTest
2227 closeQuietly(fd); in doStagefrightTestMediaPlayer()
2292 closeQuietly(fd); in testStagefright_cve_2019_2129()
2387 closeQuietly(fd); in doStagefrightTestMediaCodec()
2589 closeQuietly(fd); in doStagefrightTestMediaMetadataRetriever()
3263 closeQuietly(fd); in doStagefrightTestMediaPlayerANR()
3319 closeQuietly(fd); in doStagefrightTestExtractorSeek()
3360 closeQuietly(fd); in assertExtractorDoesNotHang()
/cts/tests/app/src/android/app/cts/
DDownloadManagerTestBase.java142 FileUtils.closeQuietly(in); in hash()
215 FileUtils.closeQuietly(in); in getTotalBytes()
/cts/tests/tests/telecom/src/android/telecom/cts/
DTestUtils.java639 closeQuietly(br); in executeShellCommand()
641 closeQuietly(pfd); in executeShellCommand()
645 private static void closeQuietly(AutoCloseable closeable) { in closeQuietly() method in TestUtils
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt33098 method @Deprecated public static void closeQuietly(@Nullable AutoCloseable);
33099 method @Deprecated public static void closeQuietly(@Nullable java.io.FileDescriptor);