Home
last modified time | relevance | path

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

/packages/apps/DocumentsUI/tests/functional/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.java116 final T createJob(FileOperation operation) { in createJob() method in AbstractJobTest
117 return createJob(operation, mJobListener); in createJob()
120 final T createJob(FileOperation operation, Job.Listener listener) { in createJob() method in AbstractJobTest
121 return (T) operation.createJob( in createJob()
125 final T createJob(@OpType int opType, List<Uri> srcs, Uri srcParent, Uri destination) in createJob() method in AbstractJobTest
137 return (T) operation.createJob( in createJob()
DJobErrorHandlingTest.java43 createJob(newArrayList(invalidUri1, validUri, invalidUri2), in testRecoversFromInvalidUri()
58 createJob(newArrayList(invalidUri1, validUri, invalidUri2), in testRecordsInvalidUris()
72 createJob(newArrayList(invalidUri1, validUri, invalidUri2), in testReportsCorrectFailureCount()
82 private DeleteJob createJob(List<Uri> srcs, Uri srcParent) throws Exception { in createJob() method in JobErrorHandlingTest
84 return createJob(OPERATION_DELETE, srcs, srcParent, stack); in createJob()
DDeleteJobTest.java40 createJob(newArrayList(testFile1, testFile2), in testDeleteFiles()
54 createJob(newArrayList(testFile1, testFile2), null).run(); in testDeleteFiles_NoSrcParent()
63 private DeleteJob createJob(List<Uri> srcs, Uri srcParent) throws Exception { in createJob() method in DeleteJobTest
65 return createJob(OPERATION_DELETE, srcs, srcParent, stack); in createJob()
DMoveJobTest.java48 createJob(newArrayList(testFile1, testFile2), null).run(); in testMoveFiles_NoSrcParent()
63 createJob(newArrayList(testFile)).run(); in testMoveVirtualTypedFile()
86 createJob(newArrayList(testFile)).run(); in testMove_BackendSideVirtualTypedFile_Fallback()
DCopyJobTest.java55 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.java101 abstract Job createJob(Context service, Job.Listener listener, String id, Features features); in createJob() method in FileOperation
141 CopyJob createJob(Context service, Job.Listener listener, String id, Features features) { in createJob() method in FileOperation.CopyOperation
182 CopyJob createJob(Context service, Job.Listener listener, String id, Features features) { in createJob() method in FileOperation.CompressOperation
224 CopyJob createJob(Context service, Job.Listener listener, String id, Features features) { in createJob() method in FileOperation.ExtractOperation
259 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()