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/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/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/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/hostsidetests/net/app/src/com/android/cts/net/hostside/
DVpnTest.java290 private static void closeQuietly(Closeable c) { in closeQuietly() method in VpnTest
384 closeQuietly(listen); in checkTcpReflection()
385 closeQuietly(client); in checkTcpReflection()
390 closeQuietly(listen); in checkTcpReflection()
434 closeQuietly(listen); in checkTcpReflection()
435 closeQuietly(client); in checkTcpReflection()
436 closeQuietly(server); in checkTcpReflection()
/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.java343 closeQuietly(br); in executeShellCommand()
345 closeQuietly(pfd); in executeShellCommand()
349 private static void closeQuietly(AutoCloseable closeable) { in closeQuietly() method in TestUtils
/cts/tests/tests/telephony/current/src/android/telephony/cts/
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/media/src/android/media/cts/
DExifInterfaceTest.java382 IoUtils.closeQuietly(in); in testExifInterfaceCommon()
394 IoUtils.closeQuietly(fd); in testExifInterfaceCommon()
453 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/security/src/android/security/cts/
DStagefrightTest.java869 closeQuietly(fd); in testStagefright_bug_68342866()
1260 private void closeQuietly(AutoCloseable closeable) { in closeQuietly() method in StagefrightTest
1306 closeQuietly(fd); in doStagefrightTestMediaPlayer()
1378 closeQuietly(fd); in doStagefrightTestMediaCodec()
1547 closeQuietly(fd); in doStagefrightTestMediaMetadataRetriever()
1933 closeQuietly(fd); in doStagefrightTestMediaPlayerANR()
1984 closeQuietly(fd); in doStagefrightTestExtractorSeek()
/cts/tests/app/src/android/app/cts/
DDownloadManagerTestBase.java106 FileUtils.closeQuietly(in); in hash()