Home
last modified time | relevance | path

Searched refs:closeQuietly (Results 1 – 25 of 131) 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/
DRecoverySystemService.java158 IoUtils.closeQuietly(dis); in uncrypt()
159 IoUtils.closeQuietly(dos); in uncrypt()
160 IoUtils.closeQuietly(socket); in uncrypt()
312 IoUtils.closeQuietly(dis); in setupOrClearBcb()
313 IoUtils.closeQuietly(dos); in setupOrClearBcb()
314 IoUtils.closeQuietly(socket); in setupOrClearBcb()
DPersistentDataBlockService.java250 IoUtils.closeQuietly(outputStream); in computeAndWriteDigestLocked()
273 IoUtils.closeQuietly(inputStream); in computeDigestLocked()
294 IoUtils.closeQuietly(inputStream); in computeDigestLocked()
319 IoUtils.closeQuietly(outputStream); in formatPartitionLocked()
350 IoUtils.closeQuietly(outputStream); in doSetOemUnlockEnabledLocked()
372 IoUtils.closeQuietly(inputStream); in doGetOemUnlockEnabled()
406 IoUtils.closeQuietly(outputStream);
419 IoUtils.closeQuietly(outputStream);
552 IoUtils.closeQuietly(inputStream);
/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/support/compat/java/android/support/v4/graphics/
DTypefaceCompatUtil.java155 closeQuietly(os); in copyToFile()
168 closeQuietly(is); in copyToFile()
172 public static void closeQuietly(Closeable c) { in closeQuietly() method in TypefaceCompatUtil
/frameworks/support/core-utils/kitkat/android/support/v4/provider/
DDocumentsContractApi19.java159 closeQuietly(c); in exists()
179 closeQuietly(c); in queryForString()
204 closeQuietly(c); in queryForLong()
208 private static void closeQuietly(AutoCloseable closeable) { in closeQuietly() method in DocumentsContractApi19
/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/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/base/core/java/android/content/pm/split/
DDefaultSplitAssetLoader.java83 IoUtils.closeQuietly(assets); in getBaseAssetManager()
97 IoUtils.closeQuietly(mCachedAssetManager); in close()
DSplitAssetDependencyLoader.java87 IoUtils.closeQuietly(assets); in createAssetManagerWithPaths()
126 IoUtils.closeQuietly(assets); 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/services/usb/java/com/android/server/usb/
DUsbMidiDevice.java150 IoUtils.closeQuietly(midiDevice); in create()
313 IoUtils.closeQuietly(mServer); in close()
325 IoUtils.closeQuietly(mInputStreams[i]); in closeLocked()
330 IoUtils.closeQuietly(mOutputStreams[i]); in closeLocked()
/frameworks/support/core-utils/api21/android/support/v4/provider/
DDocumentsContractApi21.java71 closeQuietly(c); in listFiles()
86 private static void closeQuietly(AutoCloseable closeable) { in closeQuietly() method in DocumentsContractApi21
/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/core/java/android/print/
DPrintFileDocumentAdapter.java137 IoUtils.closeQuietly(in); in doInBackground()
138 IoUtils.closeQuietly(out); in doInBackground()
/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/com/android/internal/os/
DZygoteConnection.java256 IoUtils.closeQuietly(serverPipeFd); in runOnce()
265 IoUtils.closeQuietly(childPipeFd); in runOnce()
270 IoUtils.closeQuietly(childPipeFd); in runOnce()
271 IoUtils.closeQuietly(serverPipeFd); in runOnce()
803 IoUtils.closeQuietly(fd); in handleChildProc()
849 IoUtils.closeQuietly(fd); in handleParentProc()
/frameworks/base/services/core/java/com/android/server/storage/
DAppFuseBridge.java77 IoUtils.closeQuietly(mountScope); in addBridge()
127 IoUtils.closeQuietly(scope);
/frameworks/multidex/library/src/android/support/multidex/
DMultiDexExtractor.java142 closeQuietly(lockChannel); in load()
144 closeQuietly(lockRaf); in load()
403 closeQuietly(in); in extract()
411 private static void closeQuietly(Closeable closeable) { in closeQuietly() method in MultiDexExtractor
/frameworks/base/services/backup/java/com/android/server/backup/
DKeyValueAdbBackupEngine.java225 IoUtils.closeQuietly(mPipe); in run()
269 IoUtils.closeQuietly(pipes[0]); in writeBackupData()
270 IoUtils.closeQuietly(pipes[1]); in writeBackupData()
/frameworks/base/tests/net/java/com/android/internal/net/
DNetworkStatsFactoryTest.java204 IoUtils.closeQuietly(in); in stageFile()
205 IoUtils.closeQuietly(out); in stageFile()
216 IoUtils.closeQuietly(out); in stageLong()

123456