Home
last modified time | relevance | path

Searched refs:createDocument (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/
DMtpDatabaseTest.java185 private MtpObjectInfo createDocument(int objectHandle, String name, int format, int size) { in createDocument() method in MtpDatabaseTest
200 createDocument(100, "note.txt", MtpConstants.FORMAT_TEXT, 1024), in testPutChildDocuments()
201 createDocument(101, "image.jpg", MtpConstants.FORMAT_EXIF_JPEG, 2 * 1024 * 1024), in testPutChildDocuments()
202 createDocument(102, "music.mp3", MtpConstants.FORMAT_MP3, 3 * 1024 * 1024) in testPutChildDocuments()
276 createDocument(100, "note.txt", MtpConstants.FORMAT_TEXT, 1024) in testPutChildDocuments_operationsSupported()
293 createDocument(100, "note.txt", MtpConstants.FORMAT_TEXT, 1024) in testPutChildDocuments_operationsSupported()
309 createDocument(100, "note.txt", MtpConstants.FORMAT_TEXT, 1024) in testPutChildDocuments_operationsSupported()
396 createDocument(100, "note.txt", MtpConstants.FORMAT_TEXT, 1024), in testRestoreIdForChildDocuments()
397 createDocument(101, "image.jpg", MtpConstants.FORMAT_EXIF_JPEG, 2 * 1024 * 1024), in testRestoreIdForChildDocuments()
398 createDocument(102, "music.mp3", MtpConstants.FORMAT_MP3, 3 * 1024 * 1024) in testRestoreIdForChildDocuments()
[all …]
DMtpManagerTest.java143 final int objectHandle = mManager.createDocument( in testCreateDocumentAndGetPartialObject()
DTestMtpManager.java153 int createDocument(int deviceId, MtpObjectInfo objectInfo, ParcelFileDescriptor source) in createDocument() method in TestMtpManager
DMtpDocumentsProviderTest.java610 final String documentId = mProvider.createDocument("2", "text/plain", "test.txt"); in testOpenDocument_writing()
757 final String documentId = mProvider.createDocument("1", "text/plain", "note.txt"); in testCreateDocument()
792 mProvider.createDocument("1", "text/palin", "note.txt"); in testCreateDocument_noWritingSupport()
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
DMtpFileWriter.java86 final int newObjectHandle = manager.createDocument( in flush()
DMtpDocumentsProvider.java383 public String createDocument(String parentDocumentId, String mimeType, String displayName) in createDocument() method in MtpDocumentsProvider
408 createDocument(storageDocumentIds[0], mimeType, displayName); in createDocument()
459 objectHandle = mMtpManager.createDocument( in createDocument()
DMtpManager.java193 int createDocument(int deviceId, MtpObjectInfo objectInfo, in createDocument() method in MtpManager
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/
DTestDocumentsProvider.java156 public String createDocument(String parentDocumentId, String mimeType, String displayName) in createDocument() method in TestDocumentsProvider
160 return super.createDocument(parentDocumentId, mimeType, displayName); in createDocument()
/frameworks/base/core/java/android/provider/
DDocumentsProvider.java254 public String createDocument(String parentDocumentId, String mimeType, String displayName) in createDocument() method in DocumentsProvider
1121 final String newDocumentId = createDocument(documentId, mimeType, displayName); in callUnchecked()
DDocumentsContract.java1318 public static @Nullable Uri createDocument(@NonNull ContentResolver content, in createDocument() method in DocumentsContract
/frameworks/base/core/java/com/android/internal/content/
DFileSystemProvider.java233 public String createDocument(String docId, String mimeType, String displayName) in createDocument() method in FileSystemProvider
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...