Home
last modified time | relevance | path

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

/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/
DDepthImage.java60 InputStream input = context.getContentResolver().openInputStream(image); in createFromXMPMetadata()
74 …Bitmap bitmap = BitmapFactory.decodeStream(context.getContentResolver().openInputStream(uriDepthma… in createFromDepthmap()
DRGBZ.java55 preview = BitmapFactory.decodeStream(contentResolver.openInputStream(uri)); in RGBZ()
74 preview = BitmapFactory.decodeStream(contentResolver.openInputStream(uriImage)); in RGBZ()
/cts/tests/mediaprovider/src/android/provider/cts/media/
DMediaStore_Audio_AlbumsTest.java201 assertNotNull(BitmapFactory.decodeStream(mContentResolver.openInputStream(byMedia))); in testAlbumArt()
202 assertNotNull(BitmapFactory.decodeStream(mContentResolver.openInputStream(byAlbum))); in testAlbumArt()
219 BitmapFactory.decodeStream(mContentResolver.openInputStream(byMedia)); in testAlbumArt()
224 BitmapFactory.decodeStream(mContentResolver.openInputStream(byAlbum)); in testAlbumArt()
DMediaStorePendingTest.java156 try (InputStream in = mResolver.openInputStream(publishUri)) { in verifySuccessfulImageInsertion()
219 hash(mResolver.openInputStream(publishUri1))); in testDuplicates()
221 hash(mResolver.openInputStream(publishUri2))); in testDuplicates()
DMediaStore_DownloadsTest.java220 try (InputStream in = mContentResolver.openInputStream(publishUri)) { in testInsertDownload()
387 hash(mContentResolver.openInputStream(mediaStoreUri))); in verifyScannedDownload()
DMediaStore_Video_MediaTest.java239 try (InputStream in = mContentResolver.openInputStream(publishUri); in testXmpLocationRedaction()
254 try (InputStream in = mContentResolver.openInputStream(publishUri); in testXmpLocationRedaction()
DMediaStore_Images_MediaTest.java420 try (InputStream is = mContentResolver.openInputStream(publishUri)) {
440 try (InputStream is = mContentResolver.openInputStream(publishUri)) {
/cts/tests/app/DownloadManagerApi28Test/src/android/app/cts/
DDownloadManagerApi28Test.java210 assertArrayEquals(hash(contentResolver.openInputStream(downloadUri)), in testDownloadManager_mediaStoreEntry()
211 hash(contentResolver.openInputStream(mediaStoreUri))); in testDownloadManager_mediaStoreEntry()
259 hash(mContext.getContentResolver().openInputStream(mediaStoreUri))); in testAddCompletedDownload_mediaStoreEntry()
/cts/tests/PhotoPicker/src/android/photopicker/cts/util/
DResultsAssertionsUtils.java150 try (InputStream in = resolver.openInputStream(uri); in assertVideoRedactedReadOnlyAccess()
171 try (InputStream is = resolver.openInputStream(uri)) { in assertImageRedactedReadOnlyAccess()
/cts/hostsidetests/scopedstorage/libs/ScopedStorageTestLib/src/android/scopedstorage/cts/lib/
DRedactionTestHelper.java75 try (InputStream is = getContext().getContentResolver().openInputStream(uri)) { in getExifMetadataFromUri()
/cts/tests/tests/security/src/android/security/cts/
DWallpaperManagerTest.java136 .openInputStream(Uri.fromFile(testImage))) { in testSetMaliciousStream()
/cts/hostsidetests/devicepolicy/app/IntentReceiver/src/com/android/cts/intent/receiver/
DIntentReceiverActivity.java184 InputStream is = getContentResolver().openInputStream(uri); in getFirstLineFromUri()
/cts/hostsidetests/appsecurity/test-apps/DocumentClient/src/com/android/cts/documentclient/
DDocumentsClientTestCase.java120 .openInputStream(uri); in readFully()
/cts/tests/tests/telephony/current/src/android/telephony/embms/cts/
DMbmsDownloadFlowTest.java158 InputStream is = mContext.getContentResolver().openInputStream(completedFileUri); in checkFileContentIntegrity()
/cts/hostsidetests/devicepolicy/app/IntentSender/src/com/android/cts/intent/sender/
DContentTest.java300 InputStream is = mContext.getContentResolver().openInputStream(uri); in getFirstLineFromUri()
/cts/tests/tests/content/src/android/content/cts/
DContentResolverWrapTest.java209 assertNotNull(mResolver.openInputStream(URI)); in testOpenStream()
DContentResolverTest.java667 InputStream is = mContentResolver.openInputStream(uri); in testOpenInputStream()
673 mContentResolver.openInputStream(invalidUri); in testOpenInputStream()
/cts/tests/tests/packageinstaller/test-apps/criticaluserjourneyinstaller/src/android/packageinstaller/cts/cujinstaller/
DMainActivity.java164 try (InputStream source = getContentResolver().openInputStream(uri); in copyApkFromUri()
/cts/tests/tests/contactsprovider/src/android/provider/cts/contacts/
DContactsContract_AllUriTest.java693 try (InputStream st = mResolver.openInputStream(uri)) { in testAllFileOperations()
/cts/tests/tests/nativemedia/aaudio/jni/
Dtest_aaudio_stream_builder.cpp474 TEST_P(AAudioStreamBuilderChannelMaskTest, openInputStream) { in TEST_P() argument
/cts/tests/app/src/android/app/cts/
DDownloadManagerTestBase.java259 try (InputStream inputStream = context.getContentResolver().openInputStream(uri)) { in readContentsFromUri()
DDownloadManagerTest.java713 mContext.getContentResolver().openInputStream(downloadUri)); in testDownload_mediaScanned()
/cts/hostsidetests/scopedstorage/redacturi/src/android/scopedstorage/cts/redacturi/
DRedactUriDeviceTest.java454 try (InputStream is = getContentResolver().openInputStream(redactedUri)) { in testOpenOnRedactedUri_inputstream()
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DContactsTest.java1438 return mResolver.openInputStream(Uri.parse(uriString)); in getInputStreamFromUriForTest()
1475 try (InputStream is = mResolver.openInputStream(Uri.parse(uri))) { in assertPhotoUriReadable()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt10394 …method @Nullable public final java.io.InputStream openInputStream(@NonNull android.net.Uri) throws…