Home
last modified time | relevance | path

Searched refs:openTypedAssetFile (Results 1 – 22 of 22) sorted by relevance

/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/utils/
DMockContentProviderWrapper.kt42 override fun openTypedAssetFile( in openTypedAssetFile() method in com.android.photopicker.test.utils.MockContentProviderWrapper
48 return provider.openTypedAssetFile(uri, mimetype, opts, cancellationSignal) in openTypedAssetFile()
52 override fun openTypedAssetFile( in openTypedAssetFile() method in com.android.photopicker.test.utils.MockContentProviderWrapper
57 return provider.openTypedAssetFile(uri, mimeType, opts) in openTypedAssetFile()
/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/core/glide/
DLoadMediaTest.kt146 whenever(mockContentProvider.openTypedAssetFile(any(), any(), any(), any())) { in testLoadMediaGenericThumbnailResolution()
166 .openTypedAssetFile( in testLoadMediaGenericThumbnailResolution()
200 whenever(mockContentProvider.openTypedAssetFile(any(), any(), any(), any())) { in testLoadMediaGenericFullResolution()
220 .openTypedAssetFile( in testLoadMediaGenericFullResolution()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/
DPickerUriResolverTest.java562 try (AssetFileDescriptor afd = sTestPickerUriResolver.openTypedAssetFile( in testPickerUriResolver_thumbnailRequest()
602 try (AssetFileDescriptor afd = sTestPickerUriResolver.openTypedAssetFile(sTestPickerUri, in testPickerUriResolver_pickerUri_fileOpenWithRequireOriginal()
610 try (AssetFileDescriptor afd = sTestPickerUriResolver.openTypedAssetFile(sTestPickerUri, in testPickerUriResolver_pickerUri_fileOpenWithRequireOriginal()
649 try (AssetFileDescriptor afd = sTestPickerUriResolver.openTypedAssetFile(sTestPickerUri, in testPickerUriResolver_pickerGetContentUri_fileOpenWithRequireOriginal()
656 try (AssetFileDescriptor afd = sTestPickerUriResolver.openTypedAssetFile(sTestPickerUri, in testPickerUriResolver_pickerGetContentUri_fileOpenWithRequireOriginal()
759 try (AssetFileDescriptor afd = sTestPickerUriResolver.openTypedAssetFile(uri, "image/*", in testOpenTypedAssetFile()
798 sTestPickerUriResolver.openTypedAssetFile(uri, "image/*", /* opts */ null, in testOpenTypedAssetFileInvalidUser()
843 sTestPickerUriResolver.openTypedAssetFile(uri, "image/*", /* opts */ null, in testOpenTypedAssetFile_permissionDenied()
DMediaProviderTest.java1806 try (AssetFileDescriptor afd = sContext.getContentResolver().openTypedAssetFile(mediaUri, in testOpenTypedAssetFile_setModeInBundle_failsWrite()
/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/features/cloudmedia/
DMediaPreloaderTest.kt208 whenever(mockContentProvider.openTypedAssetFile(any(), any(), any(), any())) { in setup()
211 whenever(mockContentProvider.openTypedAssetFile(any(), any(), any())) { in setup()
405 verify(mockContentProvider, times(10)).openTypedAssetFile(any(), any(), any()) in testMediaPreloaderLoadsRemoteMedia()
418 whenever(mockContentProvider.openTypedAssetFile(any(), any(), any())) in testMediaPreloaderFailureShowsErrorDialog()
/packages/apps/QuickSearchBox/tests/naughty/src/com/android/quicksearchbox/tests/naughty/
DNaughtySuggestionProvider.java59 public AssetFileDescriptor openTypedAssetFile(Uri uri, String mimeTypeFilter, Bundle opts) { in openTypedAssetFile() method in NaughtySuggestionProvider
/packages/providers/MediaProvider/apex/framework/java/android/provider/
DCloudMediaProvider.java460 public final AssetFileDescriptor openTypedAssetFile(@NonNull Uri uri, in openTypedAssetFile() method in CloudMediaProvider
462 return openTypedAssetFile(uri, mimeTypeFilter, opts, null); in openTypedAssetFile()
473 public final AssetFileDescriptor openTypedAssetFile( in openTypedAssetFile() method in CloudMediaProvider
/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/core/glide/
DPhotopickerMediaFetcher.kt86 resolver.openTypedAssetFile( in loadData()
/packages/providers/MediaProvider/src/com/android/providers/media/
DPickerUriResolver.java155 public AssetFileDescriptor openTypedAssetFile(Uri uri, String mimeTypeFilter, Bundle opts, in openTypedAssetFile() method in PickerUriResolver
182 return resolver.openTypedAssetFile(uri, mimeTypeFilter, opts, signal); in openTypedAssetFile()
595 return resolver.openTypedAssetFile(unwrappedUri, mimeTypeFilter, newOpts, signal); in openThumbnailFromProvider()
DMediaDocumentsProvider.java1504 return getContext().getContentResolver().openTypedAssetFile(uri, "image/*", opts, signal); in openOrCreateImageThumbnailCleared()
1541 return getContext().getContentResolver().openTypedAssetFile(uri, "image/*", opts, signal); in openOrCreateVideoThumbnailCleared()
DMediaProvider.java9012 public AssetFileDescriptor openTypedAssetFile(Uri uri, String mimeTypeFilter, Bundle opts)
9018 public AssetFileDescriptor openTypedAssetFile(Uri uri, String mimeTypeFilter, Bundle opts,
9069 return mPickerUriResolver.openTypedAssetFile(uri, mimeTypeFilter, opts, signal,
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/
DPhotoPickerProvider.java108 return mMediaProvider.openTypedAssetFile(fromMediaId(mediaId), mimeTypeFilter, opts); in onOpenPreview()
/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/features/navigationbar/
DNavigationBarFeatureTest.kt140 whenever(mockContentProvider.openTypedAssetFile(any(), any(), any(), any())) { in setup()
/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/features/photogrid/
DPhotoGridFeatureTest.kt149 whenever(mockContentProvider.openTypedAssetFile(any(), any(), any(), any())) { in setup()
/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/core/components/mediagrid/
DMediaGridTest.kt188 whenever(mockContentProvider.openTypedAssetFile(any(), any(), any(), any())) { in <lambda>()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/audio_util/
DBrowserPlayerWrapperTest.java107 public AssetFileDescriptor openTypedAssetFile( in setUp()
DImageTest.java98 public AssetFileDescriptor openTypedAssetFile( in setUp()
DMetadataTest.java104 public AssetFileDescriptor openTypedAssetFile( in setUp()
/packages/apps/TV/tests/unit/src/com/android/tv/data/
DChannelDataManagerTest.java429 public AssetFileDescriptor openTypedAssetFile(Uri url, String mimeType, Bundle opts) { in openTypedAssetFile() method in ChannelDataManagerTest.FakeContentProvider
/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/features/preview/
DPreviewFeatureTest.kt243 whenever(mockContentProvider.openTypedAssetFile(any(), any(), any(), any())) { in setup()
/packages/providers/MediaProvider/apex/framework/api/
Dcurrent.txt21 …method @NonNull public final android.content.res.AssetFileDescriptor openTypedAssetFile(@NonNull a…
22 …method @NonNull public final android.content.res.AssetFileDescriptor openTypedAssetFile(@NonNull a…
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/
DItemsProviderTest.java1209 try (AssetFileDescriptor fd1 = mIsolatedResolver.openTypedAssetFile(uri, "image/*", in assertCategoryUriIsValid()