/packages/apps/DocumentsUI/src/com/android/documentsui/ |
D | Metrics.java | 43 import com.android.documentsui.services.FileOperationService; 44 import com.android.documentsui.services.FileOperationService.OpType; 134 case FileOperationService.OPERATION_COPY: in logFileOperated() 138 case FileOperationService.OPERATION_MOVE: in logFileOperated() 180 case FileOperationService.OPERATION_COPY: in logFileOperationErrors() 183 case FileOperationService.OPERATION_COMPRESS: in logFileOperationErrors() 186 case FileOperationService.OPERATION_EXTRACT: in logFileOperationErrors() 189 case FileOperationService.OPERATION_DELETE: in logFileOperationErrors() 192 case FileOperationService.OPERATION_MOVE: in logFileOperationErrors() 281 if (operationType == FileOperationService.OPERATION_DELETE) { in logInterProviderFileOps() [all …]
|
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 | DragAndDropManager.java | 38 import com.android.documentsui.services.FileOperationService; 39 import com.android.documentsui.services.FileOperationService.OpType; 245 ? mClipper.getClipDataForDocuments(uris, FileOperationService.OPERATION_UNKNOWN) in startDrag() 247 uris, FileOperationService.OPERATION_UNKNOWN, parent); in startDrag() 336 case FileOperationService.OPERATION_COPY: in updateState() 339 case FileOperationService.OPERATION_MOVE: in updateState() 468 return FileOperationService.OPERATION_COPY; in calculateOpType() 479 ? FileOperationService.OPERATION_COPY in calculateOpType() 480 : FileOperationService.OPERATION_MOVE; in calculateOpType() 483 ? 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 | 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 | DialogController.java | 32 import com.android.documentsui.services.FileOperationService; 33 import com.android.documentsui.services.FileOperationService.OpType; 135 case FileOperationService.OPERATION_MOVE: in showFileOperationStatus() 138 case FileOperationService.OPERATION_COPY: in showFileOperationStatus() 141 case FileOperationService.OPERATION_COMPRESS: in showFileOperationStatus() 144 case FileOperationService.OPERATION_EXTRACT: in showFileOperationStatus() 147 case FileOperationService.OPERATION_DELETE: in showFileOperationStatus() 157 if (opType == FileOperationService.OPERATION_DELETE) { in shouldShowProgressDialogForOperation() 166 assert(operation.getOpType() != FileOperationService.OPERATION_UNKNOWN); in showProgressDialog()
|
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; 57 import com.android.documentsui.services.FileOperationService.OpType; 334 ? new Notification.Builder(service, FileOperationService.NOTIFICATION_CHANNEL_ID) in createNotificationBuilder() 351 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 | 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; 40 import com.android.documentsui.services.FileOperationService.OpType;
|
D | CopyJob.java | 29 import static com.android.documentsui.services.FileOperationService.EXTRA_DIALOG_TYPE; 30 import static com.android.documentsui.services.FileOperationService.EXTRA_FAILED_DOCS; 31 import static com.android.documentsui.services.FileOperationService.EXTRA_OPERATION_TYPE; 32 import static com.android.documentsui.services.FileOperationService.MESSAGE_FINISH; 33 import static com.android.documentsui.services.FileOperationService.MESSAGE_PROGRESS; 34 import static com.android.documentsui.services.FileOperationService.OPERATION_COPY; 75 import com.android.documentsui.services.FileOperationService.OpType;
|
/packages/apps/DocumentsUI/tests/unit/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;
|
/packages/apps/DocumentsUI/src/com/android/documentsui/picker/ |
D | PickFragment.java | 19 import static com.android.documentsui.services.FileOperationService.OPERATION_DELETE; 20 import static com.android.documentsui.services.FileOperationService.OPERATION_COPY; 21 import static com.android.documentsui.services.FileOperationService.OPERATION_COMPRESS; 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; 44 import com.android.documentsui.services.FileOperationService.OpType;
|
D | PickActivity.java | 60 import com.android.documentsui.services.FileOperationService; 249 FileOperationService.EXTRA_OPERATION_TYPE, in includeState() 250 FileOperationService.OPERATION_COPY); in includeState()
|
D | ActionHandler.java | 63 import com.android.documentsui.services.FileOperationService; 461 intent.putExtra(FileOperationService.EXTRA_OPERATION_TYPE, mState.copyOperationSubType); in onPickFinished()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/ |
D | DirectoryFragment.java | 99 import com.android.documentsui.services.FileOperationService; 100 import com.android.documentsui.services.FileOperationService.OpType; 677 transferDocuments(selection, null, FileOperationService.OPERATION_COPY); in handleMenuItemClick() 685 FileOperationService.OPERATION_COMPRESS); in handleMenuItemClick() 693 transferDocuments(selection, null, FileOperationService.OPERATION_EXTRACT); in handleMenuItemClick() 706 transferDocuments(selection, null, FileOperationService.OPERATION_MOVE); in handleMenuItemClick() 827 case FileOperationService.OPERATION_COPY: in transferDocuments() 830 case FileOperationService.OPERATION_COMPRESS: in transferDocuments() 833 case FileOperationService.OPERATION_EXTRACT: in transferDocuments() 836 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/src/com/android/documentsui/files/ |
D | FilesActivity.java | 57 import com.android.documentsui.services.FileOperationService; 207 FileOperationService.EXTRA_DIALOG_TYPE, DIALOG_TYPE_UNKNOWN); in presentFileErrors() 212 FileOperationService.EXTRA_OPERATION_TYPE, in presentFileErrors() 213 FileOperationService.OPERATION_COPY); in presentFileErrors() 215 intent.getParcelableArrayListExtra(FileOperationService.EXTRA_FAILED_DOCS); in presentFileErrors() 217 intent.getParcelableArrayListExtra(FileOperationService.EXTRA_FAILED_URIS); in presentFileErrors()
|
D | ActionHandler.java | 75 import com.android.documentsui.services.FileOperationService; 331 FileOperationService.OPERATION_DELETE, in deleteSelectedDocuments() 337 .withOpType(FileOperationService.OPERATION_DELETE) in deleteSelectedDocuments()
|
/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/base/ |
D | State.java | 26 import com.android.documentsui.services.FileOperationService; 27 import com.android.documentsui.services.FileOperationService.OpType; 100 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) { 668 mClipper.opType.assertLastArgument(FileOperationService.OPERATION_COPY); in testDrop_Copies_DifferentRoot_DropOnRoot() 694 mClipper.opType.assertLastArgument(FileOperationService.OPERATION_MOVE); in testDrop_Moves_SameRoot_DropOnRoot() 727 mClipper.opType.assertLastArgument(FileOperationService.OPERATION_COPY); in testDrop_Copies_SameRoot_DropOnRoot_ReleasesCtrlBeforeGettingRootDocument() 768 mClipper.opType.assertLastArgument(FileOperationService.OPERATION_COPY); in testDrop_Copies_DifferentRoot_DropOnDocument() 790 mClipper.opType.assertLastArgument(FileOperationService.OPERATION_MOVE); in testDrop_Moves_SameRoot_DropOnDocument() 812 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 {
|