Searched refs:streamTypes (Results 1 – 5 of 5) sorted by relevance
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/ |
D | StubProvider.java | 388 if (document == null || !document.file.isFile() || document.streamTypes == null) { in openTypedDocument() 391 for (final String mimeType : document.streamTypes) { in openTypedDocument() 422 if (document.streamTypes == null) { in getStreamTypes() 425 return document.streamTypes.toArray(new String[document.streamTypes.size()]); in getStreamTypes() 554 List<String> streamTypes = extras.getStringArrayList(EXTRA_STREAM_TYPES); in dispatchCreateDocumentWithFlags() local 560 documentId = createDocument(rootId, mimeType, name, flags, streamTypes); in dispatchCreateDocumentWithFlags() 586 List<String> streamTypes) throws FileNotFoundException { in createDocument() argument 592 flags, streamTypes); in createDocument() 714 String rootId, String path, String mimeType, List<String> streamTypes, byte[] content) in createVirtualFile() argument 723 file, mimeType, streamTypes, parent); in createVirtualFile() [all …]
|
D | DocumentsProviderHelper.java | 117 String... streamTypes) in createDocumentWithFlags() argument 124 in.putStringArrayList(StubProvider.EXTRA_STREAM_TYPES, Lists.newArrayList(streamTypes)); in createDocumentWithFlags() 320 RootInfo root, String path, String mimeType, byte[] content, String... streamTypes) in createVirtualFile() argument 327 args.putStringArrayList(StubProvider.EXTRA_STREAM_TYPES, Lists.newArrayList(streamTypes)); in createVirtualFile()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/inspector/ |
D | DebugView.java | 106 protected void onPostExecute(String[] streamTypes) { in accept() argument 108 streamTypes != null ? Arrays.toString(streamTypes) : "[]"); in accept()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/base/ |
D | DocumentInfo.java | 396 final String[] streamTypes = resolver.getStreamTypes(uri, "*/*"); in addMimeTypes() local 397 if (streamTypes != null) { in addMimeTypes() 398 mimeTypes.addAll(Arrays.asList(streamTypes)); in addMimeTypes()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/services/ |
D | CopyJob.java | 369 String[] streamTypes = null; in byteCopyDocument() local 371 streamTypes = getContentResolver().getStreamTypes(src.derivedUri, "*/*"); in byteCopyDocument() 379 if (streamTypes != null && streamTypes.length > 0) { in byteCopyDocument() 380 dstMimeType = streamTypes[0]; in byteCopyDocument()
|