/packages/apps/DocumentsUI/src/com/android/documentsui/ |
D | OperationDialogFragment.java | 32 import com.android.documentsui.services.FileOperationService; 33 import com.android.documentsui.services.FileOperationService.OpType; 71 args.putInt(FileOperationService.EXTRA_DIALOG_TYPE, dialogType); in show() 72 args.putInt(FileOperationService.EXTRA_OPERATION_TYPE, operationType); in show() 73 args.putParcelableArrayList(FileOperationService.EXTRA_FAILED_DOCS, failedSrcList); in show() 74 args.putParcelableArrayList(FileOperationService.EXTRA_FAILED_URIS, uriList); in show() 89 getArguments().getInt(FileOperationService.EXTRA_DIALOG_TYPE); in onCreateDialog() 91 getArguments().getInt(FileOperationService.EXTRA_OPERATION_TYPE); in onCreateDialog() 93 FileOperationService.EXTRA_FAILED_URIS); in onCreateDialog() 95 FileOperationService.EXTRA_FAILED_DOCS); in onCreateDialog()
|
D | Metrics.java | 46 import com.android.documentsui.services.FileOperationService; 47 import com.android.documentsui.services.FileOperationService.OpType; 156 case FileOperationService.OPERATION_COPY: in logFileOperated() 160 case FileOperationService.OPERATION_MOVE: in logFileOperated() 202 case FileOperationService.OPERATION_COPY: in logFileOperationErrors() 205 case FileOperationService.OPERATION_COMPRESS: in logFileOperationErrors() 208 case FileOperationService.OPERATION_EXTRACT: in logFileOperationErrors() 211 case FileOperationService.OPERATION_DELETE: in logFileOperationErrors() 214 case FileOperationService.OPERATION_MOVE: in logFileOperationErrors() 303 if (operationType == FileOperationService.OPERATION_DELETE) { in logInterProviderFileOps() [all …]
|
D | DragAndDropManager.java | 39 import com.android.documentsui.services.FileOperationService; 40 import com.android.documentsui.services.FileOperationService.OpType; 254 ? mClipper.getClipDataForDocuments(uris, FileOperationService.OPERATION_UNKNOWN) in startDrag() 256 uris, FileOperationService.OPERATION_UNKNOWN, parent); in startDrag() 345 case FileOperationService.OPERATION_COPY: in updateState() 348 case FileOperationService.OPERATION_MOVE: in updateState() 483 return FileOperationService.OPERATION_COPY; in calculateOpType() 494 ? FileOperationService.OPERATION_COPY in calculateOpType() 495 : FileOperationService.OPERATION_MOVE; in calculateOpType() 498 ? FileOperationService.OPERATION_MOVE in calculateOpType() [all …]
|
D | AbstractDragHost.java | 22 import com.android.documentsui.services.FileOperationService;
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ui/ |
D | DialogController.java | 27 import com.android.documentsui.services.FileOperationService; 28 import com.android.documentsui.services.FileOperationService.OpType; 94 case FileOperationService.OPERATION_MOVE: in showFileOperationStatus() 97 case FileOperationService.OPERATION_COPY: in showFileOperationStatus() 100 case FileOperationService.OPERATION_COMPRESS: in showFileOperationStatus() 103 case FileOperationService.OPERATION_EXTRACT: in showFileOperationStatus() 106 case FileOperationService.OPERATION_DELETE: in showFileOperationStatus() 116 if (opType == FileOperationService.OPERATION_DELETE) { in shouldShowProgressDialogForOperation() 125 assert(operation.getOpType() != FileOperationService.OPERATION_UNKNOWN); in showProgressDialog()
|
D | OperationProgressDialog.java | 29 import com.android.documentsui.services.FileOperationService; 67 case FileOperationService.MESSAGE_PROGRESS: in OperationProgressDialog() 77 case FileOperationService.MESSAGE_FINISH: in OperationProgressDialog() 92 case FileOperationService.OPERATION_COPY: in create() 96 case FileOperationService.OPERATION_COMPRESS: in create() 100 case FileOperationService.OPERATION_EXTRACT: in create() 104 case FileOperationService.OPERATION_MOVE: in create() 108 case FileOperationService.OPERATION_DELETE: in create()
|
D | MessageBuilder.java | 28 import com.android.documentsui.services.FileOperationService; 29 import com.android.documentsui.services.FileOperationService.OpType; 94 case FileOperationService.OPERATION_COPY: in generateListMessage() 97 case FileOperationService.OPERATION_COMPRESS: in generateListMessage() 100 case FileOperationService.OPERATION_EXTRACT: in generateListMessage() 103 case FileOperationService.OPERATION_DELETE: in generateListMessage() 106 case FileOperationService.OPERATION_MOVE: in generateListMessage()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/services/ |
D | Job.java | 22 import static com.android.documentsui.services.FileOperationService.EXTRA_CANCEL; 23 import static com.android.documentsui.services.FileOperationService.EXTRA_DIALOG_TYPE; 24 import static com.android.documentsui.services.FileOperationService.EXTRA_FAILED_DOCS; 25 import static com.android.documentsui.services.FileOperationService.EXTRA_FAILED_URIS; 26 import static com.android.documentsui.services.FileOperationService.EXTRA_JOB_ID; 27 import static com.android.documentsui.services.FileOperationService.EXTRA_OPERATION_TYPE; 28 import static com.android.documentsui.services.FileOperationService.OPERATION_UNKNOWN; 59 import com.android.documentsui.services.FileOperationService.OpType; 351 ? new Notification.Builder(service, FileOperationService.NOTIFICATION_CHANNEL_ID) in createNotificationBuilder() 368 final Intent cancelIntent = new Intent(service, FileOperationService.class); in createCancelIntent()
|
D | FileOperations.java | 21 import static com.android.documentsui.services.FileOperationService.EXTRA_CANCEL; 22 import static com.android.documentsui.services.FileOperationService.EXTRA_JOB_ID; 23 import static com.android.documentsui.services.FileOperationService.EXTRA_OPERATION; 32 import com.android.documentsui.services.FileOperationService.OpType; 83 Intent intent = new Intent(activity, FileOperationService.class); in cancel() 100 Intent intent = new Intent(context, FileOperationService.class); in createBaseIntent()
|
D | FileOperation.java | 21 import static com.android.documentsui.services.FileOperationService.OPERATION_COMPRESS; 22 import static com.android.documentsui.services.FileOperationService.OPERATION_COPY; 23 import static com.android.documentsui.services.FileOperationService.OPERATION_DELETE; 24 import static com.android.documentsui.services.FileOperationService.OPERATION_EXTRACT; 25 import static com.android.documentsui.services.FileOperationService.OPERATION_MOVE; 26 import static com.android.documentsui.services.FileOperationService.OPERATION_UNKNOWN; 42 import com.android.documentsui.services.FileOperationService.OpType;
|
D | CopyJob.java | 32 import static com.android.documentsui.services.FileOperationService.EXTRA_DIALOG_TYPE; 33 import static com.android.documentsui.services.FileOperationService.EXTRA_FAILED_DOCS; 34 import static com.android.documentsui.services.FileOperationService.EXTRA_OPERATION_TYPE; 35 import static com.android.documentsui.services.FileOperationService.MESSAGE_FINISH; 36 import static com.android.documentsui.services.FileOperationService.MESSAGE_PROGRESS; 37 import static com.android.documentsui.services.FileOperationService.OPERATION_COPY; 86 import com.android.documentsui.services.FileOperationService.OpType;
|
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/services/ |
D | FileOperationServiceTest.java | 19 import static com.android.documentsui.services.FileOperationService.OPERATION_COPY; 20 import static com.android.documentsui.services.FileOperationService.OPERATION_DELETE; 41 import com.android.documentsui.services.FileOperationService.OpType; 52 public class FileOperationServiceTest extends ServiceTestCase<FileOperationService> { 64 private FileOperationService mService; 72 super(FileOperationService.class); in FileOperationServiceTest() 307 FileOperationService.NOTIFICATION_ID_PROGRESS, null); in testNotificationUpdateAfterForegroundJobSwitch() 311 FileOperationService.NOTIFICATION_ID_PROGRESS, job2.id); in testNotificationUpdateAfterForegroundJobSwitch() 316 FileOperationService.NOTIFICATION_ID_PROGRESS, null); in testNotificationUpdateAfterForegroundJobSwitch() 318 FileOperationService.NOTIFICATION_ID_PROGRESS, job2.id); in testNotificationUpdateAfterForegroundJobSwitch()
|
D | CopyJobTest.java | 19 import static com.android.documentsui.services.FileOperationService.OPERATION_COPY;
|
D | DeleteJobTest.java | 19 import static com.android.documentsui.services.FileOperationService.OPERATION_DELETE;
|
/packages/apps/DocumentsUI/src/com/android/documentsui/picker/ |
D | PickFragment.java | 19 import static com.android.documentsui.services.FileOperationService.OPERATION_COMPRESS; 20 import static com.android.documentsui.services.FileOperationService.OPERATION_COPY; 21 import static com.android.documentsui.services.FileOperationService.OPERATION_DELETE; 22 import static com.android.documentsui.services.FileOperationService.OPERATION_EXTRACT; 23 import static com.android.documentsui.services.FileOperationService.OPERATION_MOVE; 24 import static com.android.documentsui.services.FileOperationService.OPERATION_UNKNOWN; 42 import com.android.documentsui.services.FileOperationService.OpType;
|
D | PickActivity.java | 63 import com.android.documentsui.services.FileOperationService; 266 FileOperationService.EXTRA_OPERATION_TYPE, in includeState() 267 FileOperationService.OPERATION_COPY); in includeState()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/ |
D | DirectoryFragment.java | 108 import com.android.documentsui.services.FileOperationService; 109 import com.android.documentsui.services.FileOperationService.OpType; 857 transferDocuments(selection, null, FileOperationService.OPERATION_COPY); in handleMenuItemClick() 865 FileOperationService.OPERATION_COMPRESS); in handleMenuItemClick() 873 transferDocuments(selection, null, FileOperationService.OPERATION_EXTRACT); in handleMenuItemClick() 886 transferDocuments(selection, null, FileOperationService.OPERATION_MOVE); in handleMenuItemClick() 1021 case FileOperationService.OPERATION_COPY: in transferDocuments() 1024 case FileOperationService.OPERATION_COMPRESS: in transferDocuments() 1027 case FileOperationService.OPERATION_EXTRACT: in transferDocuments() 1030 case FileOperationService.OPERATION_MOVE: in transferDocuments() [all …]
|
D | DirectoryState.java | 24 import com.android.documentsui.services.FileOperationService; 54 mPendingOperation = bundle.getParcelable(FileOperationService.EXTRA_OPERATION); in restore() 63 bundle.putParcelable(FileOperationService.EXTRA_OPERATION, mPendingOperation); in save()
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/ |
D | TestDocumentClipper.java | 28 import com.android.documentsui.services.FileOperationService; 29 import com.android.documentsui.services.FileOperationService.OpType; 60 @FileOperationService.OpType int opType) { in getClipDataForDocuments() 66 @FileOperationService.OpType int opType, DocumentInfo parent) { in getClipDataForDocuments()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/files/ |
D | FilesActivity.java | 60 import com.android.documentsui.services.FileOperationService; 220 FileOperationService.EXTRA_DIALOG_TYPE, DIALOG_TYPE_UNKNOWN); in presentFileErrors() 225 FileOperationService.EXTRA_OPERATION_TYPE, in presentFileErrors() 226 FileOperationService.OPERATION_COPY); in presentFileErrors() 228 intent.getParcelableArrayListExtra(FileOperationService.EXTRA_FAILED_DOCS); in presentFileErrors() 230 intent.getParcelableArrayListExtra(FileOperationService.EXTRA_FAILED_URIS); in presentFileErrors()
|
D | ActionHandler.java | 73 import com.android.documentsui.services.FileOperationService; 334 FileOperationService.OPERATION_DELETE, in deleteSelectedDocuments() 340 .withOpType(FileOperationService.OPERATION_DELETE) in deleteSelectedDocuments()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/base/ |
D | State.java | 26 import com.android.documentsui.services.FileOperationService; 27 import com.android.documentsui.services.FileOperationService.OpType; 113 public @OpType int copyOperationSubType = FileOperationService.OPERATION_UNKNOWN;
|
/packages/apps/DocumentsUI/src/com/android/documentsui/clipping/ |
D | RuntimeDocumentClipper.java | 37 import com.android.documentsui.services.FileOperationService; 38 import com.android.documentsui.services.FileOperationService.OpType; 196 getClipDataForDocuments(uriBuilder, selection, FileOperationService.OPERATION_COPY); in clipDocumentsForCopy() 209 FileOperationService.OPERATION_MOVE); in clipDocumentsForCut()
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/ |
D | DragAndDropManagerTests.java | 40 import com.android.documentsui.services.FileOperationService; 89 @FileOperationService.OpType int opType, int docCount) { 706 mClipper.opType.assertLastArgument(FileOperationService.OPERATION_COPY); in testDrop_Copies_DifferentRoot_DropOnRoot() 732 mClipper.opType.assertLastArgument(FileOperationService.OPERATION_MOVE); in testDrop_Moves_SameRoot_DropOnRoot() 765 mClipper.opType.assertLastArgument(FileOperationService.OPERATION_COPY); in testDrop_Copies_SameRoot_DropOnRoot_ReleasesCtrlBeforeGettingRootDocument() 806 mClipper.opType.assertLastArgument(FileOperationService.OPERATION_COPY); in testDrop_Copies_DifferentRoot_DropOnDocument() 828 mClipper.opType.assertLastArgument(FileOperationService.OPERATION_MOVE); in testDrop_Moves_SameRoot_DropOnDocument() 850 mClipper.opType.assertLastArgument(FileOperationService.OPERATION_COPY); in testDrop_Copies_SameRoot_ReadOnlyFile_DropOnDocument()
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/services/ |
D | TestForegroundManager.java | 24 class TestForegroundManager implements FileOperationService.ForegroundManager {
|