/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/archives/ |
D | WriteableArchiveTest.java | 87 final String dirDocumentId = mArchive.createDocument(createArchiveId("/").toDocumentId(), in testCreateDocument() 91 final String documentId = mArchive.createDocument(dirDocumentId, "image/jpeg", "test.jpeg"); in testCreateDocument() 95 mArchive.createDocument(dirDocumentId, in testCreateDocument() 103 mArchive.createDocument(createArchiveId("/").toDocumentId(), in testCreateDocument() 111 mArchive.createDocument(createArchiveId("/").toDocumentId(), in testCreateDocument() 119 mArchive.createDocument(createArchiveId("/").toDocumentId(), in testCreateDocument() 127 mArchive.createDocument(createArchiveId("/").toDocumentId(), in testCreateDocument() 135 mArchive.createDocument(createArchiveId("/").toDocumentId(), in testCreateDocument() 143 mArchive.createDocument(createArchiveId("/").toDocumentId(), in testCreateDocument() 152 final String documentId = mArchive.createDocument(createArchiveId("/").toDocumentId(), in testAddDirectory() [all …]
|
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/ |
D | FilesActivityUiTest.java | 45 mDocsHelper.createDocument(rootDir0, "text/plain", "file0.log"); in initTestFiles() 46 mDocsHelper.createDocument(rootDir0, "image/png", "file1.png"); in initTestFiles() 47 mDocsHelper.createDocument(rootDir0, "text/csv", "file2.csv"); in initTestFiles() 49 mDocsHelper.createDocument(rootDir1, "text/plain", "anotherFile0.log"); in initTestFiles() 50 mDocsHelper.createDocument(rootDir1, "text/plain", "poodles.text"); in initTestFiles() 83 mDocsHelper.createDocument(rootDir0, "yummers/sandwich", "Ham & Cheese.sandwich"); in testFilesList_LiveUpdate()
|
D | FileManagementUiTest.java | 55 mDocsHelper.createDocument(rootDir0, "text/plain", "file0.log"); in initTestFiles() 56 mDocsHelper.createDocument(rootDir0, "image/png", "file1.png"); in initTestFiles() 57 mDocsHelper.createDocument(rootDir0, "text/csv", "file2.csv"); in initTestFiles() 59 mDocsHelper.createDocument(rootDir1, "text/plain", "anotherFile0.log"); in initTestFiles() 60 mDocsHelper.createDocument(rootDir1, "text/plain", "poodles.text"); in initTestFiles() 146 mDocsHelper.createDocument(test, "text/plain", name); in testCopyLargeAmountOfFiles()
|
D | ContextMenuUiTest.java | 64 mDocsHelper.createDocument(rootDir0, "text/plain", "file0.log"); in initTestFiles() 65 mDocsHelper.createDocument(rootDir0, "image/png", "file1.png"); in initTestFiles() 66 mDocsHelper.createDocument(rootDir0, "text/csv", "file2.csv"); in initTestFiles() 68 mDocsHelper.createDocument(rootDir1, "text/plain", "anotherFile0.log"); in initTestFiles() 69 mDocsHelper.createDocument(rootDir1, "text/plain", "poodles.text"); in initTestFiles()
|
D | ActivityTest.java | 162 mDocsHelper.createDocument(rootDir0, "text/plain", fileName1); in initTestFiles() 163 mDocsHelper.createDocument(rootDir0, "image/png", fileName2); in initTestFiles() 167 mDocsHelper.createDocument(rootDir1, "text/plain", fileName3); in initTestFiles() 168 mDocsHelper.createDocument(rootDir1, "text/plain", fileName4); in initTestFiles()
|
D | KeyboardNavigationUiTest.java | 41 mDocsHelper.createDocument(rootDir0, "image/png", "file1.png"); in initTestFiles()
|
D | SortDocumentUiTest.java | 79 Uri uri = mDocsHelper.createDocument(rootDir0, MIMES[i], FILES[i]); in initFiles()
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/ |
D | DocumentsProviderHelper.java | 88 public Uri createDocument(Uri parentUri, String mimeType, String name) { in createDocument() method in DocumentsProviderHelper 93 Uri uri = DocumentsContract.createDocument(mClient, parentUri, mimeType, name); in createDocument() 101 public Uri createDocument(String parentId, String mimeType, String name) { in createDocument() method in DocumentsProviderHelper 103 return createDocument(parentUri, mimeType, name); in createDocument() 106 public Uri createDocument(RootInfo root, String mimeType, String name) { in createDocument() method in DocumentsProviderHelper 107 return createDocument(root.documentId, mimeType, name); in createDocument() 126 return createDocument(parentUri, Document.MIME_TYPE_DIR, name); in createFolder() 131 return createDocument(parentUri, Document.MIME_TYPE_DIR, name); in createFolder() 135 return createDocument(root, Document.MIME_TYPE_DIR, name); in createFolder()
|
D | StubProvider.java | 190 public String createDocument(String parentId, String mimeType, String displayName) in createDocument() method in StubProvider 551 documentId = createDocument(rootId, mimeType, name, flags, streamTypes); in dispatchCreateDocumentWithFlags() 576 public String createDocument(String parentId, String mimeType, String displayName, int flags, in createDocument() method in StubProvider
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/services/ |
D | AbstractCopyJobTest.java | 40 Uri testFile1 = mDocs.createDocument(mSrcRoot, "text/plain", "test1.txt"); in runCopyFilesTest() 43 Uri testFile2 = mDocs.createDocument(mSrcRoot, "text/plain", "test2.txt"); in runCopyFilesTest() 97 mDocs.createDocument(testDir1, "text/plain", "test1.txt"); in runCopyDirRecursivelyTest() 100 mDocs.createDocument(testDir2, "text/plain", "test2.txt"); in runCopyDirRecursivelyTest() 148 Uri testFile = mDocs.createDocument(mSrcRoot, "text/plain", "test1.txt"); in runCopyFileWithReadErrorsTest()
|
D | DeleteJobTest.java | 33 Uri testFile1 = mDocs.createDocument(mSrcRoot, "text/plain", "test1.txt"); in testDeleteFiles() 36 Uri testFile2 = mDocs.createDocument(mSrcRoot, "text/plain", "test2.txt"); in testDeleteFiles() 47 Uri testFile1 = mDocs.createDocument(mSrcRoot, "text/plain", "test1.txt"); in testDeleteFiles_NoSrcParent() 50 Uri testFile2 = mDocs.createDocument(mSrcRoot, "text/plain", "test2.txt"); in testDeleteFiles_NoSrcParent()
|
D | JobErrorHandlingTest.java | 37 Uri validUri = mDocs.createDocument(mSrcRoot, "text/plain", "test2.txt"); in testRecoversFromInvalidUri() 52 Uri validUri = mDocs.createDocument(mSrcRoot, "text/plain", "test2.txt"); in testRecordsInvalidUris() 66 Uri validUri = mDocs.createDocument(mSrcRoot, "text/plain", "test2.txt"); in testReportsCorrectFailureCount()
|
D | MoveJobTest.java | 40 Uri testFile1 = mDocs.createDocument(mSrcRoot, "text/plain", "test1.txt"); in testMoveFiles_NoSrcParent() 43 Uri testFile2 = mDocs.createDocument(mSrcRoot, "text/plain", "test2.txt"); in testMoveFiles_NoSrcParent()
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/ |
D | TestModel.java | 80 return createDocument( in createFile() 96 return createDocument( in createFolder() 102 public DocumentInfo createDocument(String name, String mimeType, int flags) { in createDocument() method in TestModel
|
D | TestDocumentsAccess.java | 63 public Uri createDocument(DocumentInfo parentDoc, String mimeType, String displayName) { in createDocument() method in TestDocumentsAccess
|
D | TestEnv.java | 147 FILE_VIRTUAL = model.createDocument( in reset()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
D | DocumentsAccess.java | 54 @Nullable Uri createDocument(DocumentInfo parentDoc, String mimeType, String displayName); in createDocument() method 132 public Uri createDocument(DocumentInfo parentDoc, String mimeType, String displayName) { in createDocument() method in DocumentsAccess.RuntimeDocumentAccess 136 return DocumentsContract.createDocument( in createDocument()
|
D | CreateDirectoryFragment.java | 142 final Uri childUri = DocumentsContract.createDocument( in doInBackground()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/archives/ |
D | ArchivesProvider.java | 187 public String createDocument( in createDocument() method in ArchivesProvider 191 return loader.get().createDocument(parentDocumentId, mimeType, displayName); in createDocument()
|
D | WriteableArchive.java | 138 public String createDocument(String parentDocumentId, String mimeType, String displayName) in createDocument() method in WriteableArchive
|
D | Archive.java | 235 public String createDocument(String parentDocumentId, String mimeType, String displayName) in createDocument() method in Archive
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
D | DownloadStorageProvider.java | 154 public String createDocument(String parentDocId, String mimeType, String displayName) in createDocument() method in DownloadStorageProvider 159 String newDocumentId = super.createDocument(parentDocId, mimeType, displayName); in createDocument()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/picker/ |
D | CreatePickedDocumentTask.java | 78 Uri childUri = mDocs.createDocument(cwd, mMimeType, mDisplayName); in run()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/services/ |
D | CompressJob.java | 108 archiveUri = DocumentsContract.createDocument( in setUp()
|
D | CopyJob.java | 439 dstUri = DocumentsContract.createDocument( in byteCopyDocument()
|