Home
last modified time | relevance | path

Searched refs:inputStream (Results 1 – 7 of 7) sorted by relevance

/developers/build/prebuilts/androidtv/sample-inputs/app/src/main/java/com/example/android/sampletvinput/rich/
DRichFeedUtil.java65 InputStream inputStream = null; in getRichChannels() local
68 inputStream = context.getContentResolver().openInputStream(catalogUri); in getRichChannels()
71 inputStream = urlConnection.getInputStream(); in getRichChannels()
76 parser.setInput(inputStream, null); in getRichChannels()
84 if (inputStream != null) { in getRichChannels()
86 inputStream.close(); in getRichChannels()
/developers/samples/android/ui/graphics/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/util/
DImageCache.java326 InputStream inputStream = null; in getBitmapFromDiskCache() local
333 inputStream = snapshot.getInputStream(DISK_CACHE_INDEX); in getBitmapFromDiskCache()
334 if (inputStream != null) { in getBitmapFromDiskCache()
335 FileDescriptor fd = ((FileInputStream) inputStream).getFD(); in getBitmapFromDiskCache()
347 if (inputStream != null) { in getBitmapFromDiskCache()
348 inputStream.close(); in getBitmapFromDiskCache()
/developers/build/prebuilts/gradle/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/util/
DImageCache.java326 InputStream inputStream = null; in getBitmapFromDiskCache() local
333 inputStream = snapshot.getInputStream(DISK_CACHE_INDEX); in getBitmapFromDiskCache()
334 if (inputStream != null) { in getBitmapFromDiskCache()
335 FileDescriptor fd = ((FileInputStream) inputStream).getFD(); in getBitmapFromDiskCache()
347 if (inputStream != null) { in getBitmapFromDiskCache()
348 inputStream.close(); in getBitmapFromDiskCache()
/developers/build/prebuilts/gradle/AgendaData/Application/src/main/java/com/example/android/wearable/agendadata/
DCalendarQueryService.java203 InputStream inputStream = Contacts.openContactPhotoInputStream(contentResolver, in getProfilePicture() local
206 if (null != inputStream) { in getProfilePicture()
208 Bitmap bitmap = BitmapFactory.decodeStream(inputStream); in getProfilePicture()
215 closeQuietly(inputStream); in getProfilePicture()
/developers/samples/android/deprecated/wearable/wear/AgendaData/Application/src/main/java/com/example/android/wearable/agendadata/
DCalendarQueryService.java203 InputStream inputStream = Contacts.openContactPhotoInputStream(contentResolver, in getProfilePicture() local
206 if (null != inputStream) { in getProfilePicture()
208 Bitmap bitmap = BitmapFactory.decodeStream(inputStream); in getProfilePicture()
215 closeQuietly(inputStream); in getProfilePicture()
/developers/samples/android/connectivity/wifidirect/DirectP2P/Application/src/main/java/com/example/android/wifidirectp2p/
DDeviceDetailFragment.java279 public static boolean copyFile(InputStream inputStream, OutputStream out) { in copyFile() argument
283 while ((len = inputStream.read(buf)) != -1) { in copyFile()
288 inputStream.close(); in copyFile()
/developers/build/prebuilts/androidtv/sample-inputs/app/libs/
Dexoplayer_dev-hls_20150123.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...