Home
last modified time | relevance | path

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

/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
DCopyService.java132 final ArrayList<DocumentInfo> srcs = intent.getParcelableArrayListExtra(EXTRA_SRC_LIST); in onHandleIntent() local
138 srcs.get(0).authority); in onHandleIntent()
142 setupCopyJob(srcs, stack); in onHandleIntent()
144 for (int i = 0; i < srcs.size() && !mIsCancelled; ++i) { in onHandleIntent()
145 copy(srcs.get(i), stack.peek()); in onHandleIntent()
193 private void setupCopyJob(ArrayList<DocumentInfo> srcs, DocumentStack stack) in setupCopyJob() argument
225 mBatchSize = calculateFileSizes(srcs); in setupCopyJob()
247 private long calculateFileSizes(List<DocumentInfo> srcs) throws RemoteException { in calculateFileSizes() argument
249 for (DocumentInfo src : srcs) { in calculateFileSizes()
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/
DCopyTest.java245 private void copyToDestination(List<Uri> srcs) throws FileNotFoundException { in copyToDestination() argument
247 for (Uri src : srcs) { in copyToDestination()