/aosp12/frameworks/base/core/tests/coretests/src/android/content/ |
H A D | MemoryFileProviderTest.java | 41 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 D | RGBZ.java | 54 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 D | DepthImage.java | 60 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 D | StreamableAsset.java | 107 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 D | ContentUriAsset.java | 196 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 D | FileAsset.java | 41 protected InputStream openInputStream() { in openInputStream() method in FileAsset
|
/aosp12/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
H A D | ContactsAsyncHelperTest.java | 81 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 D | BluetoothPbapObexTransport.java | 45 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 D | FileTunerHal.java | 116 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 D | BluetoothObexTransport.java | 60 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 D | OppSendFileInfoTest.java | 64 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 D | PrimaryDevice.cpp | 81 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 D | XmpPresets.java | 65 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 D | ImageLoader.java | 144 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 D | ContactsAsyncHelper.java | 72 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 D | BluetoothOppSendFileInfo.java | 222 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 D | ContactPhotoUtils.java | 96 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 D | ObexTransport.java | 68 InputStream openInputStream() throws IOException; in openInputStream() method
|
H A D | Operation.java | 170 InputStream openInputStream() throws IOException; in openInputStream() method
|
/aosp12/frameworks/base/packages/SettingsLib/src/com/android/settingslib/users/ |
H A D | EditUserPhotoController.java | 231 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 D | ReadWriteDraftMessageActionTest.java | 378 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 D | ImageUtils.java | 257 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 D | BugReportInfoActivity.java | 287 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 D | UriImageRequest.java | 35 return mContext.getContentResolver().openInputStream(mDescriptor.uri); in getInputStreamForResource()
|
/aosp12/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/testcommon/ |
H A D | TestUtils.java | 37 try (final InputStream in = cr.openInputStream(uri)) { in stringFromUri()
|