Home
last modified time | relevance | path

Searched refs:srcs (Results 1 – 21 of 21) sorted by relevance

/packages/apps/DocumentsUI/src/com/android/documentsui/services/
DFileOperation.java59 FileOperation(@OpType int opType, UrisSupplier srcs, DocumentStack destination) { in FileOperation() argument
61 assert(srcs.getItemCount() > 0); in FileOperation()
64 mSrcs = srcs; in FileOperation()
121 private CopyOperation(UrisSupplier srcs, DocumentStack destination) { in CopyOperation() argument
122 super(OPERATION_COPY, srcs, destination); in CopyOperation()
161 private CompressOperation(UrisSupplier srcs, DocumentStack destination) { in CompressOperation() argument
162 super(OPERATION_COMPRESS, srcs, destination); in CompressOperation()
201 private ExtractOperation(UrisSupplier srcs, DocumentStack destination) { in ExtractOperation() argument
202 super(OPERATION_EXTRACT, srcs, destination); in ExtractOperation()
244 private MoveDeleteOperation(@OpType int opType, UrisSupplier srcs, in MoveDeleteOperation() argument
[all …]
DResolvedResourcesJob.java50 DocumentStack destination, UrisSupplier srcs, Features features) { in ResolvedResourcesJob() argument
51 super(service, listener, id, opType, destination, srcs, features); in ResolvedResourcesJob()
53 assert(srcs.getItemCount() > 0); in ResolvedResourcesJob()
56 mResolvedDocs = new ArrayList<>(srcs.getItemCount()); in ResolvedResourcesJob()
DCopyJob.java111 UrisSupplier srcs, Messenger messenger, Features features) { in CopyJob() argument
112 this(service, listener, id, OPERATION_COPY, destination, srcs, messenger, features); in CopyJob()
116 DocumentStack destination, UrisSupplier srcs, Messenger messenger, Features features) { in CopyJob() argument
117 super(service, listener, id, opType, destination, srcs, features); in CopyJob()
121 assert(srcs.getItemCount() > 0); in CopyJob()
DDeleteJob.java55 UrisSupplier srcs, @Nullable Uri srcParent, Features features) { in DeleteJob() argument
56 super(service, listener, id, OPERATION_DELETE, stack, srcs, features); in DeleteJob()
DCompressJob.java60 UrisSupplier srcs, Messenger messenger, Features features) { in CompressJob() argument
61 super(service, listener, id, OPERATION_MOVE, destination, srcs, messenger, features); in CompressJob()
DMoveJob.java62 UrisSupplier srcs, @Nullable Uri srcParent, Messenger messenger, Features features) { in MoveJob() argument
63 super(service, listener, id, OPERATION_MOVE, destination, srcs, messenger, features); in MoveJob()
DJob.java121 @OpType int opType, DocumentStack stack, UrisSupplier srcs, Features features) { in Job() argument
132 this.mResourceUris = srcs; in Job()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DDragAndDropManager.java79 List<DocumentInfo> srcs, in startDrag() argument
228 List<DocumentInfo> srcs, in startDrag() argument
239 List<Uri> uris = new ArrayList<>(srcs.size()); in startDrag()
240 for (DocumentInfo doc : srcs) { in startDrag()
250 updateShadow(srcs, iconHelper); in startDrag()
265 private void updateShadow(List<DocumentInfo> srcs, IconHelper iconHelper) { in updateShadow() argument
269 final int size = srcs.size(); in updateShadow()
271 DocumentInfo doc = srcs.get(0); in updateShadow()
DMetrics.java512 List<DocumentInfo> srcs, in logFileOperation() argument
516 countProviders(counts, srcs, dst); in logFileOperation()
1039 ProviderCounts counts, List<DocumentInfo> srcs, @Nullable DocumentInfo dst) { in countProviders() argument
1040 for (DocumentInfo doc: srcs) { in countProviders()
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DDragStartListener.java128 final List<DocumentInfo> srcs = mDocsConverter.apply(selection); in startDrag() local
130 final List<Uri> invalidDest = new ArrayList<>(srcs.size() + 1); in startDrag()
131 for (DocumentInfo doc : srcs) { in startDrag()
141 mDragAndDropManager.startDrag(view, srcs, mState.stack.getRoot(), invalidDest, in startDrag()
DDirectoryFragment.java775 UrisSupplier srcs; in transferDocuments() local
778 srcs = UrisSupplier.create(selected, mModel::getItemUri, clipStorage); in transferDocuments()
787 .withSrcs(srcs) in transferDocuments()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/services/
DAbstractCopyJobTest.java173 final T createJob(List<Uri> srcs) throws Exception { in createJob() argument
175 return createJob(srcs, srcParent); in createJob()
178 final T createJob(List<Uri> srcs, Uri srcParent) throws Exception { in createJob() argument
180 return createJob(mOpType, srcs, srcParent, destination); in createJob()
DDeleteJobTest.java62 private final DeleteJob createJob(List<Uri> srcs, Uri srcParent) throws Exception { in createJob() argument
64 return createJob(OPERATION_DELETE, srcs, srcParent, stack); in createJob()
DJobErrorHandlingTest.java80 private final DeleteJob createJob(List<Uri> srcs, Uri srcParent) throws Exception { in createJob() argument
82 return createJob(OPERATION_DELETE, srcs, srcParent, stack); in createJob()
DFileOperationServiceTest.java387 @OpType int opType, UrisSupplier srcs, DocumentStack destination) { in TestFileOperation() argument
388 super(opType, srcs, destination); in TestFileOperation()
390 mSrcs = srcs; in TestFileOperation()
DAbstractJobTest.java97 final T createJob(@OpType int opType, List<Uri> srcs, Uri srcParent, Uri destination) in createJob() argument
102 UrisSupplier urisSupplier = DocsProviders.createDocsProvider(srcs); in createJob()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/services/
DTestJob.java43 UrisSupplier srcs, Runnable startRunnable, Features features) { in TestJob() argument
44 super(service, listener, id, opType, stack, srcs, features); in TestJob()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
DTestDragAndDropManager.java50 public void startDrag(View v, List<DocumentInfo> srcs, RootInfo root, List<Uri> invalidDest, in startDrag() argument
52 startDragHandler.accept(srcs); in startDrag()
/packages/apps/DocumentsUI/src/com/android/documentsui/files/
DActionHandler.java312 UrisSupplier srcs; in deleteSelectedDocuments()
314 srcs = UrisSupplier.create( in deleteSelectedDocuments()
330 .withSrcs(srcs) in deleteSelectedDocuments()
/packages/apps/Terminal/jni/
DAndroid.bp4 srcs: [
/packages/apps/Bluetooth/jni/
DAndroid.bp3 srcs: [