/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/archives/ |
D | WriteableArchiveTest.java | 85 final String dirDocumentId = mArchive.createDocument(createArchiveId("/").toDocumentId(), in testCreateDocument() 89 final String documentId = mArchive.createDocument(dirDocumentId, "image/jpeg", "test.jpeg"); in testCreateDocument() 93 mArchive.createDocument(dirDocumentId, in testCreateDocument() 101 mArchive.createDocument(createArchiveId("/").toDocumentId(), in testCreateDocument() 109 mArchive.createDocument(createArchiveId("/").toDocumentId(), in testCreateDocument() 117 mArchive.createDocument(createArchiveId("/").toDocumentId(), in testCreateDocument() 125 mArchive.createDocument(createArchiveId("/").toDocumentId(), in testCreateDocument() 133 mArchive.createDocument(createArchiveId("/").toDocumentId(), in testCreateDocument() 141 mArchive.createDocument(createArchiveId("/").toDocumentId(), in testCreateDocument() 150 final String documentId = mArchive.createDocument(createArchiveId("/").toDocumentId(), in testAddDirectory() [all …]
|
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/ |
D | FilesActivityUiTest.java | 47 mDocsHelper.createDocument(rootDir0, "text/plain", "file0.log"); in initTestFiles() 48 mDocsHelper.createDocument(rootDir0, "image/png", "file1.png"); in initTestFiles() 49 mDocsHelper.createDocument(rootDir0, "text/csv", "file2.csv"); in initTestFiles() 51 mDocsHelper.createDocument(rootDir1, "text/plain", "anotherFile0.log"); in initTestFiles() 52 mDocsHelper.createDocument(rootDir1, "text/plain", "poodles.text"); in initTestFiles() 80 mDocsHelper.createDocument(rootDir0, "yummers/sandwich", "Ham & Cheese.sandwich"); in testFilesList_LiveUpdate()
|
D | ContextMenuUiTest.java | 65 mDocsHelper.createDocument(rootDir0, "text/plain", "file0.log"); in initTestFiles() 66 mDocsHelper.createDocument(rootDir0, "image/png", "file1.png"); in initTestFiles() 67 mDocsHelper.createDocument(rootDir0, "text/csv", "file2.csv"); in initTestFiles() 69 mDocsHelper.createDocument(rootDir1, "text/plain", "anotherFile0.log"); in initTestFiles() 70 mDocsHelper.createDocument(rootDir1, "text/plain", "poodles.text"); in initTestFiles()
|
D | FileManagementUiTest.java | 57 mDocsHelper.createDocument(rootDir0, "text/plain", "file0.log"); in initTestFiles() 58 mDocsHelper.createDocument(rootDir0, "image/png", "file1.png"); in initTestFiles() 59 mDocsHelper.createDocument(rootDir0, "text/csv", "file2.csv"); in initTestFiles() 61 mDocsHelper.createDocument(rootDir1, "text/plain", "anotherFile0.log"); in initTestFiles() 62 mDocsHelper.createDocument(rootDir1, "text/plain", "poodles.text"); in initTestFiles() 151 mDocsHelper.createDocument(test, "text/plain", name); in testCopyLargeAmountOfFiles()
|
D | ActivityTest.java | 165 mDocsHelper.createDocument(rootDir0, "text/plain", fileName1); in initTestFiles() 166 mDocsHelper.createDocument(rootDir0, "image/png", fileName2); in initTestFiles() 170 mDocsHelper.createDocument(rootDir1, "text/plain", fileName3); in initTestFiles() 171 mDocsHelper.createDocument(rootDir1, "text/plain", fileName4); in initTestFiles()
|
D | FileCopyUiTest.java | 269 Uri uri = helper.createDocument(root, "image/png", fileName); in loadImageFromResources() 427 mDocsHelper.createDocument(rootDir0, "text/plain", fileName1); in testCopyDocuments_documentsDisabled()
|
D | KeyboardNavigationUiTest.java | 42 mDocsHelper.createDocument(rootDir0, "image/png", "file1.png"); in initTestFiles()
|
D | FileDeleteUiTest.java | 147 Uri uri = mDocsHelper.createDocument(rootDir0, "text/plain", fileName); in createDummyFiles()
|
D | SortDocumentUiTest.java | 80 Uri uri = mDocsHelper.createDocument(rootDir0, MIMES[i], FILES[i]); in initFiles()
|
D | CancelFromNotificationUiTest.java | 135 Uri uri = mDocsHelper.createDocument(rootDir0, "*/*", TARGET_FILE); in createDummyFile()
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/ |
D | DocumentsProviderHelper.java | 94 public Uri createDocument(Uri parentUri, String mimeType, String name) { in createDocument() method in DocumentsProviderHelper 99 Uri uri = DocumentsContract.createDocument(wrap(mClient), parentUri, mimeType, name); in createDocument() 107 public Uri createDocument(String parentId, String mimeType, String name) { in createDocument() method in DocumentsProviderHelper 109 return createDocument(parentUri, mimeType, name); in createDocument() 112 public Uri createDocument(RootInfo root, String mimeType, String name) { in createDocument() method in DocumentsProviderHelper 113 return createDocument(root.documentId, mimeType, name); in createDocument() 132 return createDocument(parentUri, Document.MIME_TYPE_DIR, name); in createFolder() 137 return createDocument(parentUri, Document.MIME_TYPE_DIR, name); in createFolder() 141 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 560 documentId = createDocument(rootId, mimeType, name, flags, streamTypes); in dispatchCreateDocumentWithFlags() 585 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 | 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 | AbstractCopyJobTest.java | 47 Uri testFile1 = mDocs.createDocument(mSrcRoot, "text/plain", "test1.txt"); in runCopyFilesTest() 50 Uri testFile2 = mDocs.createDocument(mSrcRoot, "text/plain", "test2.txt"); in runCopyFilesTest() 112 mDocs.createDocument(testDir1, "text/plain", "test1.txt"); in runCopyDirRecursivelyTest() 115 mDocs.createDocument(testDir2, "text/plain", "test2.txt"); in runCopyDirRecursivelyTest() 163 Uri testFile = mDocs.createDocument(mSrcRoot, "text/plain", "test1.txt"); in runCopyFileWithReadErrorsTest()
|
D | JobErrorHandlingTest.java | 38 Uri validUri = mDocs.createDocument(mSrcRoot, "text/plain", "test2.txt"); in testRecoversFromInvalidUri() 53 Uri validUri = mDocs.createDocument(mSrcRoot, "text/plain", "test2.txt"); in testRecordsInvalidUris() 67 Uri validUri = mDocs.createDocument(mSrcRoot, "text/plain", "test2.txt"); in testReportsCorrectFailureCount()
|
D | MoveJobTest.java | 41 Uri testFile1 = mDocs.createDocument(mSrcRoot, "text/plain", "test1.txt"); in testMoveFiles_NoSrcParent() 44 Uri testFile2 = mDocs.createDocument(mSrcRoot, "text/plain", "test2.txt"); in testMoveFiles_NoSrcParent()
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/ |
D | TestModel.java | 81 return createDocument( in createFile() 97 return createDocument( in createFolder() 103 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
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
D | DocumentsAccess.java | 57 @Nullable Uri createDocument(DocumentInfo parentDoc, String mimeType, String displayName); in createDocument() method 135 public Uri createDocument(DocumentInfo parentDoc, String mimeType, String displayName) { in createDocument() method in DocumentsAccess.RuntimeDocumentAccess 139 return DocumentsContract.createDocument( in createDocument()
|
D | CreateDirectoryFragment.java | 151 final Uri childUri = DocumentsContract.createDocument( in doInBackground()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/archives/ |
D | ArchivesProvider.java | 207 public String createDocument( in createDocument() method in ArchivesProvider 211 return loader.get().createDocument(parentDocumentId, mimeType, displayName); in createDocument()
|
D | WriteableArchive.java | 135 public String createDocument(String parentDocumentId, String mimeType, String displayName) in createDocument() method in WriteableArchive
|
/packages/services/Car/tests/BugReportApp/src/com/google/android/car/bugreport/ |
D | BugReportInfoActivity.java | 281 Uri newFileUri = DocumentsContract.createDocument( in mergeFilesAndCopyToUsb() 317 Uri newFileUri = DocumentsContract.createDocument( in copyFileToUsb()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/picker/ |
D | CreatePickedDocumentTask.java | 79 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()
|