/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/services/ |
D | AbstractCopyJobTest.java | 53 createJob(newArrayList(testFile1, testFile2)).run(); in runCopyFilesTest() 68 createJob(newArrayList(testFile)).run(); in runCopyVirtualTypedFileTest() 82 createJob(newArrayList(testFile)).run(); in runCopyVirtualNonTypedFileTest() 94 CopyJob job = createJob(newArrayList(testDir)); in runCopyEmptyDirTest() 117 createJob(newArrayList(testDir1)).run(); in runCopyDirRecursivelyTest() 134 createJob(mOpType, in runNoCopyDirToSelfTest() 150 createJob(mOpType, in runNoCopyDirToDescendentTest() 169 createJob(newArrayList(testFile)).run(); in runCopyFileWithReadErrorsTest() 182 createJob(newArrayList(mDocs.createFolder(mSrcRoot, "dummyDir"))), in runCopyProgressForFileCountTest() 216 createJob(newArrayList(mDocs.createFolder(mSrcRoot, "dummyDir"))), in runCopyProgressForByteCountTest() [all …]
|
D | AbstractJobTest.java | 113 final T createJob(FileOperation operation) { in createJob() method in AbstractJobTest 114 return createJob(operation, mJobListener); in createJob() 117 final T createJob(FileOperation operation, Job.Listener listener) { in createJob() method in AbstractJobTest 118 return (T) operation.createJob( in createJob() 122 final T createJob(@OpType int opType, List<Uri> srcs, Uri srcParent, Uri destination) in createJob() method in AbstractJobTest 134 return (T) operation.createJob( in createJob()
|
D | JobErrorHandlingTest.java | 42 createJob(newArrayList(invalidUri1, validUri, invalidUri2), in testRecoversFromInvalidUri() 57 createJob(newArrayList(invalidUri1, validUri, invalidUri2), in testRecordsInvalidUris() 71 createJob(newArrayList(invalidUri1, validUri, invalidUri2), in testReportsCorrectFailureCount() 81 private final DeleteJob createJob(List<Uri> srcs, Uri srcParent) throws Exception { in createJob() method in JobErrorHandlingTest 83 return createJob(OPERATION_DELETE, srcs, srcParent, stack); in createJob()
|
D | DeleteJobTest.java | 39 createJob(newArrayList(testFile1, testFile2), in testDeleteFiles() 53 createJob(newArrayList(testFile1, testFile2), null).run(); in testDeleteFiles_NoSrcParent() 62 private final DeleteJob createJob(List<Uri> srcs, Uri srcParent) throws Exception { in createJob() method in DeleteJobTest 64 return createJob(OPERATION_DELETE, srcs, srcParent, stack); in createJob()
|
D | MoveJobTest.java | 47 createJob(newArrayList(testFile1, testFile2), null).run(); in testMoveFiles_NoSrcParent() 62 createJob(newArrayList(testFile)).run(); in testMoveVirtualTypedFile() 85 createJob(newArrayList(testFile)).run(); in testMove_BackendSideVirtualTypedFile_Fallback()
|
D | CopyJobTest.java | 54 createJob(newArrayList(testFile)).run(); in testCopy_BackendSideVirtualTypedFile_Fallback()
|
D | FileOperationServiceTest.java | 425 public Job createJob(Context service, Job.Listener listener, String id, Features features) { in createJob() method in FileOperationServiceTest.TestFileOperation
|
/packages/apps/DocumentsUI/src/com/android/documentsui/services/ |
D | FileOperation.java | 98 abstract Job createJob(Context service, Job.Listener listener, String id, Features features); in createJob() method in FileOperation 138 CopyJob createJob(Context service, Job.Listener listener, String id, Features features) { in createJob() method in FileOperation.CopyOperation 179 CopyJob createJob(Context service, Job.Listener listener, String id, Features features) { in createJob() method in FileOperation.CompressOperation 221 CopyJob createJob(Context service, Job.Listener listener, String id, Features features) { in createJob() method in FileOperation.ExtractOperation 256 Job createJob(Context service, Job.Listener listener, String id, Features features) { in createJob() method in FileOperation.MoveDeleteOperation
|
D | FileOperationService.java | 244 Job job = operation.createJob(this, this, jobId, features); in handleOperation()
|