Home
last modified time | relevance | path

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

123456

/frameworks/base/core/tests/utiltests/src/android/util/
DMemoryIntArrayTest.java54 IoUtils.closeQuietly(array); in testSize()
72 IoUtils.closeQuietly(array); in testGetSet()
83 IoUtils.closeQuietly(array); in testWritable()
96 IoUtils.closeQuietly(array); in testClose()
124 IoUtils.closeQuietly(firstArray); in testMarshalledGetSet()
125 IoUtils.closeQuietly(secondArray); in testMarshalledGetSet()
167 IoUtils.closeQuietly(array); in testInteractOnceClosed()
206 IoUtils.closeQuietly(array); in testInteractPutOfBounds()
219 IoUtils.closeQuietly(array); in testOverMaxSize()
/frameworks/base/services/core/java/com/android/server/
DPersistentDataBlockService.java306 IoUtils.closeQuietly(outputStream); in computeAndWriteDigestLocked()
329 IoUtils.closeQuietly(inputStream); in computeDigestLocked()
350 IoUtils.closeQuietly(inputStream); in computeDigestLocked()
375 IoUtils.closeQuietly(outputStream); in formatPartitionLocked()
406 IoUtils.closeQuietly(outputStream); in doSetOemUnlockEnabledLocked()
428 IoUtils.closeQuietly(inputStream); in doGetOemUnlockEnabled()
475 IoUtils.closeQuietly(outputStream);
488 IoUtils.closeQuietly(outputStream);
621 IoUtils.closeQuietly(inputStream);
709 IoUtils.closeQuietly(outputStream);
[all …]
/frameworks/ex/common/java/com/android/common/io/
DMoreCloseables.java28 public static void closeQuietly(Cursor cursor) { in closeQuietly() method in MoreCloseables
37 public static void closeQuietly(AssetFileDescriptor assetFileDescriptor) { in closeQuietly() method in MoreCloseables
/frameworks/base/core/java/android/os/
DFileBridge.java81 IoUtils.closeQuietly(mTarget); in forceClose()
82 IoUtils.closeQuietly(mServer); in forceClose()
83 IoUtils.closeQuietly(mClient); in forceClose()
157 IoUtils.closeQuietly(mClientPfd); in close()
DRedactingFileDescriptor.java68 IoUtils.closeQuietly(mInner); in RedactingFileDescriptor()
69 IoUtils.closeQuietly(mOuter); in RedactingFileDescriptor()
222 IoUtils.closeQuietly(mInner);
DRevocableFileDescriptor.java97 IoUtils.closeQuietly(mInner); in revoke()
158 IoUtils.closeQuietly(mInner);
DBugreportManager.java175 IoUtils.closeQuietly(bugreportFd); in startBugreport()
177 IoUtils.closeQuietly(screenshotFd); in startBugreport()
/frameworks/base/cmds/statsd/tools/loadtest/src/com/android/statsd/loadtest/
DPerfDataRecorder.java77 closeQuietly(fo); in runDumpsysStats()
103 closeQuietly(br); in readDumpData()
122 closeQuietly(writer); in writeData()
166 private void closeQuietly(@Nullable Closeable c) { in closeQuietly() method in PerfDataRecorder
/frameworks/base/services/backup/java/com/android/server/backup/restore/
DFullRestoreEngineThread.java55 IoUtils.closeQuietly(mEngineStream); in run()
60 IoUtils.closeQuietly(mEngineStream); in handleTimeout()
/frameworks/base/media/java/android/media/midi/
DMidiDeviceServer.java138 IoUtils.closeQuietly(mOutputPort); in close()
163 IoUtils.closeQuietly(mInputPort); in close()
291 IoUtils.closeQuietly(MidiDeviceServer.this);
412 IoUtils.closeQuietly(outputPort); in close()
417 IoUtils.closeQuietly(inputPort); in close()
DMidiInputPort.java111 IoUtils.closeQuietly(mOutputStream); in claimFileDescriptor()
140 IoUtils.closeQuietly(mFileDescriptor); in close()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/renderer/
DPdfManipulationService.java93 IoUtils.closeQuietly(source); in openDocument()
97 IoUtils.closeQuietly(source); in openDocument()
171 IoUtils.closeQuietly(destination); in renderPage()
230 IoUtils.closeQuietly(source); in openDocument()
363 IoUtils.closeQuietly(destination); in write()
/frameworks/base/tests/GamePerformance/src/android/gameperformance/
DATraceRunner.java84 Utils.closeQuietly(bufferedReader); in doInBackground()
85 Utils.closeQuietly(writer); in doInBackground()
DUtils.java22 public static void closeQuietly(Closeable closeable) { in closeQuietly() method in Utils
/frameworks/base/services/core/java/com/android/server/am/
DLmkdConnection.java131 IoUtils.closeQuietly(socket); in connect()
137 IoUtils.closeQuietly(socket); in connect()
169 IoUtils.closeQuietly(mLmkdSocket); in fileDescriptorEventHandler()
/frameworks/base/core/java/android/net/
DNetwork.java217 if (failed) IoUtils.closeQuietly(socket); in connectToHost()
242 if (failed) IoUtils.closeQuietly(socket); in createSocket()
255 if (failed) IoUtils.closeQuietly(socket); in createSocket()
273 if (failed) IoUtils.closeQuietly(socket); in createSocket()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbMidiDevice.java152 IoUtils.closeQuietly(midiDevice); in create()
315 IoUtils.closeQuietly(mServer); in close()
327 IoUtils.closeQuietly(mInputStreams[i]); in closeLocked()
332 IoUtils.closeQuietly(mOutputStreams[i]); in closeLocked()
/frameworks/base/core/java/com/android/internal/os/
DZygote.java542 IoUtils.closeQuietly(pipeFDs[0]); in forkUsap()
547 IoUtils.closeQuietly(pipeFDs[1]); in forkUsap()
604 IoUtils.closeQuietly(sessionSocket); in usapMain()
611 IoUtils.closeQuietly(sessionSocket); in usapMain()
643 IoUtils.closeQuietly(sessionSocket); in usapMain()
678 IoUtils.closeQuietly(writePipe); in usapMain()
/frameworks/base/core/java/com/android/internal/util/
DFileRotator.java165 IoUtils.closeQuietly(is); in dumpAll()
172 IoUtils.closeQuietly(zos); in dumpAll()
374 IoUtils.closeQuietly(bis); in readFile()
386 IoUtils.closeQuietly(bos); in writeFile()
/frameworks/base/services/core/java/com/android/server/storage/
DAppFuseBridge.java86 IoUtils.closeQuietly(mountScope); in addBridge()
133 IoUtils.closeQuietly(scope);
/frameworks/multidex/library/src/androidx/multidex/
DMultiDexExtractor.java108 closeQuietly(lockChannel); in MultiDexExtractor()
113 closeQuietly(lockRaf); in MultiDexExtractor()
417 closeQuietly(in); in extract()
425 private static void closeQuietly(Closeable closeable) { in closeQuietly() method in MultiDexExtractor
/frameworks/base/core/java/android/app/
DUiAutomationConnection.java358 IoUtils.closeQuietly(readFrom); in run()
359 IoUtils.closeQuietly(writeTo); in run()
417 IoUtils.closeQuietly(sink); in executeShellCommand()
418 IoUtils.closeQuietly(source); in executeShellCommand()
/frameworks/base/services/backup/java/com/android/server/backup/
DKeyValueAdbBackupEngine.java249 IoUtils.closeQuietly(mPipe); in run()
293 IoUtils.closeQuietly(pipes[0]); in writeBackupData()
294 IoUtils.closeQuietly(pipes[1]); in writeBackupData()
/frameworks/base/services/core/java/com/android/server/recoverysystem/
DRecoverySystemService.java432 IoUtils.closeQuietly(mInputStream); in close()
433 IoUtils.closeQuietly(mOutputStream); in close()
434 IoUtils.closeQuietly(mLocalSocket); in close()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DExifInterfaceTest.java330 IoUtils.closeQuietly(in); in testExifInterfaceCommon()
340 IoUtils.closeQuietly(in); in testExifInterfaceCommon()
352 IoUtils.closeQuietly(fd); in testExifInterfaceCommon()
407 IoUtils.closeQuietly(fd); in testSaveAttributes_withFileDescriptor()
423 IoUtils.closeQuietly(in); in testSaveAttributes_withInputStream()

123456