Home
last modified time | relevance | path

Searched refs:FileOperations (Results 1 – 14 of 14) sorted by relevance

/packages/apps/DocumentsUI/src/com/android/documentsui/clipping/
DRuntimeDocumentClipper.java39 import com.android.documentsui.services.FileOperations;
223 FileOperations.Callback callback) { in copyFromClipboard()
231 FileOperations.Callback callback) { in copyFromClipboard()
241 FileOperations.Callback callback) { in copyFromClipData()
252 FileOperations.Callback callback) { in copyFromClipData()
262 FileOperations.Callback callback) { in copyFromClipData()
274 FileOperations.Callback.STATUS_REJECTED, getOpType(clipData), 0); in copyFromClipData()
281 FileOperations.Callback.STATUS_ACCEPTED, opType, 0); in copyFromClipData()
295 FileOperations.start(mContext, operation, callback, FileOperations.createJobId()); in copyFromClipData()
298 callback.onOperationResult(FileOperations.Callback.STATUS_REJECTED, opType, 0); in copyFromClipData()
DDocumentClipper.java29 import com.android.documentsui.services.FileOperations;
85 FileOperations.Callback callback); in copyFromClipboard()
96 FileOperations.Callback callback); in copyFromClipboard()
111 FileOperations.Callback callback); in copyFromClipData()
126 FileOperations.Callback callback); in copyFromClipData()
139 FileOperations.Callback callback); in copyFromClipData()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DDragAndDropManager.java40 import com.android.documentsui.services.FileOperations;
132 FileOperations.Callback callback); in drop()
144 FileOperations.Callback callback); in drop()
375 ActionHandler action, FileOperations.Callback callback) { in drop()
402 FileOperations.Callback callback) { in dropOnRootDocument()
405 FileOperations.Callback.STATUS_FAILED, in dropOnRootDocument()
420 FileOperations.Callback callback) { in drop()
436 @OpType int opType, FileOperations.Callback callback) { in dropChecked()
/packages/apps/DocumentsUI/src/com/android/documentsui/ui/
DDialogController.java34 import com.android.documentsui.services.FileOperations;
35 import com.android.documentsui.services.FileOperations.Callback.Status;
114 if (status == FileOperations.Callback.STATUS_REJECTED) { in showFileOperationStatus()
118 if (status == FileOperations.Callback.STATUS_FAILED) { in showFileOperationStatus()
DOperationProgressDialog.java30 import com.android.documentsui.services.FileOperations;
55 FileOperations.cancel(mActivity, mJobId); in OperationProgressDialog()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/ui/
DTestDialogController.java24 import com.android.documentsui.services.FileOperations;
88 Assert.assertEquals(FileOperations.Callback.STATUS_ACCEPTED, mFileOpStatus); in assertNoFileFailures()
92 Assert.assertEquals(FileOperations.Callback.STATUS_FAILED, mFileOpStatus); in assertFileOpFailed()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
DTestDragAndDropManager.java34 import com.android.documentsui.services.FileOperations;
73 FileOperations.Callback callback) { in drop()
79 FileOperations.Callback callback) { in drop()
DTestDocumentClipper.java30 import com.android.documentsui.services.FileOperations.Callback;
/packages/apps/DocumentsUI/src/com/android/documentsui/services/
DFileOperations.java42 public final class FileOperations { class
48 private FileOperations() {} in FileOperations() method in FileOperations
/packages/apps/DocumentsUI/src/com/android/documentsui/files/
DActionHandler.java76 import com.android.documentsui.services.FileOperations;
330 FileOperations.Callback.STATUS_FAILED, in deleteSelectedDocuments()
343 FileOperations.start(mActivity, operation, mDialogs::showFileOperationStatus, in deleteSelectedDocuments()
344 FileOperations.createJobId()); in deleteSelectedDocuments()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/services/
DAbstractJobTest.java119 mContext, listener, FileOperations.createJobId(), mFeatures); in createJob()
135 mContext, mJobListener, FileOperations.createJobId(), mFeatures); in createJob()
DFileOperationServiceTest.java21 import static com.android.documentsui.services.FileOperations.createBaseIntent;
22 import static com.android.documentsui.services.FileOperations.createJobId;
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DDirectoryFragment.java101 import com.android.documentsui.services.FileOperations;
480 final String jobId = FileOperations.createJobId(); in onCopyDestinationPicked()
482 FileOperations.start( in onCopyDestinationPicked()
858 final String jobId = FileOperations.createJobId(); in transferDocuments()
860 FileOperations.start( in transferDocuments()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/
DDragAndDropManagerTests.java41 import com.android.documentsui.services.FileOperations;
86 private FileOperations.Callback mCallback = new FileOperations.Callback() {
642 mCallbackListener.assertLastArgument(FileOperations.Callback.STATUS_FAILED); in testDrop_Fails_NotGetRootDoc()