Home
last modified time | relevance | path

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

1234

/packages/apps/DocumentsUI/src/com/android/documentsui/
DMultiRootDocumentsLoader.java303 FileUtils.closeQuietly(result); in deliverResult()
314 FileUtils.closeQuietly(oldResult); in deliverResult()
336 FileUtils.closeQuietly(result); in onCanceled()
345 mExecutors.lookup(task.authority).execute(() -> FileUtils.closeQuietly(task)); in onReset()
348 FileUtils.closeQuietly(mResult); in onReset()
465 FileUtils.closeQuietly(cursor); in close()
DDirectoryLoader.java203 FileUtils.closeQuietly(client); in loadInBackground()
265 FileUtils.closeQuietly(result); in deliverResult()
276 FileUtils.closeQuietly(oldResult); in deliverResult()
298 FileUtils.closeQuietly(result); in onCanceled()
312 FileUtils.closeQuietly(mResult); in onReset()
DDirectoryResult.java47 FileUtils.closeQuietly(mCursor); in close()
51 FileUtils.closeQuietly(client); in close()
/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/apps/DocumentsUI/src/com/android/documentsui/archives/
DWriteableArchive.java128 FileUtils.closeQuietly(descriptor); in createForParcelFileDescriptor()
274 FileUtils.closeQuietly(pipe[0]); in openDocument()
275 FileUtils.closeQuietly(pipe[1]); in openDocument()
315 FileUtils.closeQuietly(mOutputStream); in close()
DProxy.java95 FileUtils.closeQuietly(mInputStream); in onRelease()
100 FileUtils.closeQuietly(mInputStream); in recreateInputStream()
DReadableArchive.java257 FileUtils.closeQuietly(descriptor); in createForParcelFileDescriptor()
336 FileUtils.closeQuietly(inputStream); in openDocumentThumbnail()
360 IOUtils.closeQuietly(mParcelFileDescriptor); in close()
DArchiveHandle.java320 FileUtils.closeQuietly(zipFileChannel); in create()
330 FileUtils.closeQuietly(sevenZFileChannel); in create()
/packages/modules/Connectivity/framework/src/android/net/
DNetwork.java216 if (failed) IoUtils.closeQuietly(socket); in connectToHost()
241 if (failed) IoUtils.closeQuietly(socket); in createSocket()
254 if (failed) IoUtils.closeQuietly(socket); in createSocket()
272 if (failed) IoUtils.closeQuietly(socket); in createSocket()
/packages/providers/MediaProvider/src/com/android/providers/media/util/
DRedactingFileDescriptor.java68 FileUtils.closeQuietly(mInner); in RedactingFileDescriptor()
69 FileUtils.closeQuietly(mOuter); in RedactingFileDescriptor()
221 FileUtils.closeQuietly(mInner);
/packages/modules/Connectivity/tests/unit/java/com/android/internal/net/
DNetworkUtilsInternalTest.java51 IoUtils.closeQuietly(Os.socket(domain, type, 0)); in expectSocketSuccess()
59 IoUtils.closeQuietly(Os.socket(domain, type, 0)); in expectSocketPemissionError()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadStorageProvider.java304 IoUtils.closeQuietly(cursor); in queryDocument()
364 IoUtils.closeQuietly(cursor); in queryChildDocuments()
430 IoUtils.closeQuietly(cursor); in queryRecentDocuments()
463 IoUtils.closeQuietly(cursor); in querySearchDocuments()
575 IoUtils.closeQuietly(cursor); in getFileForDocId()
863 IoUtils.closeQuietly(c); in queryForSingleItem()
866 IoUtils.closeQuietly(c); in queryForSingleItem()
873 IoUtils.closeQuietly(c); in queryForSingleItem()
DDownloadIdleService.java133 IoUtils.closeQuietly(cursor); in cleanStale()
183 IoUtils.closeQuietly(cursor); in cleanOrphans()
/packages/apps/TV/tuner/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/modules/Connectivity/tests/cts/hostside/app/src/com/android/cts/net/hostside/
DVpnTest.java336 private static void closeQuietly(Closeable c) { in closeQuietly() method in VpnTest
430 closeQuietly(listen); in checkTcpReflection()
431 closeQuietly(client); in checkTcpReflection()
436 closeQuietly(listen); in checkTcpReflection()
480 closeQuietly(listen); in checkTcpReflection()
481 closeQuietly(client); in checkTcpReflection()
482 closeQuietly(server); in checkTcpReflection()
/packages/services/Car/car-lib/src/android/car/
DCarBugreportManager.java221 IoUtils.closeQuietly(output); in requestBugreport()
222 IoUtils.closeQuietly(extraOutput); in requestBugreport()
/packages/apps/Contacts/src/com/android/contacts/editor/
DGroupMembershipView.java342 if (UiClosables.closeQuietly(mPopup)) { in onClick()
399 UiClosables.closeQuietly(mPopup); in onDetachedFromWindow()
479 UiClosables.closeQuietly(mPopup); in createNewGroup()
/packages/modules/Connectivity/tests/unit/java/com/android/server/net/
DNetworkStatsFactoryTest.java506 IoUtils.closeQuietly(in); in stageFile()
507 IoUtils.closeQuietly(out); in stageFile()
518 IoUtils.closeQuietly(out); in stageLong()
/packages/modules/Connectivity/framework/src/android/net/util/
DDnsUtils.java181 IoUtils.closeQuietly(socket); in findSrcAddress()
373 IoUtils.closeQuietly(socket); in checkConnectivity()
/packages/apps/Contacts/src/com/android/contacts/util/
DUiClosables.java32 public static boolean closeQuietly(ListPopupWindow popup) { in closeQuietly() method in UiClosables
/packages/providers/ContactsProvider/src/com/android/providers/contacts/util/
DCloseUtils.java28 public static void closeQuietly(Cursor cursor) { in closeQuietly() method in CloseUtils
/packages/modules/Permission/service/java/com/android/permission/persistence/
DIoUtils.java33 public static void closeQuietly(@NonNull AutoCloseable closeable) { in closeQuietly() method in IoUtils
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/utils/
DIoUtils.java26 public static void closeQuietly(AutoCloseable closeable) { in closeQuietly() method in IoUtils
/packages/apps/TV/common/src/com/android/tv/common/util/
DAutoCloseableUtils.java27 public static void closeQuietly(AutoCloseable closeable) { in closeQuietly() method in AutoCloseableUtils
/packages/apps/DocumentsUI/src/com/android/documentsui/services/
DCopyJob.java524 FileUtils.closeQuietly(cursor); in copyDirectoryHelper()
689 FileUtils.closeQuietly(in); in copyFileHelper()
690 FileUtils.closeQuietly(out); in copyFileHelper()
773 FileUtils.closeQuietly(cursor); in calculateFileSizesRecursively()

1234