Home
last modified time | relevance | path

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

123

/packages/apps/UnifiedEmail/src/org/apache/commons/io/
DFileUtils.java224 IOUtils.closeQuietly(out); in touch()
452 IOUtils.closeQuietly(input1); in contentEquals()
453 IOUtils.closeQuietly(input2); in contentEquals()
678 IOUtils.closeQuietly(output); in doCopyFile()
681 IOUtils.closeQuietly(input); in doCopyFile()
962 IOUtils.closeQuietly(output); in copyURLToFile()
965 IOUtils.closeQuietly(input); in copyURLToFile()
1109 IOUtils.closeQuietly(in); in readFileToString()
1142 IOUtils.closeQuietly(in); in readFileToByteArray()
1163 IOUtils.closeQuietly(in); in readLines()
[all …]
DFileSystemUtils.java437 IOUtils.closeQuietly(in); in performCommand()
438 IOUtils.closeQuietly(out); in performCommand()
439 IOUtils.closeQuietly(err); in performCommand()
440 IOUtils.closeQuietly(inr); in performCommand()
DIOUtils.java139 public static void closeQuietly(Reader input) { in closeQuietly() method in IOUtils
157 public static void closeQuietly(Writer output) { in closeQuietly() method in IOUtils
175 public static void closeQuietly(InputStream input) { in closeQuietly() method in IOUtils
193 public static void closeQuietly(OutputStream output) { in closeQuietly() method in IOUtils
DLineIterator.java156 IOUtils.closeQuietly(bufferedReader); in close()
175 public static void closeQuietly(LineIterator iterator) { in closeQuietly() method in LineIterator
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaProvider.java707 IoUtils.closeQuietly(makeThumbInternal(d)); in onCreate()
1003 IoUtils.closeQuietly(c1); in sanityCheck()
1004 IoUtils.closeQuietly(c2); in sanityCheck()
1097 IoUtils.closeQuietly(c); in waitForThumbnailReady()
1202 IoUtils.closeQuietly(c); in canonicalize()
1237 IoUtils.closeQuietly(c); in uncanonicalize()
1253 IoUtils.closeQuietly(c); in uncanonicalize()
1754 IoUtils.closeQuietly(c); in getType()
2022 IoUtils.closeQuietly(c); in getParent()
2303 IoUtils.closeQuietly(c); in getObjectReferences()
[all …]
DMediaDocumentsProvider.java314 IoUtils.closeQuietly(cursor); in queryDocument()
405 IoUtils.closeQuietly(cursor); in queryChildDocuments()
440 IoUtils.closeQuietly(cursor); in queryRecentDocuments()
484 IoUtils.closeQuietly(cursor); in querySearchDocuments()
542 IoUtils.closeQuietly(cursor); in isEmpty()
824 IoUtils.closeQuietly(cursor); in getImageForBucketCleared()
851 IoUtils.closeQuietly(cursor); in openImageThumbnailCleared()
912 IoUtils.closeQuietly(cursor); in getVideoForBucketCleared()
939 IoUtils.closeQuietly(cursor); in openVideoThumbnailCleared()
984 IoUtils.closeQuietly(cursor); in queryOrientationForImage()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DRecentsLoader.java250 IoUtils.closeQuietly(result); in deliverResult()
261 IoUtils.closeQuietly(oldResult); in deliverResult()
282 IoUtils.closeQuietly(result); in onCanceled()
294 IoUtils.closeQuietly(task); in onReset()
298 IoUtils.closeQuietly(mResult); in onReset()
386 IoUtils.closeQuietly(cursor); in close()
DDirectoryLoader.java180 IoUtils.closeQuietly(result); in deliverResult()
191 IoUtils.closeQuietly(oldResult); in deliverResult()
212 IoUtils.closeQuietly(result); in onCanceled()
222 IoUtils.closeQuietly(mResult); in onReset()
/packages/apps/UnifiedEmail/src/org/apache/commons/io/output/
DFileWriterWithEncoding.java242 IOUtils.closeQuietly(writer); in initWriter()
243 IOUtils.closeQuietly(stream); in initWriter()
249 IOUtils.closeQuietly(writer); in initWriter()
250 IOUtils.closeQuietly(stream); in initWriter()
DLockableFileWriter.java242 IOUtils.closeQuietly(writer); in initWriter()
243 IOUtils.closeQuietly(stream); in initWriter()
250 IOUtils.closeQuietly(writer); in initWriter()
251 IOUtils.closeQuietly(stream); in initWriter()
/packages/apps/DocumentsUI/src/com/android/documentsui/archives/
DWriteableArchive.java131 IoUtils.closeQuietly(descriptor); in createForParcelFileDescriptor()
273 IoUtils.closeQuietly(pipe[0]); in openDocument()
274 IoUtils.closeQuietly(pipe[1]); in openDocument()
314 IoUtils.closeQuietly(mOutputStream); in close()
DReadableArchive.java217 IoUtils.closeQuietly(descriptor); in createForParcelFileDescriptor()
218 IoUtils.closeQuietly(fd); in createForParcelFileDescriptor()
289 IoUtils.closeQuietly(inputStream); in openDocumentThumbnail()
DProxy.java88 IoUtils.closeQuietly(mInputStream); in onRelease()
92 IoUtils.closeQuietly(mInputStream); in recreateInputStream()
/packages/providers/ContactsProvider/test_common/src/com/android/providers/contacts/testutil/
DCommonDatabaseUtils.java48 closeQuietly(cursor); in singleRecordToArray()
62 closeQuietly(cursor); in multiRecordToArray()
73 public static void closeQuietly(Cursor cursor) { in closeQuietly() method in CommonDatabaseUtils
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadStorageProvider.java241 IoUtils.closeQuietly(cursor); in queryDocument()
291 IoUtils.closeQuietly(cursor); in queryChildDocuments()
323 IoUtils.closeQuietly(cursor); in queryRecentDocuments()
358 IoUtils.closeQuietly(cursor); in querySearchDocuments()
404 IoUtils.closeQuietly(cursor); in getFileForDocId()
DDownloadIdleService.java133 IoUtils.closeQuietly(cursor); in cleanStale()
183 IoUtils.closeQuietly(cursor); in cleanOrphans()
DDownloadThread.java604 IoUtils.closeQuietly(in); in transferData()
611 IoUtils.closeQuietly(out); in transferData()
677 IoUtils.closeQuietly(target); in finalizeDestination()
/packages/apps/TV/src/com/android/tv/tuner/source/
DTunerTsStreamerManager.java278 AutoCloseableUtils.closeQuietly(hal); in releaseTunerHal()
285 AutoCloseableUtils.closeQuietly(cachedHal); in releaseTunerHal()
296 AutoCloseableUtils.closeQuietly(hal); in releaseCachedHal()
/packages/apps/Contacts/src/com/android/contacts/editor/
DGroupMembershipView.java342 if (UiClosables.closeQuietly(mPopup)) { in onClick()
398 UiClosables.closeQuietly(mPopup); in onDetachedFromWindow()
478 UiClosables.closeQuietly(mPopup); in createNewGroup()
/packages/apps/DocumentsUI/src/com/android/documentsui/services/
DCopyJob.java524 IoUtils.closeQuietly(cursor); in copyDirectoryHelper()
678 IoUtils.closeQuietly(in); in copyFileHelper()
679 IoUtils.closeQuietly(out); in copyFileHelper()
748 IoUtils.closeQuietly(cursor); in calculateFileSizesRecursively()
/packages/apps/Dialer/java/com/android/incallui/calllocation/impl/
DHttpFetcher.java19 import static com.android.dialer.util.DialerUtils.closeQuietly;
106 closeQuietly(is); in sendRequestAsByteArray()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/util/
DCloseUtils.java28 public static void closeQuietly(Cursor cursor) { in closeQuietly() method in CloseUtils
/packages/apps/Contacts/src/com/android/contacts/util/
DUiClosables.java32 public static boolean closeQuietly(ListPopupWindow popup) { in closeQuietly() method in UiClosables
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/utils/
DIoUtils.java26 public static void closeQuietly(AutoCloseable closeable) { in closeQuietly() method in IoUtils
/packages/apps/TV/common/src/com/android/tv/common/
DAutoCloseableUtils.java29 public static void closeQuietly(AutoCloseable closeable) { in closeQuietly() method in AutoCloseableUtils

123