/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/ |
D | MtpDatabaseTest.java | 185 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() 275 createDocument(100, "note.txt", MtpConstants.FORMAT_TEXT, 1024) in testPutChildDocuments_operationsSupported() 292 createDocument(100, "note.txt", MtpConstants.FORMAT_TEXT, 1024) in testPutChildDocuments_operationsSupported() 308 createDocument(100, "note.txt", MtpConstants.FORMAT_TEXT, 1024) in testPutChildDocuments_operationsSupported() 395 createDocument(100, "note.txt", MtpConstants.FORMAT_TEXT, 1024), in testRestoreIdForChildDocuments() 396 createDocument(101, "image.jpg", MtpConstants.FORMAT_EXIF_JPEG, 2 * 1024 * 1024), in testRestoreIdForChildDocuments() 397 createDocument(102, "music.mp3", MtpConstants.FORMAT_MP3, 3 * 1024 * 1024) in testRestoreIdForChildDocuments() [all …]
|
D | MtpManagerTest.java | 143 final int objectHandle = mManager.createDocument( in testCreateDocumentAndGetPartialObject()
|
D | TestMtpManager.java | 152 int createDocument(int deviceId, MtpObjectInfo objectInfo, ParcelFileDescriptor source) in createDocument() method in TestMtpManager
|
D | MtpDocumentsProviderTest.java | 542 final String documentId = mProvider.createDocument("2", "text/plain", "test.txt"); in testOpenDocument_writing() 699 mProvider.createDocument("1", "text/palin", "note.txt"); in testCreateDocument_noWritingSupport()
|
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/ |
D | FilesActivityUiTest.java | 52 mDocsHelper.createDocument(rootDir0, "text/plain", "file0.log"); in initTestFiles() 53 mDocsHelper.createDocument(rootDir0, "image/png", "file1.png"); in initTestFiles() 54 mDocsHelper.createDocument(rootDir0, "text/csv", "file2.csv"); in initTestFiles() 56 mDocsHelper.createDocument(rootDir1, "text/plain", "anotherFile0.log"); in initTestFiles() 57 mDocsHelper.createDocument(rootDir1, "text/plain", "poodles.text"); in initTestFiles() 106 mDocsHelper.createDocument(rootDir0, "yummers/sandwich", "Ham & Cheese.sandwich"); in testFilesList_LiveUpdate()
|
D | DocumentsProviderHelper.java | 87 public Uri createDocument(Uri parentUri, String mimeType, String name) { in createDocument() method in DocumentsProviderHelper 92 Uri uri = DocumentsContract.createDocument(mClient, parentUri, mimeType, name); in createDocument() 100 public Uri createDocument(String parentId, String mimeType, String name) { in createDocument() method in DocumentsProviderHelper 102 return createDocument(parentUri, mimeType, name); in createDocument() 105 public Uri createDocument(RootInfo root, String mimeType, String name) { in createDocument() method in DocumentsProviderHelper 106 return createDocument(root.documentId, mimeType, name); in createDocument() 125 return createDocument(parentUri, Document.MIME_TYPE_DIR, name); in createFolder() 130 return createDocument(parentUri, Document.MIME_TYPE_DIR, name); in createFolder() 134 return createDocument(root, Document.MIME_TYPE_DIR, name); in createFolder()
|
D | ActivityTest.java | 150 mDocsHelper.createDocument(rootDir0, "text/plain", fileName1); in initTestFiles() 151 mDocsHelper.createDocument(rootDir0, "image/png", fileName2); in initTestFiles() 155 mDocsHelper.createDocument(rootDir1, "text/plain", fileName3); in initTestFiles() 156 mDocsHelper.createDocument(rootDir1, "text/plain", fileName4); in initTestFiles()
|
D | StubProvider.java | 185 public String createDocument(String parentId, String mimeType, String displayName) in createDocument() method in StubProvider 527 documentId = createDocument(rootId, mimeType, name, flags, streamTypes); in dispatchCreateDocumentWithFlags() 536 public String createDocument(String parentId, String mimeType, String displayName, int flags, in createDocument() method in StubProvider
|
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/services/ |
D | AbstractCopyJobTest.java | 34 Uri testFile1 = mDocs.createDocument(mSrcRoot, "text/plain", "test1.txt"); in runCopyFilesTest() 37 Uri testFile2 = mDocs.createDocument(mSrcRoot, "text/plain", "test2.txt"); in runCopyFilesTest() 91 mDocs.createDocument(testDir1, "text/plain", "test1.txt"); in runCopyDirRecursivelyTest() 94 mDocs.createDocument(testDir2, "text/plain", "test2.txt"); in runCopyDirRecursivelyTest() 140 Uri testFile = mDocs.createDocument(mSrcRoot, "text/plain", "test1.txt"); in runCopyFileWithReadErrorsTest()
|
D | DeleteJobTest.java | 34 Uri testFile1 = mDocs.createDocument(mSrcRoot, "text/plain", "test1.txt"); in testDeleteFiles() 37 Uri testFile2 = mDocs.createDocument(mSrcRoot, "text/plain", "test2.txt"); in testDeleteFiles()
|
/frameworks/support/v4/api21/android/support/v4/provider/ |
D | DocumentsContractApi21.java | 33 return DocumentsContract.createDocument(context.getContentResolver(), self, mimeType, in createFile()
|
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/ |
D | MtpFileWriter.java | 86 final int newObjectHandle = manager.createDocument( in flush()
|
D | MtpDocumentsProvider.java | 336 public String createDocument(String parentDocumentId, String mimeType, String displayName) in createDocument() method in MtpDocumentsProvider 384 objectHandle = mMtpManager.createDocument( in createDocument()
|
D | MtpManager.java | 193 int createDocument(int deviceId, MtpObjectInfo objectInfo, in createDocument() method in MtpManager
|
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/ |
D | TestDocumentsProvider.java | 156 public String createDocument(String parentDocumentId, String mimeType, String displayName) in createDocument() method in TestDocumentsProvider 160 return super.createDocument(parentDocumentId, mimeType, displayName); in createDocument()
|
D | ExternalStorageProvider.java | 435 public String createDocument(String docId, String mimeType, String displayName) in createDocument() method in ExternalStorageProvider
|
/frameworks/base/core/java/android/provider/ |
D | DocumentsContract.java | 1061 public static Uri createDocument(ContentResolver resolver, Uri parentDocumentUri, in createDocument() method in DocumentsContract 1066 return createDocument(client, parentDocumentUri, mimeType, displayName); in createDocument() 1076 public static Uri createDocument(ContentProviderClient client, Uri parentDocumentUri, in createDocument() method in DocumentsContract
|
D | DocumentsProvider.java | 225 public String createDocument(String parentDocumentId, String mimeType, String displayName) in createDocument() method in DocumentsProvider 757 final String newDocumentId = createDocument(documentId, mimeType, displayName); in callUnchecked()
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
D | CreateDirectoryFragment.java | 140 final Uri childUri = DocumentsContract.createDocument( in doInBackground()
|
D | DocumentsActivity.java | 568 childUri = DocumentsContract.createDocument( in run()
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/services/ |
D | CopyJob.java | 349 dstUri = DocumentsContract.createDocument( in byteCopyDocument()
|
/frameworks/base/docs/html-intl/intl/zh-tw/about/versions/ |
D | android-5.0.jd | 409 ….DocumentsContract#createDocument(android.content.ContentResolver, android.net.Uri, java.lang.Stri…
|
/frameworks/base/docs/html-intl/intl/ja/about/versions/ |
D | android-5.0.jd | 409 ….DocumentsContract#createDocument(android.content.ContentResolver, android.net.Uri, java.lang.Stri…
|
/frameworks/base/docs/html-intl/intl/ko/about/versions/ |
D | android-5.0.jd | 410 ….DocumentsContract#createDocument(android.content.ContentResolver, android.net.Uri, java.lang.Stri…
|
/frameworks/base/docs/html-intl/intl/zh-cn/about/versions/ |
D | android-5.0.jd | 411 ….DocumentsContract#createDocument(android.content.ContentResolver, android.net.Uri, java.lang.Stri…
|