Home
last modified time | relevance | path

Searched refs:getDocumentType (Results 1 – 6 of 6) sorted by relevance

/packages/apps/DocumentsUI/src/com/android/documentsui/archives/
DArchivesProvider.java133 public String getDocumentType(String documentId) throws FileNotFoundException { in getDocumentType() method in ArchivesProvider
140 return loader.get().getDocumentType(documentId); in getDocumentType()
154 final String mimeType = archive.getDocumentType(documentId); in getDocumentMetadata()
DArchive.java162 public String getDocumentType(String documentId) throws FileNotFoundException { in getDocumentType() method in Archive
DReadableArchive.java296 Preconditions.checkArgument(getDocumentType(documentId).startsWith("image/"), in openDocumentThumbnail()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/archives/
DReadableArchiveTest.java277 assertEquals(Document.MIME_TYPE_DIR, mArchive.getDocumentType( in testGetDocumentType()
279 assertEquals("text/plain", mArchive.getDocumentType( in testGetDocumentType()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadStorageProvider.java501 public String getDocumentType(String docId) throws FileNotFoundException { in getDocumentType() method in DownloadStorageProvider
506 return super.getDocumentType(docId); in getDocumentType()
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaDocumentsProvider.java410 String mimeType = getDocumentType(docId); in getDocumentMetadata()