Home
last modified time | relevance | path

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

123456

/frameworks/base/core/tests/utiltests/src/android/util/
DMemoryIntArrayTest.java49 IoUtils.closeQuietly(array); in testSize()
67 IoUtils.closeQuietly(array); in testGetSet()
78 IoUtils.closeQuietly(array); in testWritable()
91 IoUtils.closeQuietly(array); in testClose()
119 IoUtils.closeQuietly(firstArray); in testMarshalledGetSet()
120 IoUtils.closeQuietly(secondArray); in testMarshalledGetSet()
162 IoUtils.closeQuietly(array); in testInteractOnceClosed()
201 IoUtils.closeQuietly(array); in testInteractPutOfBounds()
214 IoUtils.closeQuietly(array); in testOverMaxSize()
/frameworks/base/services/core/java/com/android/server/
DPersistentDataBlockService.java258 IoUtils.closeQuietly(outputStream); in computeAndWriteDigestLocked()
281 IoUtils.closeQuietly(inputStream); in computeDigestLocked()
302 IoUtils.closeQuietly(inputStream); in computeDigestLocked()
327 IoUtils.closeQuietly(outputStream); in formatPartitionLocked()
358 IoUtils.closeQuietly(outputStream); in doSetOemUnlockEnabledLocked()
380 IoUtils.closeQuietly(inputStream); in doGetOemUnlockEnabled()
420 IoUtils.closeQuietly(outputStream);
433 IoUtils.closeQuietly(outputStream);
566 IoUtils.closeQuietly(inputStream);
623 IoUtils.closeQuietly(outputStream);
[all …]
DRecoverySystemService.java158 IoUtils.closeQuietly(dis); in uncrypt()
159 IoUtils.closeQuietly(dos); in uncrypt()
160 IoUtils.closeQuietly(socket); in uncrypt()
313 IoUtils.closeQuietly(dis); in setupOrClearBcb()
314 IoUtils.closeQuietly(dos); in setupOrClearBcb()
315 IoUtils.closeQuietly(socket); in setupOrClearBcb()
/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()
DRevocableFileDescriptor.java97 IoUtils.closeQuietly(mInner); in revoke()
158 IoUtils.closeQuietly(mInner);
/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/support/documentfile/src/main/java/androidx/documentfile/provider/
DDocumentsContractApi19.java152 closeQuietly(c); in exists()
173 closeQuietly(c); in queryForString()
198 closeQuietly(c); in queryForLong()
202 private static void closeQuietly(@Nullable AutoCloseable closeable) { in closeQuietly() method in DocumentsContractApi19
DTreeDocumentFile.java154 closeQuietly(c); in listFiles()
165 private static void closeQuietly(@Nullable AutoCloseable closeable) { in closeQuietly() method in TreeDocumentFile
/frameworks/data-binding/extensions/library/src/androidTest/java/android/databinding/
DObservableParcelTest.java187 closeQuietly(bos); in serializeAndDeserialize()
188 closeQuietly(oos); in serializeAndDeserialize()
200 closeQuietly(bis); in serializeAndDeserialize()
201 closeQuietly(ois); in serializeAndDeserialize()
205 private static void closeQuietly(Closeable closeable) { in closeQuietly() method in ObservableParcelTest
/frameworks/support/compat/src/main/java/androidx/core/graphics/
DTypefaceCompatUtil.java149 closeQuietly(os); in copyToFile()
162 closeQuietly(is); in copyToFile()
166 public static void closeQuietly(Closeable c) { in closeQuietly() method in TypefaceCompatUtil
/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/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/data-binding/compilerCommon/src/main/java/android/databinding/tool/
DDataBindingBuilder.java88 IOUtils.closeQuietly(stream); in getVersions()
141 IOUtils.closeQuietly(fis); in readGeneratedClasses()
172 IOUtils.closeQuietly(fos); in writeToFile()
/frameworks/base/core/java/android/net/
DNetwork.java194 if (failed) IoUtils.closeQuietly(socket); in connectToHost()
218 if (failed) IoUtils.closeQuietly(socket); in createSocket()
231 if (failed) IoUtils.closeQuietly(socket); in createSocket()
249 if (failed) IoUtils.closeQuietly(socket); in createSocket()
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/util/
DGenerationalClassUtil.java111 IOUtils.closeQuietly(inputStream); in loadFromDirectory()
143 IOUtils.closeQuietly(inputStream); in loadFomZipFile()
171 IOUtils.closeQuietly(oos); in writeIntermediateFile()
/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/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/core/java/android/app/
DUiAutomationConnection.java301 IoUtils.closeQuietly(readFrom); in run()
302 IoUtils.closeQuietly(writeTo); in run()
360 IoUtils.closeQuietly(sink); in executeShellCommand()
361 IoUtils.closeQuietly(source); in executeShellCommand()
/frameworks/base/services/core/java/com/android/server/storage/
DAppFuseBridge.java77 IoUtils.closeQuietly(mountScope); in addBridge()
127 IoUtils.closeQuietly(scope);
/frameworks/multidex/library/src/androidx/multidex/
DMultiDexExtractor.java107 closeQuietly(lockChannel); in MultiDexExtractor()
112 closeQuietly(lockRaf); in MultiDexExtractor()
412 closeQuietly(in); in extract()
420 private static void closeQuietly(Closeable closeable) { in closeQuietly() method in MultiDexExtractor
/frameworks/base/core/java/com/android/internal/os/
DZygoteConnection.java245 IoUtils.closeQuietly(serverPipeFd); in processOneCommand()
253 IoUtils.closeQuietly(childPipeFd); in processOneCommand()
259 IoUtils.closeQuietly(childPipeFd); in processOneCommand()
260 IoUtils.closeQuietly(serverPipeFd); in processOneCommand()
860 IoUtils.closeQuietly(fd); in handleChildProc()
908 IoUtils.closeQuietly(fd); in handleParentProc()
/frameworks/base/services/backup/java/com/android/server/backup/
DKeyValueAdbBackupEngine.java234 IoUtils.closeQuietly(mPipe); in run()
278 IoUtils.closeQuietly(pipes[0]); in writeBackupData()
279 IoUtils.closeQuietly(pipes[1]); in writeBackupData()
/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