Searched refs:getStreamTypes (Results 1 – 10 of 10) sorted by relevance
/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/contentpreview/ |
D | PreviewDataProviderTest.kt | 157 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()
|
D | UriMetadataReaderTest.kt | 54 whenever(contentResolver.getStreamTypes(eq(uri), any())).thenReturn(arrayOf(imageType)) in <lambda>()
|
/packages/apps/Contacts/tests/src/com/android/contacts/test/mocks/ |
D | ForwardingContentProvider.java | 84 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/ |
D | TestContentProvider.kt | 36 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/ |
D | UriMetadataHelpers.kt | 50 getStreamTypes(uri, "*/*") ?: emptyArray() in getStreamTypesSafe()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/provider/ |
D | SharedImageProvider.java | 63 public String[] getStreamTypes(Uri arg0, String mimeTypeFilter) { in getStreamTypes() method in SharedImageProvider
|
/packages/apps/DocumentsUI/src/com/android/documentsui/inspector/ |
D | DebugView.java | 104 return mContext.getContentResolver().getStreamTypes(info.derivedUri, "*/*"); in accept()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/base/ |
D | DocumentInfo.java | 453 final String[] streamTypes = resolver.getStreamTypes(uri, "*/*"); in addMimeTypes()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/services/ |
D | CopyJob.java | 402 streamTypes = src.userId.getContentResolver(service).getStreamTypes(src.derivedUri, in byteCopyDocument()
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/ |
D | StubProvider.java | 432 public String[] getStreamTypes(Uri uri, String mimeTypeFilter) { in getStreamTypes() method in StubProvider
|