1008a11233c9edb6544a1e4d65e291bb16066fa3 |
|
02-Mar-2016 |
Tomasz Mikolajewski <mtomasz@google.com> |
Fallback to byte-by-byte copy/move if optimized fails. Sometimes providers may refuse to do a provider-side copy/move even though the documents had the SUPPORTS_COPY/MOVE flags set. This is because optimized copy/move may be only supported within the same root. Since there is no easy way to check if documents are on the same roots from DocumentsUI, as well as whether the provider can actually copy/move efficiently between different roots, we should tolerate the failure and do a fallback to byte-by-byte operation. Bug: 27436368 Change-Id: Ia1a0fbdba26c06b2151afc25d8513c01d60d31db
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/services/CopyJobTest.java
|
b8436af1b84a31b2ba3d50510ebf10bb721f2b6c |
|
25-Jan-2016 |
Tomasz Mikolajewski <mtomasz@google.com> |
Wire multi-parents support for moving to DocumentsUI. Bug: 26481380 Change-Id: Ief7db8f8abeca94e47832995fd0e2a6f31bfbc93
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/services/CopyJobTest.java
|
3564543e1ece2211a2d5b729fbbf8dd7ac94944c |
|
21-Jan-2016 |
Steve McKay <smckay@google.com> |
Move delete support into FileOperationService. Refactor Jobs to work with files from multiple providers. Don't shut down threadpool until service#onDestroy is called. Bug: 26696797, 26462789, 26567205, 25162803, 26714663 Change-Id: Id43e8e3dc2294cd07dcd6a3477b19efb298c260f
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/services/CopyJobTest.java
|
ecbf3c504c5ec7ccb3e2be7f4dd175ebe634139d |
|
14-Jan-2016 |
Steve McKay <smckay@google.com> |
Support for concurrent file operations. Swith to using a regular service. Perform file ops on thread pool. Separate Job tests from service test. Check in service test that wake lock is released and service shut down. Increase copy buffer size to 32k (suggested by mtomasz). Rework Copy testing to use an out-of-process provider (which has caused a content validation problem). Move copy testing logic into base test and share it with Move testing. Change-Id: I2f97d6c9f23c205b0f39ca6ba93bec119d63c80b
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/services/CopyJobTest.java
|