Home
last modified time | relevance | path

Searched refs:openInputStream (Results 1 – 25 of 39) sorted by relevance

12

/frameworks/base/core/tests/coretests/src/android/content/
DMemoryFileProviderTest.java41 InputStream in = resolver.openInputStream(uri); in testRead()
58 InputStream in = resolver.openInputStream(uri); in testClose()
74 InputStream in = resolver.openInputStream(uri); in testFile()
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/
DRGBZ.java54 preview = BitmapFactory.decodeStream(contentResolver.openInputStream(uri)); in RGBZ()
74 preview = BitmapFactory.decodeStream(contentResolver.openInputStream(uriImage)); in RGBZ()
96 Bitmap image = BitmapFactory.decodeStream(contentResolver.openInputStream(uriImage)); in createFromBitmapDepthmap()
107 Bitmap image = BitmapFactory.decodeStream(contentResolver.openInputStream(uriImage)); in createFromPFMDepthmap()
DDepthImage.java60 InputStream input = context.getContentResolver().openInputStream(image); in createFromXMPMetadata()
74 …Bitmap bitmap = BitmapFactory.decodeStream(context.getContentResolver().openInputStream(uriDepthma… in createFromDepthmap()
124 … PortableFloatMap pfm = new PortableFloatMap(context.getContentResolver().openInputStream(uriPFM)); in createFromPFM()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/users/
DAvatarPhotoController.java169 try (InputStream in = cr.openInputStream(pictureUri); in copyAndCropPhoto()
237 .openInputStream(data); in onPhotoNotCropped()
276 mContextInjector.getContentResolver().openInputStream(selectedImage); in getRotation()
DEditUserPhotoController.java135 .openInputStream(data); in onPhotoCropped()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DImageLoader.java71 try (InputStream in = mResolver.openInputStream(uri)) { in load()
/frameworks/opt/chips/src/com/android/ex/chips/
DDefaultPhotoManager.java108 InputStream is = mContentResolver.openInputStream( in fetchPhotoAsync()
/frameworks/av/media/libaudiohal/include/media/audiohal/
DDeviceHalInterface.h84 virtual status_t openInputStream(
/frameworks/av/media/libaudiohal/impl/
DDeviceHalHidl.h78 virtual status_t openInputStream(
DDeviceHalHidl.cpp273 status_t DeviceHalHidl::openInputStream( in openInputStream() function in android::DeviceHalHidl
332 Return<void> ret = mDevice->openInputStream( in openInputStream()
/frameworks/base/core/java/android/text/style/
DImageSpan.java235 InputStream is = mContext.getContentResolver().openInputStream( in getDrawable()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DInstallStaging.java174 try (InputStream in = getContentResolver().openInputStream(packageUri)) { in doInBackground()
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/
DImageUtils.java239 return mResolver.openInputStream(mUri); in createInputStream()
/frameworks/base/services/core/java/com/android/server/updates/
DConfigUpdateInstallReceiver.java140 return new BufferedInputStream(c.getContentResolver().openInputStream(content)); in getAltContent()
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/users/
DAvatarPhotoControllerTest.java251 InputStream imageStream = mContext.getContentResolver().openInputStream(mCropPhotoUri); in internalCropUsedIfNoSystemCropperFound()
/frameworks/base/media/java/android/media/
DRingtoneManager.java923 try (final InputStream input = mContext.getContentResolver().openInputStream(fileUri); in addCustomExternalRingtone()
954 return resolver.openInputStream(uri); in openRingtone()
/frameworks/base/packages/SettingsLib/IllustrationPreference/src/com/android/settingslib/widget/
DIllustrationPreference.java417 return context.getContentResolver().openInputStream(uri);
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/
DImageExporterTest.java136 try (InputStream in = contentResolver.openInputStream(result.uri)) { in testImageExport()
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/
DViewfinderProcessor.java251 Bitmap b = BitmapFactory.decodeStream(cr.openInputStream(uri)); in reProcessImage()
/frameworks/rs/tests/java_api/HealingBrush/src/rs/example/android/com/healingbrush/
DMainActivity.java236 input = getContentResolver().openInputStream(data); in doInBackground()
/frameworks/rs/tests/java_api/SSHealingBrush/src/rs/example/android/com/healingbrush/
DMainActivity.java236 input = getContentResolver().openInputStream(data); in doInBackground()
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/
DWallpaperCropActivity.java286 is = context.getContentResolver().openInputStream(uri); in getRotationFromExifHelper()
534 mContext.getContentResolver().openInputStream(mInUri));
/frameworks/base/packages/Shell/tests/src/com/android/shell/
DBugreportReceiverTest.java789 try (InputStream is = mContext.getContentResolver().openInputStream(uri)) { in assertContent()
798 try (ZipInputStream zis = new ZipInputStream(mContext.getContentResolver().openInputStream( in assertZipContent()
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/
DBitmapRegionTileSource.java267 InputStream is = mContext.getContentResolver().openInputStream(mUri); in regenerateInputStream()
/frameworks/ex/common/java/com/android/ex/editstyledtext/
DEditStyledText.java1936 mEST.getContext().getContentResolver().openInputStream(uri); in SetHtml()
1941 is = mEST.getContext().getContentResolver().openInputStream(uri); in SetHtml()
2631 mContext.getContentResolver().openInputStream(mContentUri); in getDrawable()
2636 is = mContext.getContentResolver().openInputStream(mContentUri); in getDrawable()

12