Home
last modified time | relevance | path

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

1234567

/aosp12/frameworks/base/core/tests/coretests/src/android/content/
H A 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()
/aosp12/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/
H A 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()
H A 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()
/aosp12/packages/apps/WallpaperPicker2/src/com/android/wallpaper/asset/
H A DStreamableAsset.java107 return openInputStream(); in fetchInputStream()
121 protected abstract InputStream openInputStream(); in openInputStream() method in StreamableAsset
166 InputStream inputStream = openInputStream(); in calculateRawDimensions()
196 inputStream = openInputStream(); in openBitmapRegionDecoder()
275 InputStream inputStream = openInputStream(); in doInBackground()
H A DContentUriAsset.java196 try (InputStream inputStream = openInputStream()) { in ensureExifInterface()
208 protected InputStream openInputStream() { in openInputStream() method in ContentUriAsset
210 return mContext.getContentResolver().openInputStream(mUri); in openInputStream()
H A DFileAsset.java41 protected InputStream openInputStream() { in openInputStream() method in FileAsset
/aosp12/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
H A DContactsAsyncHelperTest.java81 public InputStream openInputStream(Context context, Uri uri)
83 return context.getContentResolver().openInputStream(uri);
90 public InputStream openInputStream(Context context, Uri uri)
178 is = mContext.getContentResolver().openInputStream(uri); in getExpectedPhoto()
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/
H A DBluetoothPbapObexTransport.java45 return new DataInputStream(openInputStream()); in openDataInputStream()
54 public InputStream openInputStream() throws IOException { in openInputStream() method in BluetoothPbapObexTransport
/aosp12/packages/apps/TV/tuner/tests/unittests/javatests/com/android/tv/tuner/
H A DFileTunerHal.java116 openInputStream(); in nativeTune()
181 openInputStream(); in nativeWriteInBuffer()
248 private void openInputStream() { in openInputStream() method in FileTunerHal
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/
H A DBluetoothObexTransport.java60 return new DataInputStream(openInputStream()); in openDataInputStream()
69 public InputStream openInputStream() throws IOException { in openInputStream() method in BluetoothObexTransport
/aosp12/packages/apps/Bluetooth/tests/robotests/src/com/android/bluetooth/opp/
H A DOppSendFileInfoTest.java64 doReturn(mFileInputStream).when(mContentResolver).openInputStream(uri); in testFileOpen()
97 doReturn(mFileInputStream).when(mContentResolver).openInputStream(uri); in testBigFileOpen()
/aosp12/hardware/interfaces/audio/core/all-versions/default/
H A DPrimaryDevice.cpp81 Return<void> PrimaryDevice::openInputStream(int32_t ioHandle, const DeviceAddress& device, in openInputStream() function in android::hardware::audio::CPP_VERSION::implementation::PrimaryDevice
84 return mDevice->openInputStream(ioHandle, device, config, flags, source, _hidl_cb); in openInputStream()
99 Return<void> PrimaryDevice::openInputStream(int32_t ioHandle, const DeviceAddress& device, in openInputStream() function in android::hardware::audio::CPP_VERSION::implementation::PrimaryDevice
108 return mDevice->openInputStream(ioHandle, device, config, flags, sinkMetadata, _hidl_cb); in openInputStream()
/aosp12/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/tools/
H A DXmpPresets.java65 is = context.getContentResolver().openInputStream(srcUri); in writeFilterXMP()
98 is = context.getContentResolver().openInputStream(uriToEdit); in extractXMPData()
/aosp12/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/cache/
H A DImageLoader.java144 is = context.getContentResolver().openInputStream(uri); in getMetadataOrientation()
264 is = context.getContentResolver().openInputStream(uri); in loadRegionBitmap()
329 is = context.getContentResolver().openInputStream(uri); in loadBitmap()
513 InputStream is = context.getContentResolver().openInputStream( in getXmpObject()
529 is = context.getContentResolver().openInputStream(PrimaryImage.getImage().getUri()); in queryLightCycle360()
/aosp12/packages/services/Telecomm/src/com/android/server/telecom/
H A DContactsAsyncHelper.java72 InputStream openInputStream(Context context, Uri uri) throws FileNotFoundException; in openInputStream() method
118 inputStream = mContentResolverAdapter.openInputStream( in handleMessage()
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
H A DBluetoothOppSendFileInfo.java222 is = (FileInputStream) contentResolver.openInputStream(uri); in generateFileInfo()
229 is = (FileInputStream) contentResolver.openInputStream(uri); in generateFileInfo()
/aosp12/packages/apps/Contacts/src/com/android/contacts/util/
H A DContactPhotoUtils.java96 final InputStream imageStream = context.getContentResolver().openInputStream(uri); in getBitmapFromUri()
155 InputStream inputStream = context.getContentResolver().openInputStream(inputUri)) { in savePhotoFromUriToUri()
/aosp12/frameworks/base/obex/javax/obex/
H A DObexTransport.java68 InputStream openInputStream() throws IOException; in openInputStream() method
H A DOperation.java170 InputStream openInputStream() throws IOException; in openInputStream() method
/aosp12/frameworks/base/packages/SettingsLib/src/com/android/settingslib/users/
H A DEditUserPhotoController.java231 try (InputStream in = cr.openInputStream(pictureUri); in copyAndCropPhoto()
305 .openInputStream(data); in onPhotoCropped()
341 .openInputStream(data); in onPhotoNotCropped()
381 InputStream imageStream = context.getContentResolver().openInputStream(selectedImage); in getRotation()
/aosp12/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/action/
H A DReadWriteDraftMessageActionTest.java378 inputStream = mContext.getContentResolver().openInputStream(mOutputUri); in testBugleDatabaseDraftOperations()
424 inputStream = mContext.getContentResolver().openInputStream(mOutputUri); in testBugleDatabaseDraftOperations()
430 inputStream = mContext.getContentResolver().openInputStream(mAnotherUri); in testBugleDatabaseDraftOperations()
447 inputStream = mContext.getContentResolver().openInputStream(mAnotherUri); in testBugleDatabaseDraftOperations()
/aosp12/packages/apps/Messaging/src/com/android/messaging/util/
H A DImageUtils.java257 return getOrientation(context.getContentResolver().openInputStream(uri)); in getOrientation()
305 InputStream inputStream = contentResolver.openInputStream(contentUri); in isGif()
573 inputStream = cr.openInputStream(mUri); in ensureImageSizeSet()
685 try (final InputStream inputStream = cr.openInputStream(mUri)) { in recodeImage()
891 final InputStream inputStream = cr.openInputStream(imageUri); in decodeImageBounds()
/aosp12/packages/services/Car/tests/BugReportApp/src/com/android/car/bugreport/
H A DBugReportInfoActivity.java287 try (InputStream bugReportInput = mResolver.openInputStream(sourceBugReport); in mergeFilesAndCopyToUsb()
301 try (InputStream audioInput = mResolver.openInputStream(sourceAudio)) { in mergeFilesAndCopyToUsb()
322 try (InputStream input = mResolver.openInputStream(sourceUri); in copyFileToUsb()
/aosp12/packages/apps/Messaging/src/com/android/messaging/datamodel/media/
H A DUriImageRequest.java35 return mContext.getContentResolver().openInputStream(mDescriptor.uri); in getInputStreamForResource()
/aosp12/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/testcommon/
H A DTestUtils.java37 try (final InputStream in = cr.openInputStream(uri)) { in stringFromUri()

1234567