Home
last modified time | relevance | path

Searched refs:getStreamTypes (Results 1 – 10 of 10) sorted by relevance

/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/contentpreview/
DPreviewDataProviderTest.kt157 whenever(contentResolver.getStreamTypes(uri, "*/*")) in test_sendSingleImageWithFailingMetadata_resolvesToFilePreviewUi()
174 whenever(contentResolver.getStreamTypes(uri, "*/*")) in test_SingleNonImageUriWithImageTypeInGetStreamTypes_useImagePreviewUi()
304 whenever(contentResolver.getStreamTypes(uri1, "*/*")).thenReturn(arrayOf("image/png")) in test_someNonImageUriWithPreview_useImagePreviewUi()
357 whenever(contentResolver.getStreamTypes(uri1, "*/*")) in test_imagePreviewFileInfoFlow_dataLoadedOnce()
359 whenever(contentResolver.getStreamTypes(uri2, "*/*")) in test_imagePreviewFileInfoFlow_dataLoadedOnce()
370 verify(contentResolver, times(1)).getStreamTypes(uri1, "*/*") in test_imagePreviewFileInfoFlow_dataLoadedOnce()
372 verify(contentResolver, times(1)).getStreamTypes(uri2, "*/*") in test_imagePreviewFileInfoFlow_dataLoadedOnce()
DUriMetadataReaderTest.kt54 whenever(contentResolver.getStreamTypes(eq(uri), any())).thenReturn(arrayOf(imageType)) in <lambda>()
/packages/apps/Contacts/tests/src/com/android/contacts/test/mocks/
DForwardingContentProvider.java84 public synchronized String[] getStreamTypes(Uri url, String mimeTypeFilter) { in getStreamTypes() method in ForwardingContentProvider
86 return mClient.getStreamTypes(url, mimeTypeFilter); in getStreamTypes()
/packages/modules/IntentResolver/tests/activity/src/com/android/intentresolver/
DTestContentProvider.kt36 override fun getStreamTypes(uri: Uri, mimeTypeFilter: String): Array<String>? { in getStreamTypes() method in com.android.intentresolver.TestContentProvider
/packages/modules/IntentResolver/java/src/com/android/intentresolver/contentpreview/
DUriMetadataHelpers.kt50 getStreamTypes(uri, "*/*") ?: emptyArray() in getStreamTypesSafe()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/provider/
DSharedImageProvider.java63 public String[] getStreamTypes(Uri arg0, String mimeTypeFilter) { in getStreamTypes() method in SharedImageProvider
/packages/apps/DocumentsUI/src/com/android/documentsui/inspector/
DDebugView.java104 return mContext.getContentResolver().getStreamTypes(info.derivedUri, "*/*"); in accept()
/packages/apps/DocumentsUI/src/com/android/documentsui/base/
DDocumentInfo.java453 final String[] streamTypes = resolver.getStreamTypes(uri, "*/*"); in addMimeTypes()
/packages/apps/DocumentsUI/src/com/android/documentsui/services/
DCopyJob.java402 streamTypes = src.userId.getContentResolver(service).getStreamTypes(src.derivedUri, in byteCopyDocument()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/
DStubProvider.java432 public String[] getStreamTypes(Uri uri, String mimeTypeFilter) { in getStreamTypes() method in StubProvider