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.java141 public String getDocumentType(String documentId) throws FileNotFoundException { in getDocumentType() method in ArchivesProvider
148 return loader.get().getDocumentType(documentId); in getDocumentType()
162 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/functional/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.java505 public String getDocumentType(String docId) throws FileNotFoundException { in getDocumentType() method in DownloadStorageProvider
510 return super.getDocumentType(docId); in getDocumentType()
/packages/services/Mtp/src/com/android/mtp/
DMtpDocumentsProvider.java561 String mimeType = getDocumentType(docId); in getDocumentMetadata()