Home
last modified time | relevance | path

Searched refs:createJob (Results 1 – 9 of 9) sorted by relevance

/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/services/
DAbstractCopyJobTest.java53 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 …]
DAbstractJobTest.java113 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()
DJobErrorHandlingTest.java42 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()
DDeleteJobTest.java39 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()
DMoveJobTest.java47 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()
DCopyJobTest.java54 createJob(newArrayList(testFile)).run(); in testCopy_BackendSideVirtualTypedFile_Fallback()
DFileOperationServiceTest.java425 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/
DFileOperation.java98 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
DFileOperationService.java244 Job job = operation.createJob(this, this, jobId, features); in handleOperation()