Home
last modified time | relevance | path

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

/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/services/
DMoveJobTest.java38 mDocs.assertChildCount(mSrcRoot, 0); in testMoveFiles()
42 Uri testFile1 = mDocs.createDocument(mSrcRoot, "text/plain", "test1.txt"); in testMoveFiles_NoSrcParent()
45 Uri testFile2 = mDocs.createDocument(mSrcRoot, "text/plain", "test2.txt"); in testMoveFiles_NoSrcParent()
59 mDocs.createFolder(mSrcRoot, "hello"); in testMoveVirtualTypedFile()
61 mSrcRoot, "/hello/virtual.sth", "virtual/mime-type", in testMoveVirtualTypedFile()
70 mDocs.assertChildCount(mSrcRoot, 1); in testMoveVirtualTypedFile()
77 mDocs.assertChildCount(mSrcRoot, 1); in testMoveVirtualNonTypedFile()
82 mSrcRoot.documentId, "virtual/mime-type", "tokyo.sth", in testMove_BackendSideVirtualTypedFile_Fallback()
92 mDocs.assertChildCount(mSrcRoot, 1); in testMove_BackendSideVirtualTypedFile_Fallback()
98 mDocs.assertChildCount(mSrcRoot, 0); in testMoveEmptyDir()
[all …]
DAbstractCopyJobTest.java47 Uri testFile1 = mDocs.createDocument(mSrcRoot, "text/plain", "test1.txt"); in runCopyFilesTest()
50 Uri testFile2 = mDocs.createDocument(mSrcRoot, "text/plain", "test2.txt"); in runCopyFilesTest()
65 mSrcRoot, "/virtual.sth", "virtual/mime-type", in runCopyVirtualTypedFileTest()
79 mSrcRoot, "/virtual.sth", "virtual/mime-type", in runCopyVirtualNonTypedFileTest()
92 Uri testDir = mDocs.createFolder(mSrcRoot, "emptyDir"); in runCopyEmptyDirTest()
111 Uri testDir1 = mDocs.createFolder(mSrcRoot, "dir1"); in runCopyDirRecursivelyTest()
132 Uri testDir = mDocs.createFolder(mSrcRoot, "someDir"); in runNoCopyDirToSelfTest()
136 DocumentsContract.buildDocumentUri(AUTHORITY, mSrcRoot.documentId), in runNoCopyDirToSelfTest()
147 Uri testDir = mDocs.createFolder(mSrcRoot, "someDir"); in runNoCopyDirToDescendentTest()
152 DocumentsContract.buildDocumentUri(AUTHORITY, mSrcRoot.documentId), in runNoCopyDirToDescendentTest()
[all …]
DDeleteJobTest.java34 Uri testFile1 = mDocs.createDocument(mSrcRoot, "text/plain", "test1.txt"); in testDeleteFiles()
37 Uri testFile2 = mDocs.createDocument(mSrcRoot, "text/plain", "test2.txt"); in testDeleteFiles()
41 DocumentsContract.buildDocumentUri(AUTHORITY, mSrcRoot.documentId)).run(); in testDeleteFiles()
44 mDocs.assertChildCount(mSrcRoot, 0); in testDeleteFiles()
48 Uri testFile1 = mDocs.createDocument(mSrcRoot, "text/plain", "test1.txt"); in testDeleteFiles_NoSrcParent()
51 Uri testFile2 = mDocs.createDocument(mSrcRoot, "text/plain", "test2.txt"); in testDeleteFiles_NoSrcParent()
57 mDocs.assertChildCount(mSrcRoot, 0); in testDeleteFiles_NoSrcParent()
64 Uri stack = DocumentsContract.buildDocumentUri(AUTHORITY, mSrcRoot.documentId); in createJob()
DJobErrorHandlingTest.java39 Uri validUri = mDocs.createDocument(mSrcRoot, "text/plain", "test2.txt"); in testRecoversFromInvalidUri()
44 DocumentsContract.buildDocumentUri(AUTHORITY, mSrcRoot.documentId)).run(); in testRecoversFromInvalidUri()
49 mDocs.assertChildCount(mSrcRoot, 0); in testRecoversFromInvalidUri()
54 Uri validUri = mDocs.createDocument(mSrcRoot, "text/plain", "test2.txt"); in testRecordsInvalidUris()
59 DocumentsContract.buildDocumentUri(AUTHORITY, mSrcRoot.documentId)).run(); in testRecordsInvalidUris()
68 Uri validUri = mDocs.createDocument(mSrcRoot, "text/plain", "test2.txt"); in testReportsCorrectFailureCount()
73 DocumentsContract.buildDocumentUri(AUTHORITY, mSrcRoot.documentId)).run(); in testReportsCorrectFailureCount()
83 Uri stack = DocumentsContract.buildDocumentUri(AUTHORITY, mSrcRoot.documentId); in createJob()
DAbstractJobTest.java57 RootInfo mSrcRoot; field in AbstractJobTest
97 mSrcRoot = mDocs.getRoot(ROOT_0_ID); in initTestFiles()
104 new DocumentStack(mSrcRoot, DocumentInfo.fromUri(mResolver, destination, mUserId)); in createOperation()
128 new DocumentStack(mSrcRoot, DocumentInfo.fromUri(mResolver, destination, mUserId)); in createJob()
DCopyJobTest.java51 mSrcRoot.documentId, "virtual/mime-type", "tokyo.sth", in testCopy_BackendSideVirtualTypedFile_Fallback()