Home
last modified time | relevance | path

Searched refs:UrisSupplier (Results 1 – 16 of 16) sorted by relevance

/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/clipping/
DUrisSupplierTest.java78 UrisSupplier uris = createWithShortList(); in testItemCountEquals_shortList()
85 UrisSupplier uris = createWithLongList(); in testItemCountEquals_longList()
92 UrisSupplier uris = createWithShortList(); in testGetDocsEquals_shortList()
99 UrisSupplier uris = createWithLongList(); in testGetDocsEquals_longList()
106 UrisSupplier uris = createWithShortList(); in testDispose_shortList()
113 UrisSupplier uris = createWithLongList(); in testDispose_longList()
118 private UrisSupplier createWithShortList() throws Exception { in createWithShortList()
119 return UrisSupplier.create(SHORT_URI_LIST, mStorage); in createWithShortList()
122 private UrisSupplier createWithLongList() throws Exception { in createWithLongList()
123 UrisSupplier uris = in createWithLongList()
[all …]
/packages/apps/DocumentsUI/src/com/android/documentsui/services/
DFileOperation.java39 import com.android.documentsui.clipping.UrisSupplier;
53 private final UrisSupplier mSrcs;
60 FileOperation(@OpType int opType, UrisSupplier srcs, DocumentStack destination) { in FileOperation()
78 public UrisSupplier getSrc() { in getSrc()
122 private CopyOperation(UrisSupplier srcs, DocumentStack destination) { in CopyOperation()
163 private CompressOperation(UrisSupplier srcs, DocumentStack destination) { in CompressOperation()
204 private ExtractOperation(UrisSupplier srcs, DocumentStack destination) { in ExtractOperation()
248 private MoveDeleteOperation(@OpType int opType, UrisSupplier srcs, in MoveDeleteOperation()
312 private UrisSupplier mSrcs;
325 public Builder withSrcs(UrisSupplier srcs) { in withSrcs()
DJob.java55 import com.android.documentsui.clipping.UrisSupplier;
101 final UrisSupplier mResourceUris;
128 @OpType int opType, DocumentStack stack, UrisSupplier srcs, Features features) { in Job()
DResolvedResourcesJob.java30 import com.android.documentsui.clipping.UrisSupplier;
50 DocumentStack destination, UrisSupplier srcs, Features features) { in ResolvedResourcesJob()
DDeleteJob.java35 import com.android.documentsui.clipping.UrisSupplier;
57 UrisSupplier srcs, @Nullable Uri srcParent, Features features) { in DeleteJob()
DCompressJob.java40 import com.android.documentsui.clipping.UrisSupplier;
60 UrisSupplier srcs, Messenger messenger, Features features) { in CompressJob()
DMoveJob.java41 import com.android.documentsui.clipping.UrisSupplier;
65 UrisSupplier srcs, @Nullable Uri srcParent, Messenger messenger, Features features) { in MoveJob()
DCopyJob.java73 import com.android.documentsui.clipping.UrisSupplier;
110 UrisSupplier srcs, Messenger messenger, Features features) { in CopyJob()
115 DocumentStack destination, UrisSupplier srcs, Messenger messenger, Features features) { in CopyJob()
/packages/apps/DocumentsUI/src/com/android/documentsui/clipping/
DUrisSupplier.java50 public abstract class UrisSupplier implements Parcelable { class
73 public static UrisSupplier create(ClipData clipData, ClipStore storage) throws IOException { in create()
74 UrisSupplier uris; in create()
85 public static UrisSupplier create( in create()
98 static UrisSupplier create(List<Uri> uris, ClipStore storage) throws IOException { in create()
99 UrisSupplier urisSupplier = (uris.size() > Shared.MAX_DOCS_IN_INTENT) in create()
106 private static class JumboUrisSupplier extends UrisSupplier {
210 public static class StandardUrisSupplier extends UrisSupplier {
DRuntimeDocumentClipper.java278 UrisSupplier uris = UrisSupplier.create(clipData, mClipStore); in copyFromClipData()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
DDocsProviders.java21 import com.android.documentsui.clipping.UrisSupplier;
28 public static UrisSupplier createDocsProvider(List<Uri> docs) { in createDocsProvider()
29 return new UrisSupplier.StandardUrisSupplier(docs); in createDocsProvider()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/services/
DFileOperationServiceTest.java40 import com.android.documentsui.clipping.UrisSupplier;
335 UrisSupplier urisSupplier = DocsProviders.createDocsProvider(uris); in createCopyIntent()
349 UrisSupplier urisSupplier = DocsProviders.createDocsProvider(uris); in createDeleteIntent()
413 private final UrisSupplier mSrcs;
417 @OpType int opType, UrisSupplier srcs, DocumentStack destination) { in TestFileOperation()
DAbstractJobTest.java38 import com.android.documentsui.clipping.UrisSupplier;
103 UrisSupplier urisSupplier = DocsProviders.createDocsProvider(srcs); in createOperation()
127 UrisSupplier urisSupplier = DocsProviders.createDocsProvider(srcs); in createJob()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/services/
DTestJob.java27 import com.android.documentsui.clipping.UrisSupplier;
43 UrisSupplier srcs, Runnable startRunnable, Features features) { in TestJob()
/packages/apps/DocumentsUI/src/com/android/documentsui/files/
DActionHandler.java68 import com.android.documentsui.clipping.UrisSupplier;
321 UrisSupplier srcs; in deleteSelectedDocuments()
323 srcs = UrisSupplier.create( in deleteSelectedDocuments()
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DDirectoryFragment.java95 import com.android.documentsui.clipping.UrisSupplier;
839 UrisSupplier srcs; in transferDocuments()
842 srcs = UrisSupplier.create(selected, mModel::getItemUri, clipStorage); in transferDocuments()