Home
last modified time | relevance | path

Searched refs:mSrcRoot (Results 1 – 6 of 6) sorted by relevance

/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/services/
DMoveJobTest.java36 mDocs.assertChildCount(mSrcRoot, 0); in testMoveFiles()
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()
57 mDocs.createFolder(mSrcRoot, "hello"); in testMoveVirtualTypedFile()
59 mSrcRoot, "/hello/virtual.sth", "virtual/mime-type", in testMoveVirtualTypedFile()
68 mDocs.assertChildCount(mSrcRoot, 1); in testMoveVirtualTypedFile()
75 mDocs.assertChildCount(mSrcRoot, 1); in testMoveVirtualNonTypedFile()
80 mSrcRoot.documentId, "virtual/mime-type", "tokyo.sth", in testMove_BackendSideVirtualTypedFile_Fallback()
90 mDocs.assertChildCount(mSrcRoot, 1); in testMove_BackendSideVirtualTypedFile_Fallback()
96 mDocs.assertChildCount(mSrcRoot, 0); in testMoveEmptyDir()
[all …]
DAbstractCopyJobTest.java40 Uri testFile1 = mDocs.createDocument(mSrcRoot, "text/plain", "test1.txt"); in runCopyFilesTest()
43 Uri testFile2 = mDocs.createDocument(mSrcRoot, "text/plain", "test2.txt"); in runCopyFilesTest()
58 mSrcRoot, "/virtual.sth", "virtual/mime-type", in runCopyVirtualTypedFileTest()
72 mSrcRoot, "/virtual.sth", "virtual/mime-type", in runCopyVirtualNonTypedFileTest()
85 Uri testDir = mDocs.createFolder(mSrcRoot, "emptyDir"); in runCopyEmptyDirTest()
96 Uri testDir1 = mDocs.createFolder(mSrcRoot, "dir1"); in runCopyDirRecursivelyTest()
117 Uri testDir = mDocs.createFolder(mSrcRoot, "someDir"); in runNoCopyDirToSelfTest()
121 DocumentsContract.buildDocumentUri(AUTHORITY, mSrcRoot.documentId), in runNoCopyDirToSelfTest()
132 Uri testDir = mDocs.createFolder(mSrcRoot, "someDir"); in runNoCopyDirToDescendentTest()
137 DocumentsContract.buildDocumentUri(AUTHORITY, mSrcRoot.documentId), in runNoCopyDirToDescendentTest()
[all …]
DDeleteJobTest.java33 Uri testFile1 = mDocs.createDocument(mSrcRoot, "text/plain", "test1.txt"); in testDeleteFiles()
36 Uri testFile2 = mDocs.createDocument(mSrcRoot, "text/plain", "test2.txt"); in testDeleteFiles()
40 DocumentsContract.buildDocumentUri(AUTHORITY, mSrcRoot.documentId)).run(); in testDeleteFiles()
43 mDocs.assertChildCount(mSrcRoot, 0); 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()
56 mDocs.assertChildCount(mSrcRoot, 0); in testDeleteFiles_NoSrcParent()
63 Uri stack = DocumentsContract.buildDocumentUri(AUTHORITY, mSrcRoot.documentId); in createJob()
DJobErrorHandlingTest.java37 Uri validUri = mDocs.createDocument(mSrcRoot, "text/plain", "test2.txt"); in testRecoversFromInvalidUri()
42 DocumentsContract.buildDocumentUri(AUTHORITY, mSrcRoot.documentId)).run(); in testRecoversFromInvalidUri()
47 mDocs.assertChildCount(mSrcRoot, 0); in testRecoversFromInvalidUri()
52 Uri validUri = mDocs.createDocument(mSrcRoot, "text/plain", "test2.txt"); in testRecordsInvalidUris()
57 DocumentsContract.buildDocumentUri(AUTHORITY, mSrcRoot.documentId)).run(); in testRecordsInvalidUris()
66 Uri validUri = mDocs.createDocument(mSrcRoot, "text/plain", "test2.txt"); in testReportsCorrectFailureCount()
71 DocumentsContract.buildDocumentUri(AUTHORITY, mSrcRoot.documentId)).run(); in testReportsCorrectFailureCount()
81 Uri stack = DocumentsContract.buildDocumentUri(AUTHORITY, mSrcRoot.documentId); in createJob()
DAbstractJobTest.java56 RootInfo mSrcRoot; field in AbstractJobTest
93 mSrcRoot = mDocs.getRoot(ROOT_0_ID); in initTestFiles()
100 new DocumentStack(mSrcRoot, DocumentInfo.fromUri(mResolver, destination)); in createJob()
DCopyJobTest.java50 mSrcRoot.documentId, "virtual/mime-type", "tokyo.sth", in testCopy_BackendSideVirtualTypedFile_Fallback()