Home
last modified time | relevance | path

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

1234567

/frameworks/base/core/tests/utiltests/src/android/util/
DMemoryIntArrayTest.java61 IoUtils.closeQuietly(array); in testSize()
79 IoUtils.closeQuietly(array); in testGetSet()
90 IoUtils.closeQuietly(array); in testWritable()
103 IoUtils.closeQuietly(array); in testClose()
131 IoUtils.closeQuietly(firstArray); in testMarshalledGetSet()
132 IoUtils.closeQuietly(secondArray); in testMarshalledGetSet()
174 IoUtils.closeQuietly(array); in testInteractOnceClosed()
213 IoUtils.closeQuietly(array); in testInteractPutOfBounds()
226 IoUtils.closeQuietly(array); in testOverMaxSize()
/frameworks/base/services/core/java/com/android/server/pm/
DResilientAtomicFile.java230 IoUtils.closeQuietly(str); in failRead()
252 IoUtils.closeQuietly(mMainOutStream); in close()
253 IoUtils.closeQuietly(mMainInStream); in close()
254 IoUtils.closeQuietly(mReserveOutStream); in close()
255 IoUtils.closeQuietly(mReserveInStream); in close()
256 IoUtils.closeQuietly(mCurrentInStream); in close()
/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/service/dataloader/
DDataLoaderService.java149 IoUtils.closeQuietly(control.incremental.cmd); in create()
150 IoUtils.closeQuietly(control.incremental.pendingReads); in create()
151 IoUtils.closeQuietly(control.incremental.log); in create()
152 IoUtils.closeQuietly(control.incremental.blocksWritten); in create()
/frameworks/base/ravenwood/runtime-helper-src/libcore-fake/libcore/io/
DIoUtils.java28 public static void closeQuietly(AutoCloseable closeable) { in closeQuietly() method in IoUtils
39 public static void closeQuietly(Socket socket) { in closeQuietly() method in IoUtils
/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/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/core/java/android/os/
DFileBridge.java84 IoUtils.closeQuietly(mTarget); in forceClose()
85 IoUtils.closeQuietly(mServer); in forceClose()
159 IoUtils.closeQuietly(mClientPfd); in close()
DRedactingFileDescriptor.java68 IoUtils.closeQuietly(mInner); in RedactingFileDescriptor()
69 IoUtils.closeQuietly(mOuter); in RedactingFileDescriptor()
222 IoUtils.closeQuietly(mInner);
DRevocableFileDescriptor.java114 IoUtils.closeQuietly(mInner); in revoke()
183 IoUtils.closeQuietly(mInner);
DBugreportManager.java263 IoUtils.closeQuietly(bugreportFd); in startBugreport()
265 IoUtils.closeQuietly(screenshotFd); in startBugreport()
322 IoUtils.closeQuietly(bugreportFd); in retrieveBugreport()
/frameworks/base/ravenwood/runtime-common-src/com/android/ravenwood/common/
DRavenwoodCommonUtils.java219 public static void closeQuietly(AutoCloseable c) { in closeQuietly() method in RavenwoodCommonUtils
230 public static void closeQuietly(FileDescriptor fd) { in closeQuietly() method in RavenwoodCommonUtils
232 RavenwoodCommonUtils.closeQuietly(is); in closeQuietly()
/frameworks/base/core/java/com/android/internal/os/
DAtomicDirectory.java166 FileUtils.closeQuietly(destination); in closeWrite()
175 FileUtils.closeQuietly(destination); in failWrite()
304 FileUtils.closeQuietly(fd); in syncDirectory()
/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/services/companion/java/com/android/server/companion/transport/
DRawTransport.java71 IoUtils.closeQuietly(mRemoteIn); in close()
72 IoUtils.closeQuietly(mRemoteOut); in close()
/frameworks/base/services/core/java/com/android/server/am/
DLmkdConnection.java141 IoUtils.closeQuietly(socket); in connect()
147 IoUtils.closeQuietly(socket); in connect()
179 IoUtils.closeQuietly(mLmkdSocket); in fileDescriptorEventHandler()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbAlsaMidiDevice.java157 IoUtils.closeQuietly(midiDevice); in create()
337 IoUtils.closeQuietly(mServer); in close()
349 IoUtils.closeQuietly(mInputStreams[i]); in closeLocked()
354 IoUtils.closeQuietly(mOutputStreams[i]); in closeLocked()
/frameworks/base/services/core/java/com/android/server/net/watchlist/
DFileHashCache.java158 private static void closeQuietly(@Nullable Closeable closeable) { in closeQuietly() method in FileHashCache
214 closeQuietly(reader); in load()
240 closeQuietly(writer); in save()
/frameworks/base/services/core/java/com/android/server/storage/
DAppFuseBridge.java86 IoUtils.closeQuietly(mountScope); in addBridge()
133 IoUtils.closeQuietly(scope);
/frameworks/base/media/java/android/media/midi/
DMidiInputPort.java114 IoUtils.closeQuietly(mOutputStream); in claimFileDescriptor()
143 IoUtils.closeQuietly(mFileDescriptor); in close()
DMidiDeviceServer.java157 IoUtils.closeQuietly(mOutputPort); in close()
187 IoUtils.closeQuietly(mInputPort); in close()
353 IoUtils.closeQuietly(MidiDeviceServer.this);
481 IoUtils.closeQuietly(outputPort); in close()
487 IoUtils.closeQuietly(inputPort); in close()
/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/com/android/internal/util/
DFileRotator.java173 IoUtils.closeQuietly(is); in dumpAll()
180 IoUtils.closeQuietly(zos); in dumpAll()
403 IoUtils.closeQuietly(bis); in readFile()
418 IoUtils.closeQuietly(bos); in writeFile()
/frameworks/base/core/java/android/app/
DUiAutomationConnection.java528 IoUtils.closeQuietly(readFrom); in run()
529 IoUtils.closeQuietly(writeTo); in run()
609 IoUtils.closeQuietly(sink); in executeShellCommandWithStderr()
610 IoUtils.closeQuietly(source); in executeShellCommandWithStderr()
611 IoUtils.closeQuietly(stderrSink); in executeShellCommandWithStderr()

1234567