Home
last modified time | relevance | path

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

/aosp12/packages/apps/DocumentsUI/src/com/android/documentsui/archives/
H A 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()
H A DArchive.java162 public String getDocumentType(String documentId) throws FileNotFoundException { in getDocumentType() method in Archive
H A DReadableArchive.java296 Preconditions.checkArgument(getDocumentType(documentId).startsWith("image/"), in openDocumentThumbnail()
/aosp12/frameworks/base/core/java/com/android/internal/content/
H A DFileSystemProvider.java157 final String mimeType = getDocumentType(documentId); in getDocumentMetadata()
478 public String getDocumentType(String documentId) throws FileNotFoundException { in getDocumentType() method in FileSystemProvider
479 return getDocumentType(documentId, getFileForDocId(documentId)); in getDocumentType()
482 private String getDocumentType(final String documentId, final File file) in getDocumentType() method in FileSystemProvider
601 final String mimeType = getDocumentType(docId, file); in includeFile()
/aosp12/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/archives/
H A DReadableArchiveTest.java277 assertEquals(Document.MIME_TYPE_DIR, mArchive.getDocumentType( in testGetDocumentType()
279 assertEquals("text/plain", mArchive.getDocumentType( in testGetDocumentType()
/aosp12/frameworks/base/core/java/android/provider/
H A DDocumentsProvider.java772 public String getDocumentType(String documentId) throws FileNotFoundException { in getDocumentType() method in DocumentsProvider
971 return getDocumentType(getDocumentId(uri)); in getType()
/aosp12/packages/providers/DownloadProvider/src/com/android/providers/downloads/
H A DDownloadStorageProvider.java505 public String getDocumentType(String docId) throws FileNotFoundException { in getDocumentType() method in DownloadStorageProvider
510 return super.getDocumentType(docId); in getDocumentType()
/aosp12/packages/services/Mtp/src/com/android/mtp/
H A DMtpDocumentsProvider.java561 String mimeType = getDocumentType(docId); in getDocumentMetadata()
/aosp12/frameworks/base/tools/aapt2/integration-tests/CommandTests/
H A Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
/aosp12/frameworks/base/core/api/
H A Dcurrent.txt35054 method public String getDocumentType(String) throws java.io.FileNotFoundException;
/aosp12/frameworks/opt/setupwizard/tools/docs/
H A Dandroid-22.txt24820 …method public java.lang.String getDocumentType(java.lang.String) throws java.io.FileNotFoundExcept…