Home
last modified time | relevance | path

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

/development/samples/VoicemailProviderDemo/src/com/example/android/voicemail/common/utils/
DCloseUtils.java34 public static void closeQuietly(Closeable closeable) { in closeQuietly() method in CloseUtils
45 public static void closeQuietly(Cursor cursor) { in closeQuietly() method in CloseUtils
/development/samples/ApiDemos/src/com/example/android/apis/content/
DDocumentsSample.java305 closeQuietly(is); in onActivityResult()
321 closeQuietly(os); in onActivityResult()
341 closeQuietly(c); in onActivityResult()
362 closeQuietly(os); in onActivityResult()
382 closeQuietly(is); in onActivityResult()
437 public static void closeQuietly(AutoCloseable closeable) { in closeQuietly() method in DocumentsSample
/development/samples/VoicemailProviderDemo/src/com/example/android/voicemail/common/core/
DVoicemailProviderHelpers.java146 CloseUtils.closeQuietly(outputStream); in setVoicemailContent()
174 CloseUtils.closeQuietly(cursor); in findVoicemailBySourceData()
197 CloseUtils.closeQuietly(cursor); in findVoicemailByUri()
251 CloseUtils.closeQuietly(cursor); in getAllVoicemails()
/development/samples/browseable/DirectorySelection/src/com.example.android.directoryselection/
DDirectorySelectionFragment.java168 closeQuietly(docCursor); in updateDirectoryEntries()
186 closeQuietly(childCursor); in updateDirectoryEntries()
218 public void closeQuietly(AutoCloseable closeable) { in closeQuietly() method in DirectorySelectionFragment
/development/samples/browseable/AgendaData/Application/src/com.example.android.wearable.agendadata/
DCalendarQueryService.java215 closeQuietly(inputStream); in getProfilePicture()
227 closeQuietly(stream); in toByteArray()
231 private static void closeQuietly(Closeable closeable) { in closeQuietly() method in CalendarQueryService
/development/samples/Vault/src/com/example/android/vault/
DUtils.java31 public static void closeQuietly(Closeable closable) { in closeQuietly() method in Utils
DVaultProvider.java21 import static com.example.android.vault.Utils.closeQuietly;
535 closeQuietly(writeEnd); in startRead()
566 closeQuietly(readEnd); in startWrite()
/development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/util/
DDiskLruCache.java239 public static void closeQuietly(Closeable closeable) { in closeQuietly() method in DiskLruCache
364 closeQuietly(in); in readJournal()
766 closeQuietly(in); in close()
832 closeQuietly(writer); in set()
/development/samples/VoicemailProviderDemo/src/com/example/android/voicemail/
DAddVoicemailActivity.java213 CloseUtils.closeQuietly(inputAudioStream); in insertVoicemail()
/development/apps/Development/src/com/android/development/
DConnectivity.java763 IoUtils.closeQuietly(sock); in doSocketRequest()
812 if (in != null) IoUtils.closeQuietly(in); in onHttpRequest()